← APIs / Twelve Data
Verified

Twelve Data

Apiosk Basicsby Apiosk Basics · General

Real-time and historical market data for stocks, forex and crypto: price, quote, time series and exchange rates.

financeapi
Price per request
$0.06
About

Twelve Data delivers real-time and historical market data for global stocks, ETFs, forex and crypto — prices, full quotes, OHLC time series and FX rates. This listing proxies it through the Apiosk gateway with pay-per-call billing; the API key is injected by the gateway.

Base URL
https://gateway.apiosk.com/twelve-data
Technical Specs
Auth MethodapiKey
Response FormatJSON
Endpoints4
Endpoints
MethodPathDescriptionCost
GET /exchange_rate Real-time exchange rate for a currency pair, e.g. USD/JPY.
$0.06 default
View details
GET /price Latest price for a symbol (stock, ETF, forex pair or crypto pair).
$0.06 default
View details
GET /quote Full quote for a symbol: open/high/low/close, volume, change, 52-week range and a market-open flag.
$0.06 default
View details
GET /time_series Historical OHLCV time series for a symbol at a chosen interval (1min…1month).
$0.07 default
View details
Endpoint documentation
GET/exchange_rate
$0.06 default
Description

Real-time exchange rate for a currency pair, e.g. USD/JPY.

Pricing
$0.06 default
Parameters
{
  "symbol": {
    "description": "Currency pair as BASE/QUOTE.",
    "example": "USD/JPY",
    "required": true,
    "type": "string"
  }
}
Response schema
{
  "properties": {
    "rate": {
      "type": "number"
    },
    "symbol": {
      "type": "string"
    },
    "timestamp": {
      "type": "integer"
    }
  },
  "type": "object"
}
Example response
{
  "rate": 161.10669,
  "symbol": "USD/JPY",
  "timestamp": 1783016400
}
GET/price
$0.06 default
Description

Latest price for a symbol (stock, ETF, forex pair or crypto pair).

Pricing
$0.06 default
Parameters
{
  "symbol": {
    "description": "Ticker or pair, e.g. AAPL or USD/JPY.",
    "example": "AAPL",
    "required": true,
    "type": "string"
  }
}
Response schema
{
  "properties": {
    "price": {
      "description": "Latest price as a string.",
      "type": "string"
    }
  },
  "type": "object"
}
Example response
{
  "price": "307.93"
}
GET/quote
$0.06 default
Description

Full quote for a symbol: open/high/low/close, volume, change, 52-week range and a market-open flag.

Pricing
$0.06 default
Parameters
{
  "symbol": {
    "description": "Ticker or pair.",
    "example": "AAPL",
    "required": true,
    "type": "string"
  }
}
Response schema
{
  "properties": {
    "change": {
      "type": "string"
    },
    "close": {
      "type": "string"
    },
    "currency": {
      "type": "string"
    },
    "datetime": {
      "type": "string"
    },
    "exchange": {
      "type": "string"
    },
    "fifty_two_week": {
      "type": "object"
    },
    "high": {
      "type": "string"
    },
    "is_market_open": {
      "type": "boolean"
    },
    "low": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "open": {
      "type": "string"
    },
    "percent_change": {
      "type": "string"
    },
    "symbol": {
      "type": "string"
    },
    "volume": {
      "type": "string"
    }
  },
  "type": "object"
}
Example response
{
  "change": "13.01",
  "close": "307.39",
  "currency": "USD",
  "datetime": "2026-07-02",
  "exchange": "NASDAQ",
  "fifty_two_week": {
    "high": "317.4",
    "low": "201.5"
  },
  "high": "308.51",
  "is_market_open": true,
  "low": "293.89",
  "name": "Apple Inc.",
  "open": "294.06",
  "percent_change": "4.42",
  "previous_close": "294.38",
  "symbol": "AAPL",
  "volume": "12780072"
}
GET/time_series
$0.07 default
Description

Historical OHLCV time series for a symbol at a chosen interval (1min…1month).

Pricing
$0.07 default
Parameters
{
  "interval": {
    "description": "Bar interval: 1min,5min,15min,30min,45min,1h,2h,4h,1day,1week,1month.",
    "example": "1day",
    "required": true,
    "type": "string"
  },
  "outputsize": {
    "description": "Number of bars (default 30).",
    "example": "30",
    "required": false,
    "type": "integer"
  },
  "symbol": {
    "description": "Ticker or pair.",
    "example": "AAPL",
    "required": true,
    "type": "string"
  }
}
Response schema
{
  "properties": {
    "meta": {
      "description": "Symbol/interval/exchange metadata.",
      "type": "object"
    },
    "status": {
      "type": "string"
    },
    "values": {
      "description": "Newest-first OHLCV bars.",
      "items": {
        "properties": {
          "close": {
            "type": "string"
          },
          "datetime": {
            "type": "string"
          },
          "high": {
            "type": "string"
          },
          "low": {
            "type": "string"
          },
          "open": {
            "type": "string"
          },
          "volume": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}
Example response
{
  "meta": {
    "currency": "USD",
    "exchange": "NASDAQ",
    "interval": "1day",
    "symbol": "AAPL",
    "type": "Common Stock"
  },
  "status": "ok",
  "values": [
    {
      "close": "307.39",
      "datetime": "2026-07-02",
      "high": "308.51",
      "low": "293.89",
      "open": "294.06",
      "volume": "12780072"
    }
  ]
}