Overview
Quick Start
Get started with the GateData.ai API in under 2 minutes. Create an account, authenticate, and make your first market data call.
1
Create an account
- Go to gatedata.ai, choose a sign-in method, and authorize access
- Open My Account → create a key, then generate a key on the API Keys page — format gd_live_…
2
Make your first request
Every request needs two things:
- Your API key in the Authorization: Bearer … header
- A query parameter (e.g. asset_id)
import requests
url = "https://api.gatedata.ai/api/v1/markets/snapshot"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
params = {
"query": "BTC",
"market": "crypto"
}
response = requests.get(url, headers=headers, params=params)
response.raise_for_status()
print(response.json())3
Explore more endpoints
Next, explore the six public domains — market data, prediction markets, asset reference, fundamentals, earnings, and signals are callable on Free sample assets:
Historical candlesticks (OHLCV)
GET/api/v1/markets/kline?base=ETH&venue=gate&market_type=spot"e=USDT&timeframe=1h
Recent trades
GET/api/v1/markets/trades/recent?base=ETH&venue=gate&market_type=spot"e=USDT
Prediction events
GET/api/v1/prediction/events?limit=10
Live order book
GET/api/v1/markets/order-book/current?base=ETH&venue=gate&market_type=spot"e=USDT
4
What's next?
Use Case Templates
Runnable scenarios — latest crypto price, historical kline, and more — with Playground and MCP prompts.
Data Catalog
Browse public and upcoming domains, capabilities, and REST paths.
API Reference
REST endpoints, parameters, response fields, and example calls.
MCP Server
Connect your AI assistant directly to our data.
Object Model
Entities, assets, instruments, and venues, unified.
Sample Assets
Run every example on these Free assets without an API key — a crypto set and an equities set:
Crypto
BitcoinBTCFree
EthereumETHFree
SolanaSOLFree
Equities
NvidiaNVDAFree
AppleAAPLFree
TeslaTSLAFree