Across Docs
Deprecated APIs

Get supported sources for swap operations

Returns a list of all supported sources that support crosschain swaps on Across Protocol.

GET
/swap/sources

Authorization

bearerAuth
AuthorizationBearer <token>

API key for authentication.

In: header

Query Parameters

chainId?integer

Chain ID of the chain to get supported sources for.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/swap/sources?chainId=1"
[
  "0x_rfq",
  "1inch",
  "angle",
  "arbswap",
  "balancer",
  "balancer_v2",
  "balancer_v3",
  "camelot",
  "camelot_v2",
  "camelot_v3",
  "..."
]
{
  "type": "AcrossApiError",
  "code": "INVALID_PARAM",
  "status": 400,
  "message": "Invalid request parameters"
}
{
  "type": "AcrossApiError",
  "code": "INTERNAL_SERVER_ERROR",
  "status": 500,
  "message": "Internal server error"
}