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 free

Check whether a referral code is valid.

Parameters

nameintypedescription
codepathstrrequiredReferral 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"