How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Surf Exchange API

Access real-time trading data from major exchanges including Binance, OKX, Bybit, and more. Query live ticker prices, order book depth, OHLCV candlestick charts, and perpetual contract data such as funding rates, open interest, and long/short ratios.

Surf Exchange API is one of 16 APIs that Surf publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Exchange. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 9 operations across 9 paths, and defines 26 schemas. It is described by OpenAPI 3.2.0, at version sha-80d3407.

Requests are made against a single base URL, /.

9 operations 9 paths 26 schemas 9 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
sha-80d3407
Base URL
https://api.asksurf.ai/gateway/v1
Authentication
HTTP Bearer, API Key, API Key
Contact
Resource Areas
1

Authentication & Security 3

Surf Exchange API declares 3 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (AccessToken). An API key is passed in the header as X-Admin-Token (AdminToken). An API key is passed in the header as X-Internal-Key (InternalKey).

Paths & Operations 9

Across 9 paths, the API surfaces 9 operations — 9 GET. Each is listed below with its method, path, parameters, and response codes.

Exchange 9

Access real-time trading data from major exchanges including Binance, OKX, Bybit, and more. Query live ticker prices, order book depth, OHLCV candlestick charts, and perpetual con…

GET
/gateway/v1/exchange/candles
Exchange Historical Candles
exchange-candles 8 params → 200default
GET
/gateway/v1/exchange/coverage
Exchange Market Coverage
exchange-coverage 10 params → 200default
GET
/gateway/v1/exchange/depth
Exchange Order Book Depth
exchange-depth 4 params → 200default
GET
/gateway/v1/exchange/funding-history
Exchange Funding Rate History
exchange-funding-history 4 params → 200default
GET
/gateway/v1/exchange/klines
Exchange OHLCV Candlesticks
exchange-klines 6 params → 200default
GET
/gateway/v1/exchange/long-short-ratio
Exchange Long/Short Ratio History
exchange-long-short-ratio 5 params → 200default
GET
/gateway/v1/exchange/markets
Exchange Trading Pairs
exchange-markets 6 params → 200default
GET
/gateway/v1/exchange/perp
Exchange Perpetual Contract Snapshot
exchange-perp 3 params → 200default
GET
/gateway/v1/exchange/price
Exchange Ticker Price
exchange-price 3 params → 200default

Schemas 26

The contract defines 26 schemas that model the data the API accepts and returns. The most detailed are ExchangeCoverageItem (28 properties), ExchangeCandleItem (14 properties), ExchangeFundingItem (12 properties), ExchangePriceItem (10 properties). Each schema is shown below with its type and property counts.

DataResponseExchangeCandleItem
object
3 properties 2 required
ExchangeKlineResponse
object
10 properties 10 required
SimpleListResponseExchangeLongShortRatioItem
object
3 properties 2 required
DataAPIErrorDetail
object
2 properties 2 required
OffsetMeta
object
8 properties 4 required
ExchangeFundingItem
object
12 properties 8 required
ExchangePerpResponse
object
4 properties 4 required
SimpleListResponseExchangeDepthItem
object
3 properties 2 required
ExchangeLongShortRatioItem
object
4 properties 4 required
DataResponseExchangeCoverageItem
object
3 properties 2 required
ObjectResponseMeta
object
3 properties 2 required
SimpleListResponseExchangePriceItem
object
3 properties 2 required
DataAPIError
object
2 properties 1 required
SimpleListResponseExchangeKlineResponse
object
3 properties 2 required
ExchangeKlineItem
object
6 properties 6 required
ExchangeFundingHistoryItem
object
9 properties 5 required
ExchangeOpenInterestItem
object
5 properties 5 required
ExchangeDepthItem
object
9 properties 9 required
ExchangeMarketItem
object
8 properties 8 required
SimpleListResponseExchangeMarketItem
object
3 properties 2 required
ExchangeCandleItem
object
14 properties 11 required
ExchangePriceItem
object
10 properties 10 required
SimpleListResponseExchangeFundingHistoryItem
object
3 properties 2 required
DataObjectResponseExchangePerpResponse
object
3 properties 2 required
ExchangeCoverageItem
object
28 properties 8 required
ExchangeDepthLevel
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

surf-exchange-api-openapi.yml Raw ↑

Other APIs Surf publishes across the network.

Surf Chat API
Surf DEX API
Surf Fund API
Surf Hyperliquid API
Surf Market API
Surf News API
Surf Onchain API
Surf Prediction Market API
Surf Project API
Surf Search API
Surf Signal API
Surf Social API
Where this information came from

This is an independent, third-party profile of Surf Exchange API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.