Look up a referral code
/api/v1/rewards/referral-codes/{code}The trader who shares a referral code, with the same name, avatar and address the leaderboard shows. A trader with a private profile is not named, and the code is still found. Letter case is ignored and the code comes back as it was issued. Looking a code up does not use it: send it as referral_code when the account is registered. Public, no authentication required; a found code is cached for up to 60 seconds.
Path Parameters
Referral code of five letters or digits, in any letter case (e.g. A5he8).
Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/v1/rewards/referral-codes/string"{ "code": "string", "inviter": { "address": "string", "display_name": "string", "avatar_url": "string", "private": true }}List reward programs GET
Every reward program that was ever announced, by display order, then start: its kind and rules, dates, prize ladder, refresh interval and where it is in its timeline. A cancelled program stays listed. Public, no authentication required; cached for up to 60 seconds.
Get a reward program's leaderboard POST
The program's board for its current phase, its top rows, and the position of each requested wallet. A requested wallet that is not on the board, or whose profile is private, comes back with a null rank, so a response never says why a wallet is missing. On a REFERRAL program every row and ranked position carries the wallet's referral figures, and target_rank and gap_to_target_micro are always null. Public, no authentication required.