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 Trade Analytics API

Trade Analytics API endpoints

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

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

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

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

2 operations 2 paths 3 schemas 2 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 Trade Analytics API declares 1 security scheme for authenticating requests. An API key is passed in the header as 0x-api-key (ApiKeyAuth).

Paths & Operations 2

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

Trade Analytics 2

Trade Analytics API endpoints

GET
/trade-analytics/swap
Get Swap Trade Analytics
tradeAnalytics::swap 5 params → 200400500
GET
/trade-analytics/gasless
Get Gasless Trade Analytics
tradeAnalytics::gasless 5 params → 200400500

Schemas 3

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

UNCATEGORIZED
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-trade-analytics-api-openapi.yml Raw ↑

Other APIs 0x publishes across the network.

0x Cross-Chain API
0x Gasless API
0x Sources API
0x Swap API