How to hit the Twelve Data API

Twelve Data at https://api.twelvedata.com serves real-time and historical market data. The demo key works for a few symbols like AAPL.

Authentication

Get a free key at twelvedata.com and pass it as apikey.

Full reference: https://twelvedata.com/docs

Daily time series

curl "https://api.twelvedata.com/time_series?symbol=AAPL&interval=1day&outputsize=2&apikey=demo"
Run in PostTaco
Example response (trimmed)
{
  "meta": {
    "symbol": "AAPL",
    "interval": "1day",
    "currency": "USD",
    "exchange_timezone": "America/New_York",
    "exchange": "NASDAQ",
    "mic_code": "XNGS",
    "type": "Common Stock"
  },
  "values": [
    {
      "datetime": "2026-09-23",
      "open": "341.075012",
      "high": "341.79999",
      "low": "335.6",
      "close": "336.95001",
      "volume": "22899812"
    },
    {
      "datetime": "2026-09-22",
      "open": "340.32999",
      "high": "345.34000",
      "low": "338.75",
      "close": "339.75",
      "volume": "40599377"
    }
  ],
  "status": "ok"
}

Quote

curl "https://api.twelvedata.com/quote?symbol=AAPL&apikey=demo"
Run in PostTaco
Example response (trimmed)
{
  "symbol": "AAPL",
  "name": "Apple Inc.",
  "exchange": "NASDAQ",
  "mic_code": "XNGS",
  "currency": "USD",
  "datetime": "2026-09-23",
  "timestamp": 1790170200,
  "last_quote_at": 1790193540,
  "open": "341.075012",
  "high": "341.79999",
  "low": "335.6",
  "close": "336.95001",
  "volume": "22899812",
  "previous_close": "339.75",
  "change": "-2.79999"
}