broker
Installation
SKILL.md
KuCoin Broker Skill
Broker and Affiliate operations on KuCoin using authenticated API endpoints. Covers Affiliate invite/commission management, Broker Pro rebate and user queries, and ND Exchange Broker queries (KYC status, sub-account info, deposits, withdrawals, and rebates). Requires API Key, API Secret, and Passphrase for all endpoints. Return the result in JSON format.
Note: This skill only supports Classic REST API GET endpoints (read-only operations).
Quick Reference
Affiliate
| Endpoint | Description | Required | Optional | Authentication |
|---|---|---|---|---|
/api/v2/affiliate/queryInvitees (GET) |
Get Invited (list of invited users with trade stats) | None | userType, referralCode, uid, registrationStartAt, registrationEndAt, page, pageSize | Yes |
/api/v2/affiliate/queryMyCommission (GET) |
Get Commission (affiliate commission records) | None | siteType, rebateType, rebateStartAt, rebateEndAt, page, pageSize, userId, dataType | Yes |
/api/v2/affiliate/queryTransactionByUid (GET) |
Get Trade History (trade records for a specific invitee) | uid | tradeType, tradeStartAt, tradeEndAt, page, pageSize | Yes |
/api/v2/affiliate/queryTransactionByTime (GET) |
Get Transaction (trade records by time range) | tradeStartAt, tradeEndAt | uid, tradeType, lastId, direction, pageSize | Yes |
/api/v2/affiliate/queryKumining (GET) |
Get Kumining (KuMining commission records) | None | uid, startAt, endAt, lastId, direction, pageSize | Yes |