Finance

Twelve Data API

by twelvedata.com

Finance Added on November 9th, 2026
Visit twelvedata.com →

What it does

The Twelve Data API gives prices and history for stocks, forex and crypto, for example to chart a share. Requests are GET calls with an apikey parameter, and the answers are JSON or CSV. Free with a free API key for 8 requests a minute and 800 a day, for internal use. An official MCP server (github.com/twelvedata/mcp) lets AI agents read the market data.
  • API
  • CSV
  • HTTP-GET
  • JSON
  • MCP
  • REST
  • WebSocket

At a glance

API key
Needed, free · More APIs with a free key
Pricing
Free with a free API key for 8 requests a minute and 800 a day, for internal use.
From the browser
Yes (CORS)
Formats
JSON, CSV
Interface
REST, HTTP-GET, WebSocket, MCP
Provider
twelvedata.com

More information: https://twelvedata.com/docs

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

Example request

curl

curl 'https://api.twelvedata.com/price?symbol=AAPL&apikey=YOUR_API_KEY'

JavaScript

const response = await fetch("https://api.twelvedata.com/price?symbol=AAPL&apikey=YOUR_API_KEY");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://api.twelvedata.com/price?symbol=AAPL&apikey=YOUR_API_KEY",
    timeout=30,
)
print(response.json())

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried Twelve Data API.