API Documentation
Integration with Monitoring Platforms
How to Get a Referral Link
To get your referral link, log in to your account and go to the "Profile" → "Affiliate Program" section. At the bottom, your unique link will be displayed.
The exchange platform can accept GET parameters cur_from and cur_to passed from monitoring systems at the moment of redirection.
Example link:
https://www.beecoin.exchange/ref/XXXXXX/?cur_from=PMUSD&cur_to=BTC
Exchange Rate Export Links:
- XML: https://www.beecoin.exchange/service/export/xml/:code
- JSON: https://www.beecoin.exchange/service/export/json/:code
- TXT: https://www.beecoin.exchange/service/export/txt/:code
Partner API
How to Get an API Key?
Log in to your dashboard, open the "Profile" → "API" section, click on "Create API Access" and copy your key.
Request URL:
URL: https://www.beecoin.exchange/service/partner/api.php
GET Parameters:
api_action– ppapi_key– your API keymethod– API method
Method: get_info
Retrieve account information and payment systems.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| No additional parameters are accepted | |||
{
status: "success",
error: 0,
error_text: "",
data: {
balance: 15,
totalReceived: 0,
link: "test",
min_payout: 99999999,
items: { },
},
}
Method: get_exchanges
Retrieve a list of partner exchanges.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| start_time | Integer | No | Start time (unix) |
| end_time | Integer | No | End time (unix) |
{
status: "success",
error: 0,
error_text: "",
data: {
items: {
1895: {
id: 1895,
time: 1590356264,
date: "2020-05-24 21:37:44",
course_give: 0,
course_get: 241.57,
amount_give: 0,
amount_get: 241.57,
exchange_success: 1,
accrued: 1,
partner_reward: 0,
user_hash: "1r7",
}
}
}
}
Method: get_links
Retrieve a list of partner link transitions.
| Name | Type | Required | Description |
|---|---|---|---|
| start_time | Integer | No | Start time (unix) |
| end_time | Integer | No | End time (unix) |
{
status: "success",
error: 0,
error_text: "",
data: {
items: {
1631577600: {
id: 1631577600,
time: 1631577600,
date: "2021-09-14 00:00:00",
browser: "Unknown",
ip: "0.0.0.0",
referrer: "",
user_hash: "613fe600",
query_string: ""
}
}
}
}
Latest Platform Transactions
See how users are exchanging crypto right now. Your order could be next.