Mach API Endpoints
Get All Points
Returns the top wallets by points
GET
This endpoint retrieves a list of the top wallets by points earned on Mach Exchange. The results can be limited to a specific number of wallets.
Query Parameters
(Optional) Number of top wallets to return (default: 10, max: 100)
Response
An array of wallet point objects, each containing:Wallet address
Number of points earned by the wallet
Status Codes
| Status Code | Description |
|---|---|
| 200 | Success - Points list returned successfully |
| 422 | Validation Error - Invalid limit parameter |
| 500 | Internal Server Error - Something went wrong on the server |