Skip to main content

Get Referral Campaign Rewards

Get the referral rules and configured campaign tasks and rewards for the current site. This endpoint returns static campaign configuration only; it does not return the user's task progress, reward claims, or payout records.

info
  • Authentication is required. The user and site are derived from the authenticated gateway context; do not provide a user ID or site selector in the request body.
  • The response envelope, rebateRule, and each embedded campaign JSON string use camelCase field names. Campaigns are returned in base, fiat, then earn order when active. Each tasks entry has schemaVersion: 2.
  • A reward-configuration lookup failure skips only that task. Other tasks and campaigns are retained.
  • rebateRule is site configuration and does not indicate the tier matched by the current user.

HTTP Request​

POST/v5/referral/campaign/rewards

Request Parameters​

No request parameters are required. Send an empty JSON object.

Response Parameters​

ParameterTypeComments
rebateRuleobjectReferral rules configured for the site
> depositAmountintegerDeposit threshold. Currency and precision are not specified.
> tradeAmountintegerTrading threshold. Currency and precision are not specified.
> rebateRatioRulesarrayTiered referral commission rules
>> rebateRatiointegerReferral commission rate, from 0 to 100
>> referralCountintegerRequired number of qualified invitees
>> hasTradeConditionbooleanWhether the tier requires trading volume
>> tradeAmountConditionintegerTrading-volume threshold for the tier
> rebateDurationDaysintegerNumber of days that the referral commission lasts
> tradefiDepositAmountintegerCurrently not populated; a default value of 0 does not confirm a threshold
> tradefiTradeAmountintegerCurrently not populated; a default value of 0 does not confirm a threshold
tasksarrayCampaign JSON strings, in base, fiat, then earn order. Parse each string to access the fields below.
> schemaVersionintegerCampaign JSON schema version. The current value is always 2.
> sourcestringCampaign source: base, fiat, or earn
> campaignIdstringCampaign configuration ID; not a user reward-record ID
> tasksarrayConfigured tasks and one-hop M1/M2 related tasks. May be empty if task details cannot be assembled.
>> idintegerTask ID
>> awardTypeintegerTask reward type. See awardType. Type 100 retrieves reward-packet details; reward details are not currently assembled for types 95 and 97. This value does not mean that a reward has been claimed.
>> ruleTitlearray | nullEnglish title of each valid rule. null when there are no valid rules.
>> ruleDescriptionarray | nullEnglish description of each valid rule. Corresponds to ruleTitle by index.
>> ruleParamarray | nullFirst parameter of each valid rule. Corresponds to ruleTitle by index.
>> taskAwardsarrayRewards for completing the task
>> m1AwardsarrayM1 rewards with UserRelateType=REFERRAL
>>> idintegerRegular reward ID or reward packet ID
>>> namestringEnglish reward name. Reward packets use UP TO <value_usd> or EARN <value_usd>.
>>> typestringEnglish reward type. Always Packet for reward packets.
>>> productLinestringEnglish product type. Empty for reward packets.
>>> startTimestringStart time in UTC RFC 3339 format. Empty when unavailable or for reward packets.
>>> endTimestringEnd time in UTC RFC 3339 format. Empty when unavailable.

Request Example​

POST /v5/referral/campaign/rewards HTTP/1.1
Host: api.bybit.com
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1753286400000
X-BAPI-RECV-WINDOW: 5000
X-BAPI-SIGN: XXXXX
Content-Type: application/json

{}

Response Example​

{
"retCode": 0,
"retMsg": "",
"result": {
"rebateRule": {
"depositAmount": 0,
"tradeAmount": 0,
"rebateRatioRules": [],
"rebateDurationDays": 30
},
"tasks": [
"{\"schemaVersion\":2,\"source\":\"base\",\"campaignId\":\"sample\",\"tasks\":[{\"id\":7,\"awardType\":100,\"ruleTitle\":[\"Deposit\"],\"ruleDescription\":[\"Deposit $100\"],\"ruleParam\":[\"100\"],\"taskAwards\":[{\"id\":92,\"name\":\"EARN 10\",\"type\":\"Packet\",\"productLine\":\"\",\"startTime\":\"\",\"endTime\":\"\"}],\"m1Awards\":[]}]}"
]
},
"retExtInfo": {},
"time": 1753286400000
}