OpenAPI / SDKs
Download the spec and generate a typed client in any language.
OpenAPI spec
The full OpenAPI 3.0 spec is available for download. It is the source of truth for every endpoint, parameter, and response shape in this documentation.
Download
openapi.json — OpenAPI 3.0.3
Generating a client
Use any OpenAPI-compatible code generator to produce a typed SDK for your language. Two common options:
openapi-generator-cli
npm — generate TypeScript client
npx @openapitools/openapi-generator-cli generate \ -i openapi.json \ -g typescript-fetch \ -o ./taapi-client
npm — generate Python client
npx @openapitools/openapi-generator-cli generate \ -i openapi.json \ -g python \ -o ./taapi-python-client
Kiota (Microsoft)
Generate C# client
kiota generate -l CSharp -d openapi.json -c TaapiClient -n Taapi -o ./TaapiClient
Using the REST API directly
No SDK is required. The API uses standard HTTP with JSON bodies. Any HTTP client works:
const res = await fetch(
'https://v2.taapi.io/indicator/rsi?exchange=binance&symbol=BTCUSDT&timeframe=1h',
{ headers: { Authorization: 'Bearer YOUR_API_KEY' } }
);
const { value, timestamp } = await res.json();
import requests
data = requests.get(
'https://v2.taapi.io/indicator/rsi',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
params={'exchange': 'binance', 'symbol': 'BTCUSDT', 'timeframe': '1h'},
).json()
req, _ := http.NewRequest("GET",
"https://v2.taapi.io/indicator/rsi?exchange=binance&symbol=BTCUSDT&timeframe=1h",
nil)
req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
resp, _ := http.DefaultClient.Do(req)