REST · JSON
API docs
An API for resellers and automated systems: place backlink orders, track progress and fetch result links. Everything shares the same wallet and prices as the dashboard.
Base URL
https://backlink2top.com/api/v1
Your token
Authentication
Send the token in the Authorization header with every request. HTTPS only. A token can spend the points in your wallet, so keep it secret and revoke it at once if it leaks.
Authorization: Bearer b2t_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxFormat & errors
Success returns ok = true with the result in data. Errors return ok = false with a machine-readable code and a message. The message follows the Accept-Language header (vi or en).
{ "ok": true, "data": { … } }{ "ok": false,
"error": { "code": "INSUFFICIENT_POINTS", "message": "…" } }| HTTP | code | Meaning |
|---|---|---|
| 400 | INVALID_REQUEST | A parameter is missing or invalid. Nothing was charged. |
| 401 | UNAUTHORIZED | Missing, wrong or revoked token. |
| 402 | INSUFFICIENT_POINTS | Not enough points. No order was created. |
| 403 | ACCOUNT_RESTRICTED | The account is locked. |
| 404 | NOT_FOUND | Order, project or endpoint not found. |
| 409 | CONFLICT | The service is full for this project. |
| 429 | RATE_LIMITED | More than 300 requests per minute, or more than 60 orders per minute. Wait as the Retry-After header says. |
| 500 | SERVER_ERROR | Server error. Check the order by order_ref before sending again. |
If the network times out while creating an order, do not resend blindly: send the same order_ref again. If the order was created, you get that same order back with duplicate = true and are not charged twice.
Get balance
GET/api/v1/balance
The points currently in your wallet.
curl -sS 'https://backlink2top.com/api/v1/balance' \
-H "Authorization: Bearer $TOKEN"{ "ok": true, "data": { "points": 18700 } }List services
GET/api/v1/services
Price, minimum and maximum quantity of each backlink type. Add project_id to get the limits of one project.
| Parameter | Type | Required | Description |
|---|---|---|---|
| project_id | integer | No | Project ID. When given, max is the quantity that project can still order. |
curl -sS 'https://backlink2top.com/api/v1/services' \
-H "Authorization: Bearer $TOKEN"{ "ok": true, "data": {
"services": [
{ "key": "entity", "name": "Entity", "unit": "link", "price": 30, "min": 10, "max": 500,
"available": true, "hands_over_accounts": true, "warranty_days": 30 }
],
"project": null
} }List projects
GET/api/v1/projects
Each project is one website. A project is created when you place the first order for that website.
curl -sS 'https://backlink2top.com/api/v1/projects' \
-H "Authorization: Bearer $TOKEN"{ "ok": true, "data": { "projects": [ { "id": 1, "name": "An Nhien", "website": "https://annhien.example.com", "created_at": "2026-11-16T10:37:00.000Z" } ] } }Create an order
POST/api/v1/orders
Charges the points at once and accepts the order. Send project_id for an existing project, or project to create a new one. Sending the same order_ref again returns the order already created instead of creating a second one.
| Parameter | Type | Required | Description |
|---|---|---|---|
| service | string | Yes | entity · blog_comment · google_stacking · social · podcast · chrome · firefox |
| quantity | integer | No | Required for entity, blog_comment, google_stacking. Always 1 for chrome and firefox. |
| project_id | integer | No | An existing project. |
| project | object | No | A new project: { name, website }. Required when project_id is not sent. |
| targets | array | No | Required for social and podcast: a list of { url, keyword } on the project's website. |
| targets | array | No | For entity (optional): up to 5 inner pages on the same domain that receive part of the order's links; the home page keeps at least 60%. When sent, the price per link carries a surcharge (see GET /services). |
| posts_per_article | integer | No | Social only: posts per article. The order quantity = number of articles × this value. |
| topics | array | No | Entity only: restrict the platform topic groups. Sending it adds the group-choice surcharge to the price per link (see GET /services). |
| coupon | string | No | Coupon code. |
| order_ref | string | No | Your own reference, up to 64 characters, used to prevent duplicates. |
curl -sS -X POST 'https://backlink2top.com/api/v1/orders' \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' \
-d '{ "service": "entity", "quantity": 50, "order_ref": "crm-1042", "project": { "name": "An Nhien", "website": "annhien.example.com" } }'{ "ok": true, "data": { "duplicate": false, "order": {
"code": "B2T-234BA03F15", "order_ref": "crm-1042", "service": "entity", "status": "pending",
"quantity": 50, "delivered": 0, "unit_price": 30, "total": 1500, "refunded": 0,
"project": { "id": 1, "name": "An Nhien", "website": "https://annhien.example.com" },
"links": [], "extra_pages": [], "can_cancel": true, "hands_over_accounts": true
} } }Get an order
GET/api/v1/orders/{code}
Status, progress and the links delivered so far. Poll periodically; links appear gradually while the order runs.
curl -sS 'https://backlink2top.com/api/v1/orders/B2T-234BA03F15' \
-H "Authorization: Bearer $TOKEN"{ "ok": true, "data": { "order": {
"code": "B2T-234BA03F15", "status": "partial", "quantity": 50, "delivered": 47, "total": 1500, "refunded": 90,
"notice": "…",
"links": [ { "url": "https://…", "site": "…", "completed_at": "2026-11-17T02:11:09.000Z" } ],
"extra_pages": []
} } }List orders
GET/api/v1/orders
Newest first. The list does not include links; read them per order.
| Parameter | Type | Required | Description |
|---|---|---|---|
| status | string | No | pending · running · completed · partial · refunded · cancelled |
| service | string | No | Filter by service. |
| page | integer | No | Default 1. |
| limit | integer | No | Default 20, maximum 100. |
curl -sS 'https://backlink2top.com/api/v1/orders' \
-H "Authorization: Bearer $TOKEN"{ "ok": true, "data": { "orders": [ { "code": "B2T-234BA03F15", "service": "entity", "status": "running", "quantity": 50, "delivered": 12, "total": 1500, "refunded": 0 } ], "page": 1, "limit": 20, "total": 1 } }Cancel an order
POST/api/v1/orders/{code}/cancel
Only orders still pending can be canceled. All points return to your wallet.
curl -sS -X POST 'https://backlink2top.com/api/v1/orders/B2T-234BA03F15/cancel' \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' \
-d '{}'{ "ok": true, "data": { "order": { "code": "B2T-234BA03F15", "status": "cancelled", "refunded": 1500 } } }Order statuses
| pending | Received and being prepared. Can be cancelled. |
| running | In progress. Links appear as they are delivered. |
| completed | The full quantity was delivered. |
| partial | Partly delivered; the rest was refunded. |
| refunded | Nothing could be delivered; fully refunded. |
| cancelled | Canceled by you; fully refunded. |
Handed-over accounts of Entity orders can only be viewed in the dashboard after confirming your password; the API never returns account passwords.