WebTraffic.bot API
Connect your panel, app or script to WebTraffic.bot and resell every traffic channel automatically. One URL, simple POST requests and JSON answers. It works with any SMM panel script and with custom code in any language.
Quick start
- Get your API key. Open the Account page and generate your key. Keep it private: anyone with the key can spend your balance.
- Load the service list. Send
action=servicesto get every service ID, rate, minimum and maximum. - Place an order. Send
action=addwith a service ID, the link and the quantity. Save the order ID you get back. - Track it. Send
action=statuswith the order ID to see progress, start count and remains.
Basics
- API URL:
https://webtraffic.bot/api/v2 - Method: POST
- Request body: Form data (
application/x-www-form-urlencoded) - Response: JSON
- Authentication: Your API key in the
keyfield of every request - Currency: USD, rates are per 1,000 visits
Prefer PHP? Download our ready-to-use PHP example: add your API key and call services(), order(), status() and the other methods.
Already running a panel?
Add WebTraffic.bot as a provider. In your panel's provider settings, create a new provider with the API URL https://webtraffic.bot/api/v2 and your API key, then import the services you want to sell. Service names and descriptions carry no WebTraffic.bot branding, so you can show them to your customers as they are.
1. Service list
Returns every active service. Use the service number when you place orders.
- key: Your API key
- action:
services
curl -X POST https://webtraffic.bot/api/v2 \
-d key=YOUR_API_KEY \
-d action=services
Example response:
[
{
"service": 6,
"name": "AI Traffic · Worldwide",
"type": "Default",
"category": "AI · ChatGPT, Perplexity, Gemini, Claude, Grok",
"rate": "0.25",
"min": "77",
"max": "777777",
"refill": false,
"cancel": true
},
{
"service": 12,
"name": "iPhone Traffic · Latest Models",
"type": "Default",
"category": "Mobile · iPhone, 190+ Countries",
"rate": "1.20",
"min": "33",
"max": "3300000",
"refill": false,
"cancel": true
}
]
rateis the price in USD for 1,000 visits.minandmaxare the allowed quantities per order.refillandcancelshow whether those actions are available for the service.- Service IDs in these examples are samples. Always use the IDs from your own service list.
2. Add an order
- key: Your API key
- action:
add - service: Service ID
- link: Page URL, in the format the service asks for (see Link formats)
- quantity: Number of visits
- runs (optional): Drip-feed: number of runs
- interval (optional): Drip-feed: minutes between runs
curl -X POST https://webtraffic.bot/api/v2 \
-d key=YOUR_API_KEY \
-d action=add \
-d service=6 \
--data-urlencode "link=https://yoursite.com" \
-d quantity=1000
Example response:
{
"order": 23501
}
This order sends 1,000 AI traffic visits at $0.25 per 1,000, so it costs $0.25. With drip-feed, quantity is the amount per run: quantity=1000, runs=10, interval=60 sends 1,000 visits every hour, 10 times (10,000 in total).
Link formats
Web traffic services read extra targeting from the link. Each service description shows its exact format. Always URL-encode the link, because it can contain spaces and the characters : < >.
- Plain link: URL, for example
https://yoursite.com - Choose country: URL:CODE, for example
https://yoursite.com:US - Country and keyword: URL/:CODE<keyword>, for example
https://yoursite.com/:US<running shoes> - Custom referrer: URL:CODE< referrer >, for example
https://yoursite.com:US< news.google.com > - Worldwide referrer: URL:WW< referrer >, for example
https://yoursite.com:WW< news.google.com > - Short links: Bit.ly or Cutt.ly, same suffix, for example
https://cutt.ly/xyz:US<keyword>
Country codes are 2-letter ISO codes such as US, GB, DE or KR.
Custom Visits: extra fields
Custom Visits Core, Plus and Ultra take their targeting from separate fields instead of the link. Send only your page URL in link, then add these fields to the same addrequest:
- country: 2-letter country code, for example
US - device: Device type as shown in the order form, for example
Desktop - type_of_traffic:
1for Google keyword traffic - google_keyword: The keyword to use with
type_of_traffic=1
curl -X POST https://webtraffic.bot/api/v2 \
-d key=YOUR_API_KEY \
-d action=add \
-d service=SERVICE_ID \
--data-urlencode "link=https://yoursite.com" \
-d quantity=1000 \
-d country=US \
-d device=Desktop \
-d type_of_traffic=1 \
--data-urlencode "google_keyword=running shoes"
Drip-feed works here too: add runs and interval as usual.
3. Order status
- key: Your API key
- action:
status - order: Order ID
curl -X POST https://webtraffic.bot/api/v2 \
-d key=YOUR_API_KEY \
-d action=status \
-d order=23501
Example response:
{
"charge": "0.25",
"start_count": "2026",
"status": "In progress",
"remains": "640",
"currency": "USD"
}
chargeis what the order cost you.remainsis how many visits are still to be delivered.start_countis the service's authenticity number. Genuine orders on a service always show the same number (for example 2026 on AI traffic), so you can pass it to your customers as proof.
Status of many orders at once
Send orders with up to 100 order IDs, separated by commas.
curl -X POST https://webtraffic.bot/api/v2 \
-d key=YOUR_API_KEY \
-d action=status \
-d orders=23501,23502
{
"23501": {
"charge": "0.25",
"start_count": "2026",
"status": "Completed",
"remains": "0",
"currency": "USD"
},
"23502": {
"error": "Incorrect order ID"
}
}
What each status means
- Pending: Received and waiting to start
- In progress / Processing: Delivery is running
- Completed: Fully delivered
- Partial: Part delivered. The undelivered amount is refunded to your balance automatically
- Canceled: Not delivered. The full charge is refunded to your balance automatically
4. Cancel orders
Works on services where cancel is true, while the order has not started yet. Send up to 100 order IDs.
- key: Your API key
- action:
cancel - orders: Order IDs, separated by commas
curl -X POST https://webtraffic.bot/api/v2 \
-d key=YOUR_API_KEY \
-d action=cancel \
-d orders=23501,23502
[
{
"order": 23501,
"cancel": 1
},
{
"order": 23502,
"cancel": {
"error": "Incorrect order ID"
}
}
]
5. Refill
Only for services where refill is true, within the refill period shown in the service description.
- key: Your API key
- action:
refill - order: Order ID (or
ordersfor up to 100 IDs)
curl -X POST https://webtraffic.bot/api/v2 \
-d key=YOUR_API_KEY \
-d action=refill \
-d order=23501
{
"refill": "1"
}
Check a refill with action=refill_status and refill (the refill ID), or refills for up to 100 IDs:
{
"status": "Completed"
}
6. Balance
- key: Your API key
- action:
balance
curl -X POST https://webtraffic.bot/api/v2 \
-d key=YOUR_API_KEY \
-d action=balance
{
"balance": "250.40",
"currency": "USD"
}
Errors
When something is wrong, the response has an error field instead of the normal data, for example:
{
"error": "Incorrect order ID"
}
The most common causes:
- Wrong or missing API key
- Service ID that does not exist or is disabled
- Quantity below the service minimum or above the maximum
- Not enough balance for the order
- Link in the wrong format for the service
Tips for resellers
- Sync services daily. Service IDs stay the same, but rates, limits and availability can change.
- Show our link formats to your customers. A wrong format is the most common reason an order fails.
- Check status every few minutes, not every second. Use the many-orders status call to check up to 100 orders at once.
- Expect a short delay on remains. The counter can update up to about 6 hours behind real delivery.
- Refunds are automatic. Partial and Canceled orders refund your balance right away, so pass the refund on to your customer.
- Keep your key safe. Store it on your server only, never in browser code. Generate a new one from the Account page if it leaks.
- Follow the Terms. Orders placed through the API follow the same rules as orders placed on the site.
Need help?
Open a ticket from your account with the order ID and the full request you sent (without your API key).