GET /tracking/api/ReferralProgram/{referralCode}/summary

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/debridge/tracking/api/ReferralProgram/{referralCode}/summaryCache cached 30s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Aggregate USD volume, fees generated, fulfilled order count and user count for a referral code.

Parameters

nameintypedescription
referralCodepathintrequiredNumeric DLN referral code.
example: 1

Response

type: object
pagination: none
sample: {
  "referralCode": "int",
  "totalUsers": "int",
  "totalOrdersFulfilled": "int",
  "totalAmountGivenUsd": "float",
  "totalFeesGeneratedUsd": "float"
}

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/debridge/tracking/api/ReferralProgram/1/summary"