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

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.

Header
Authorization: Bearer b2t_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Format & 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).

200
{ "ok": true, "data": { … } }
4xx / 5xx
{ "ok": false,
  "error": { "code": "INSUFFICIENT_POINTS", "message": "…" } }
HTTPcodeMeaning
400INVALID_REQUESTA parameter is missing or invalid. Nothing was charged.
401UNAUTHORIZEDMissing, wrong or revoked token.
402INSUFFICIENT_POINTSNot enough points. No order was created.
403ACCOUNT_RESTRICTEDThe account is locked.
404NOT_FOUNDOrder, project or endpoint not found.
409CONFLICTThe service is full for this project.
429RATE_LIMITEDMore than 300 requests per minute, or more than 60 orders per minute. Wait as the Retry-After header says.
500SERVER_ERRORServer 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
curl -sS 'https://backlink2top.com/api/v1/balance' \
  -H "Authorization: Bearer $TOKEN"
Sample response
{ "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.

ParameterTypeRequiredDescription
project_idintegerNoProject ID. When given, max is the quantity that project can still order.
cURL
curl -sS 'https://backlink2top.com/api/v1/services' \
  -H "Authorization: Bearer $TOKEN"
Sample response
{ "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
curl -sS 'https://backlink2top.com/api/v1/projects' \
  -H "Authorization: Bearer $TOKEN"
Sample response
{ "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.

ParameterTypeRequiredDescription
servicestringYesentity · blog_comment · google_stacking · social · podcast · chrome · firefox
quantityintegerNoRequired for entity, blog_comment, google_stacking. Always 1 for chrome and firefox.
project_idintegerNoAn existing project.
projectobjectNoA new project: { name, website }. Required when project_id is not sent.
targetsarrayNoRequired for social and podcast: a list of { url, keyword } on the project's website.
targetsarrayNoFor 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_articleintegerNoSocial only: posts per article. The order quantity = number of articles × this value.
topicsarrayNoEntity only: restrict the platform topic groups. Sending it adds the group-choice surcharge to the price per link (see GET /services).
couponstringNoCoupon code.
order_refstringNoYour own reference, up to 64 characters, used to prevent duplicates.
cURL
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" } }'
Sample response
{ "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
curl -sS 'https://backlink2top.com/api/v1/orders/B2T-234BA03F15' \
  -H "Authorization: Bearer $TOKEN"
Sample response
{ "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.

ParameterTypeRequiredDescription
statusstringNopending · running · completed · partial · refunded · cancelled
servicestringNoFilter by service.
pageintegerNoDefault 1.
limitintegerNoDefault 20, maximum 100.
cURL
curl -sS 'https://backlink2top.com/api/v1/orders' \
  -H "Authorization: Bearer $TOKEN"
Sample response
{ "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
curl -sS -X POST 'https://backlink2top.com/api/v1/orders/B2T-234BA03F15/cancel' \
  -H "Authorization: Bearer $TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{}'
Sample response
{ "ok": true, "data": { "order": { "code": "B2T-234BA03F15", "status": "cancelled", "refunded": 1500 } } }

Order statuses

pendingReceived and being prepared. Can be cancelled.
runningIn progress. Links appear as they are delivered.
completedThe full quantity was delivered.
partialPartly delivered; the rest was refunded.
refundedNothing could be delivered; fully refunded.
cancelledCanceled 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.