Twelve Data Market Data API

The market_data API from Twelve Data — 6 operation(s) for market_data.

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /eod Get the end-of-day price for an instrument · End of day price #
Ask an LLM
“What was the closing price of this ETF on a specific date?”
“Can I get the official end-of-day close instead of a live price?”
Tell an agent
Get the end-of-day close for {symbol}.
Show {symbol}'s closing price on {date}.
GET /market_movers/{market} List the day's top gaining and losing assets · Market movers #
Ask an LLM
“Which stocks are up the most since yesterday's close?”
“Can I list only the biggest losers above a minimum price?”
Tell an agent
Show the top movers in the {market} market.
List the top {direction} in {market} priced above {price_greater_than}.
GET /price Get the latest market price for an instrument · Latest price #
Ask an LLM
“What is the last traded price of this ticker?”
“Can I include pre-market and after-hours trades in the latest price?”
Tell an agent
Get the latest price of {symbol}.
Show {symbol}'s latest price including extended hours set to {prepost}.
GET /quote Get a real-time quote with open, high, low and volume · Quote #
Ask an LLM
“What are today's open, high, low and volume for a stock?”
“How far is this stock from its 52-week high?”
Tell an agent
Get a quote for {symbol}.
Show the {interval} quote for {symbol} in the {timezone} timezone.
GET /time_series Get historical price bars for an instrument · Time series #
Ask an LLM
“How do I download a stock's daily price history?”
“Can I get split-adjusted intraday bars for a date range?”
Tell an agent
Get {interval} price history for {symbol}.
Fetch {symbol} {interval} bars from {start_date} to {end_date}.
GET /time_series/cross Get a cross-rate price history between two assets · Time series cross #
Ask an LLM
“What has Apple's price looked like in Indian rupees over time?”
“Can I build a history for an exotic forex or crypto pair on the fly?”
Tell an agent
Get the {interval} cross rate of {base} priced in {quote}.
Chart {base} against {quote} at {interval} from {start_date}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/twelvedata:twelvedata-market-data-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

twelvedata-market-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: '## Overview


    Welcome to Twelve Data developer docs — your gateway to comprehensive financial market data through a powerful and easy-to-use API.'
  title: Twelve Data Market Data API
  version: 0.0.1
servers:
- url: https://api.twelvedata.com/
security:
- authorizationHeader:
  - '[]'
- queryParameter:
  - '[]'
tags:


# --- truncated at 32 KB (75 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/twelvedata/refs/heads/main/openapi/twelvedata-market-data-api-openapi.yml