Skip to main content
GET
/
v1
/
points
curl --request GET \
  --url 'https://mach-prod-536329393577.asia-northeast1.run.app/v1/points?limit=10'
[
  {
    "wallet": "0xb20094DFede30AbEe3a8d549BbA828b6fd771106",
    "points": 1500
  },
  {
    "wallet": "0xa10094DFede30AbEe3a8d549BbA828b6fd771107",
    "points": 1200
  }
]
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

limit
integer
(Optional) Number of top wallets to return (default: 10, max: 100)

Response

An array of wallet point objects, each containing:
wallet
string
Wallet address
points
number
Number of points earned by the wallet
curl --request GET \
  --url 'https://mach-prod-536329393577.asia-northeast1.run.app/v1/points?limit=10'
[
  {
    "wallet": "0xb20094DFede30AbEe3a8d549BbA828b6fd771106",
    "points": 1500
  },
  {
    "wallet": "0xa10094DFede30AbEe3a8d549BbA828b6fd771107",
    "points": 1200
  }
]

Status Codes

Status CodeDescription
200Success - Points list returned successfully
422Validation Error - Invalid limit parameter
500Internal Server Error - Something went wrong on the server