Skip to main content
GET
/
v1
/
points
/
{wallet}
curl --request GET \
  --url 'https://mach-prod-536329393577.asia-northeast1.run.app/v1/points/0xb20094DFede30AbEe3a8d549BbA828b6fd771106'
{
  "wallet": "0xb20094DFede30AbEe3a8d549BbA828b6fd771106",
  "points": 1500
}
This endpoint retrieves the points earned by a specific wallet address on Mach Exchange.

Path Parameters

wallet
string
required
The wallet address to retrieve points for

Response

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/0xb20094DFede30AbEe3a8d549BbA828b6fd771106'
{
  "wallet": "0xb20094DFede30AbEe3a8d549BbA828b6fd771106",
  "points": 1500
}

Status Codes

Status CodeDescription
200Success - Wallet points returned successfully
422Validation Error - Invalid wallet address format
500Internal Server Error - Something went wrong on the server