/tokens
The /tokens endpoint returns a list of example tokens for trading on the specified chain. Note that this is not a full list of tradable tokens, but rather a curated list of popular tokens for reference.
Endpoint
GET /api/v1.0/tokensParameters
Parameter
Type
Required
Description
chainId
integer
Yes
Integer ID of the blockchain
apiKey
string
Yes
Your API key
Example Request
curl "https://app.swap-net.xyz/api/v1.0/tokens?chainId=1&apiKey=<Your API Key>"Response
Returns an array of token information objects, each containing:
address: Token contract addressname: Token namesymbol: Token symboldecimals: Number of decimal places for the token (0-18)metadata: Additional token metadata including logo URI
Example Response
Last updated