
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "surf",
"path": "/gateway/v1/market/price",
"method": "GET",
"query": {
"symbol": ""
}
}'
{
"success": true,
"data": {
"$schema": "{$schema}",
"data": [ 1 item ],
"meta": { … },
"project_id": "{project_id}",
"summary": { … },
"symbol": "{symbol}"
}
}
Example values, built from the documented fields.
$0.01308per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Token Price History: Returns historical price data points for a token over a specified time range.
Time range options:
- Predefined: 1d, 7d, 14d, 30d, 90d, 180d, 365d, max
- Custom: use from / to (Unix seconds or YYYY-MM-DD)
Granularity is automatic based on range:
- 1d → 5-minute intervals
- 7d–90d → hourly
- 180d+ → daily
Query parameters
symbolrequiredstringSingle token ticker symbol like BTC, ETH, or SOL (multi-symbol not supported)time_rangestringWindow of historical data to return: 1d, 7d, 14d, 30d, 90d, 180d, 365d, or max. Ignored when from/to are set. This endpoint uses time_range only — it does NOT accept interval; bucket granularity is chosen server-side based on the window size.fromstringStart of custom date range (Unix timestamp or YYYY-MM-DD). Must be used together with to. Overrides time_range when set.tostringEnd of custom date range (Unix timestamp or YYYY-MM-DD). Must be used together with from. Overrides time_range when set.currencystringQuote currency like usd, eur, or btcResponse types
$schemaA URL to the JSON Schema for this object.stringproject_idSurf project UUID the --symbol resolved to, for frontend entity linking. Empty when the symbol is unmapped.stringsymbolThe queried ticker, normalized.stringMore from Surf API
- KOL rankingGET/gateway/v1/smart-money/kol/ranking$0.01308 per callFixed
- Liquidation chartGET/gateway/v1/market/liquidation/chart$0.01308 per callFixed
- Blockchain SQL queryPOST/gateway/v1/onchain/sql$0.02616 per callFixed
- KOL call historyGET/gateway/v1/smart-money/kol/history$0.01308 per callFixed
- Order book depthGET/gateway/v1/exchange/depth$0.00654 per callFixed
- Latest company financialsGET/gateway/v1/equity/latest-financialsUp to $0.03924 per callResponse-based
- Web page fetchGET/gateway/v1/web/fetch$0.00654 per callFixed
- Matched market pairsGET/gateway/v1/prediction-market/matching/pairs$0.02616 per callFixed
- Polymarket wallet positionsGET/gateway/v1/prediction-market/polymarket/positions$0.02616 per callFixed
- Hyperliquid trader leaderboardGET/gateway/v1/hyperliquid/leaderboard$0.02616 per callFixed
- Perpetual contract snapshotGET/gateway/v1/exchange/perp$0.00654 per callFixed
- KOL activityGET/gateway/v1/smart-money/kol/activity$0.01308 per callFixed