/providers - Providers, status, and identifiers mapping
The /providers endpoints describe which swap providers SwapKit has integrated, the chains they support, and their current operational status. All endpoints are GET and require your API key in the x-api-key header. Chains are reported as chain IDs throughout. See the table at the bottom for reference.
/providers
Full list of providers with token-list metadata, supported chains, and the chains currently enabled for you
/providers/status
Per-provider swap status: supported chains, the SwapKit-level enabled/disabled split, and your API key's own settings
/providers/identifiers-mapping
Mapping between SwapKit asset identifiers and a provider's native identifiers
The set of providers is dynamic — don't hard-code it. Streaming providers with the _STREAMING suffix split a swap into sub-swaps over time. They are slower to execute, but often price better on larger trades where slippage matters. Non-streaming THORCHAIN and MAYACHAIN are not listed. They are superseded by THORCHAIN_STREAMING and MAYACHAIN_STREAMING, which are what SwapKit routes through.
GET /providers
/providersReturns every provider integrated by SwapKit, with token-list metadata and chain support. Takes no query parameters, but note that enabledChainIds is evaluated against your API key — your key's own settings are applied.
curl -X 'GET' \
'https://api.swapkit.dev/providers' \
-H 'accept: application/json' \
-H 'x-api-key: YOUR_API_KEY'Response fields
Each object in the returned array contains:
name / provider
Provider identifier used to reference it in SwapKit
displayName / displayNameLong
Human-readable names such as "Chainflip" or "Chainflip Streaming"
keywords
Search keywords for the provider
count
Number of supported tokens
logoURI
URL to the provider's logo
url
URL to the provider's token list
supportedActions
Actions the provider supports. Currently ["swap"]
supportedChainIds
Every chain the provider can support — its full capability, regardless of current status
enabledChainIds
Subset of supportedChainIds currently usable for your API key. Empty if the provider is paused. Otherwise excludes chains disabled at the SwapKit level or by your key's own settings
supportedChainIds is what a provider can do. enabledChainIds is what it can do right now, for you. When a provider is paused, it still appears with its full supportedChainIds, but with an empty enabledChainIds.
Example — a fully enabled provider
Example — a paused provider
GET /providers/status
/providers/statusReturns an API-key-aware swap-status overview. Use this to understand why a provider or chain is or isn't available to you. Only the swap action is reflected.
The response is a single providersChains array, one entry per provider:
name
Provider
supportedChainsGlobal
Every chain the provider has a swap entry for — its full capability
enabledChainsGlobal
Chains currently usable at the SwapKit level
disabledChainsGlobal
Chains not usable at the SwapKit level — either the chain's swap status is disabled, or the provider is globally paused, in which case all supported chains appear here
enabledChainsApiKey
Chains your API key has explicitly enabled
disabledChainsApiKey
Chains your API key has explicitly disabled
For every provider, enabledChainsGlobal and disabledChainsGlobal together partition supportedChainsGlobal. The ...ApiKey lists contain only chains your key has an explicit setting for. Each is a subset of supportedChainsGlobal.
The ...ApiKey lists were historically called "overrides." They no longer override the SwapKit-level status. They are simply your key's own setting for a given provider-chain, reported alongside the global status so you can see both.
MAYAN shows all the moving parts at once: a chain disabled at the SwapKit level (sui), and an API key that independently re-enables sui while disabling 137 and 143.
THORCHAIN_STREAMING shows the global pause forcing every chain into disabledChainsGlobal.
GET /providers/identifiers-mapping
/providers/identifiers-mappingReturns the mapping between SwapKit asset identifiers and a provider's native asset identifiers. The optional provider query parameter narrows the result to one provider.
provider
query
No
Restrict the mapping to a single provider
Chain IDs and corresponding names
All Providers endpoints report chains using these IDs. They are standard across the crypto ecosystem:
1
Ethereum Mainnet
42161
Arbitrum One
43114
Avalanche C-Chain
8453
Base
56
Binance Smart Chain (BSC)
137
Polygon
10
Optimism
100
Gnosis
80094
BeraChain
143
Monad
196
X-Layer - OKB
728126428
Tron - TRX
36900
Adi
0x534e5f4d41494e
Starknet
cardano
Cardano
ton
TON
solana
Solana
bitcoin
Bitcoin
bitcoincash
Bitcoin Cash
litecoin
Litecoin
ripple
XRP - Ripple
cosmoshub-4
Cosmos Hub
near
Near Chain
dash
Dash
zcash
ZCash
sui
Sui
dogecoin
Dogecoin
kaiyo-1
Kujira
mayachain-mainnet-v1
MayaChain
thorchain-1
THORChain
hype
Hype
Last updated

