Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

0x Cross-Chain API

Cross-Chain API endpoints

0x Cross-Chain API is one of 5 APIs that 0x publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Cross-Chain. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and code examples.

This API exposes 5 operations across 5 paths, and defines 6 schemas. It is described by OpenAPI 3.0.3, at version v2.

Requests are made against a single base URL, https://api.0x.org.

5 operations 5 paths 6 schemas 5 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
v2
Base URL
https://api.0x.org
Authentication
API Key
Resource Areas
1

Authentication & Security 1

0x Cross-Chain API declares 1 security scheme for authenticating requests. An API key is passed in the header as 0x-api-key (ApiKeyAuth).

Paths & Operations 5

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

Cross-Chain 5

Cross-Chain API endpoints

GET
/cross-chain/quotes
Get Cross-Chain Quotes
crossChain::getQuotes 18 params → 200400500
GET
/cross-chain/status
Get Gasless Trade Status
crossChain::getStatus 4 params → 200400404500
GET
/cross-chain/sources
List Bridge Sources
crossChain::listSources 1 param → 200400500
GET
/cross-chain/tx-history-beta
Get Cross-Chain Transaction History
crossChain::getTxHistory 4 params → 200400404500
GET
/cross-chain/quotes/stream
Stream Cross-Chain Quotes
crossChain::streamQuotes 17 params → 200400500

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are INTERNAL_SERVER_ERROR (3 properties), INPUT_INVALID (3 properties), BRIDGE_UNKNOWN (3 properties), BRIDGE_PROVIDER_ERROR (3 properties). Each schema is shown below with its type and property counts.

TRANSACTION_NOT_FOUND
object
3 properties 3 required
UNCATEGORIZED
object
3 properties 3 required
BRIDGE_PROVIDER_ERROR
object
3 properties 3 required
BRIDGE_UNKNOWN
object
3 properties 3 required
INPUT_INVALID
object
3 properties 3 required
INTERNAL_SERVER_ERROR
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

0x-cross-chain-api-openapi.yml Raw ↑

Other APIs 0x publishes across the network.

0x Gasless API
0x Sources API
0x Swap API
0x Trade Analytics API