Partner Support
User Flows
General API
- Builder Info
- System Info
- USDC Faucet
User API
- Registration
- Key Management
- Account/User Info
- Account Notifications
- Account Config
- Delegate Signer
Trading API
- Order Management
- Liquidations
- Assets/Withdraw/Settle PnL
- Positions
- Funding
Rewards API
- Trading Rewards
- Market Making Rewards
Staking & Valor API
- Staking
- Valor
Builder API
- User Data
- Trading Campaigns
- Fee Setting
- Referral Program
- GETCheck Referral Code
- POSTCreate Referral Code
- GETVerify Referral Code
- GETGet Referral Code Info
- POSTUpdate Referral Code
- POSTBind Referral Code
- GETGet Referral Info
- GETGet Referee Info
- GETGet Referee Rebate Summary
- GETGet Referee History
- GETGet Referral History
- GETGet Referral Rebate Summary
- GETGet Distribution History
- POSTEdit Referral Code Split
- GET
Market Data API
- TradingView
- Funding Rates
- Market Info
Websocket API
- Introduction
- PING/PONG
- Authentication
- Error Response
- Public Market Data
- Private User Data
Get Referee Info
Limit: 10 requests per second
GET /v1/referral/referee_info
curl --request GET \
--url https://api.orderly.org/v1/referral/referee_info \
--header 'orderly-account-id: <orderly-account-id>' \
--header 'orderly-key: <orderly-key>' \
--header 'orderly-signature: <orderly-signature>' \
--header 'orderly-timestamp: <orderly-timestamp>'
{
"success": true,
"timestamp": 1702989203989,
"data": {
"rows": [
{
"account_id": "0x114f583aea808c5812e16109b6c087660285a26f0a31dcc0f9b54f1a6a0fefbd",
"user_address": "0xa8ec6970fec8842dd229eef170f624c3d77dab45",
"register_time": 1663936930000,
"code_binding_time": 1663936930000,
"referral_code": "C4",
"volume": 1229.12,
"referral_rebate": 2.22,
"trade_status": "Registered"
}
],
"meta": {
"records_per_page": 25,
"current_page": 1,
"total": 50
}
}
}
Headers
Query Parameters
ascending_code_binding_time
descending_code_binding_time
ascending_referral_rebate
descending_referral_rebate
ascending_volume
descending_volume
Response
true
account_id of the referee
"0x114f583aea808c5812e16109b6c087660285a26f0a31dcc0f9b54f1a6a0fefbd"
address of the referee
"0xa8ec6970fec8842dd229eef170f624c3d77dab45"
register time of the referee
1663936930000
the time the referee bind the account to this referral code
1663936930000
the referral code used by the referee
"C4"
the total volume traded by the referee
1229.12
the total referral rebate paid to the referer based on the referee's fees paid
2.22
Registered
= Not traded but bind the code / Traded
= bind the code and volume > 0
"Registered"
1702989203989
curl --request GET \
--url https://api.orderly.org/v1/referral/referee_info \
--header 'orderly-account-id: <orderly-account-id>' \
--header 'orderly-key: <orderly-key>' \
--header 'orderly-signature: <orderly-signature>' \
--header 'orderly-timestamp: <orderly-timestamp>'
{
"success": true,
"timestamp": 1702989203989,
"data": {
"rows": [
{
"account_id": "0x114f583aea808c5812e16109b6c087660285a26f0a31dcc0f9b54f1a6a0fefbd",
"user_address": "0xa8ec6970fec8842dd229eef170f624c3d77dab45",
"register_time": 1663936930000,
"code_binding_time": 1663936930000,
"referral_code": "C4",
"volume": 1229.12,
"referral_rebate": 2.22,
"trade_status": "Registered"
}
],
"meta": {
"records_per_page": 25,
"current_page": 1,
"total": 50
}
}
}