# Twelve Data API

Category: [Finance](https://free-web-services.com/web-services/unit-convertors/fiinance/)  
Page: https://free-web-services.com/web-services/unit-convertors/fiinance/twelve-data-api.html  
Documentation: https://twelvedata.com/docs

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 key: Needed, free
- 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

Example request:

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

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

