GET /rewards/referrals/offer/{code}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/kalshi/rewards/referrals/offer/{code}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeCheck whether a referral code is valid.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
code | path | str | required | Referral code example: test |
Response
type: object
pagination: none
sample: {
"referee": "NoneType",
"referrer": "NoneType",
"valid": "bool"
}
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/kalshi/rewards/referrals/offer/test"