Mach API Endpoints
Get Token Balances
Returns token balances for a wallet address
GET
This endpoint retrieves the token balances for a specified wallet address across supported chains.
Query Parameters
Wallet address (supports Ethereum and Solana addresses)
Response
The response includes a list of token balances for the specified wallet address, grouped by blockchain.Status Codes
| Status Code | Description |
|---|---|
| 200 | Success - Token balances returned successfully |
| 422 | Validation Error - Invalid wallet address format |
| 500 | Internal Server Error - Something went wrong on the server |