Jupiter Swap API
Quote and build Solana DEX-aggregator swap transactions.
Jupiter Swap API is one of 7 APIs that Jupiter publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Swap. The published artifact set on APIs.io includes an OpenAPI specification.
This API exposes 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.1.0, at version 1.0.
Requests are made against 2 base URLs: https://api.jup.ag/swap/v1, https://lite-api.jup.ag/swap/v1.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Jupiter Swap API declares
1 security scheme
for authenticating requests.
An API key is passed in the header as x-api-key (ApiKeyAuth).
By default, every request must be authenticated, though some operations may also be called without credentials.
ApiKeyAuth— Jupiter API key issued via the Jupiter Developer Platform.
Paths & Operations 2
Across 2 paths, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.
Quote and build Solana DEX-aggregator swap transactions.
Schemas 3
The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are QuoteResponse (9 properties), SwapResponse (6 properties), SwapRequest (5 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Jupiter 6
Other APIs Jupiter publishes across the network.