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. Request your key at https://t.me/acrosstg.

In: header

Query Parameters

chainId?integer

Chain ID of the chain to get supported sources for.

Range1 <= value
Value in1 | 10 | 137 | 324 | 8453 | 42161 | 59144 | 84532 | 421614 | 11155420 | 11155111

Response Body

application/json

application/json

application/json

curl -X GET "https://app.across.to/api/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"
}