GET /v1/info/invite
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/polymarket/v1/info/inviteCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeCheck whether an invite code is valid for an address (public check).
Parameters
| name | in | type | description | |
|---|---|---|---|---|
address | query | str | required | Wallet address of the user (lowercased) example: 0x3dfb153c197d4c19d3b31c1ecd2c7b6860eeabaf |
code | query | str | required | Invite code to check example: a1b2c3 |
Response
type: object
pagination: none
sample: {
"valid": "bool",
"error": "str"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/polymarket/v1/info/invite?address=0x3dfb153c197d4c19d3b31c1ecd2c7b6860eeabaf&code=a1b2c3"