Mach API Endpoints
Get All Tokens
Fetches all tokens or tokens for a specific chain
GET
This endpoint retrieves information about all tokens supported by Mach Exchange. If a chain parameter is provided, it will return only tokens for that specific blockchain.
Query Parameters
(Optional) Blockchain chain identifier (e.g., “ethereum”, “arbitrum”)
Response
An array of token objects, each containing:Blockchain chain identifier
Token symbol (e.g., “USDC”, “WETH”)
Token contract address
Token decimal places
Estimated USD value of 1 token unit (can be null)
Whether the token is a wrapped token
Centralized exchange ticker mappings
Token name
Status Codes
| Status Code | Description |
|---|---|
| 200 | Success - Token list returned successfully |
| 422 | Validation Error - Invalid chain parameter |
| 500 | Internal Server Error - Something went wrong on the server |