API Documentation
Overview
https://fastbayi.com/api/v2
MethodPOST
FormatJSON
Versionv2
Limit10,000 requests / min
Authentication
Send your API key as the key parameter on every request. You can obtain your key from Profile → API Key.
Never expose your API key on the client side (frontend). Make requests only from your own server.
Service List
POSTReturns all active services, prices, and min/max values.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Your API Key |
action | string | Yes | Action type: services |
PHP · cURL
<?php $url = 'https://fastbayi.com/api/v2'; $data = ['key' => 'YOUR_API_KEY', 'action' => 'services']; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']); $response = curl_exec($ch); curl_close($ch); $result = json_decode($response, true); print_r($result);
Python · requests
import requests
url = 'https://fastbayi.com/api/v2'
data = {'key': 'YOUR_API_KEY', 'action': 'services'}
response = requests.post(url, json=data)
print(response.json())
Node.js · fetch
const url = 'https://fastbayi.com/api/v2';
const data = { key: 'YOUR_API_KEY', action: 'services' };
const res = await fetch(url, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(data),
});
console.log(await res.json());
Example Response · JSON
[
{
"service": 1,
"currency": "USD",
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram",
"rate": "2.50",
"min": "10",
"max": "100000"
}
]
Create Order
POSTCreates a new order and returns the order ID.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Your API Key |
action | string | Yes | Action type: add |
service | integer | Yes | Service ID |
link | string | Yes | Target link / username |
quantity | integer | Yes | Order quantity |
PHP · cURL
<?php
$url = 'https://fastbayi.com/api/v2';
$data = [
'key' => 'YOUR_API_KEY',
'action' => 'add',
'service' => 1,
'link' => 'https://instagram.com/username',
'quantity' => 1000,
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
print_r($result);
Python · requests
import requests
url = 'https://fastbayi.com/api/v2'
data = {
'key': 'YOUR_API_KEY',
'action': 'add',
'service': 1,
'link': 'https://instagram.com/username',
'quantity': 1000,
}
response = requests.post(url, json=data)
print(response.json())
Node.js · fetch
const url = 'https://fastbayi.com/api/v2';
const data = {
key: 'YOUR_API_KEY',
action: 'add',
service: 1,
link: 'https://instagram.com/username',
quantity: 1000,
};
const res = await fetch(url, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(data),
});
console.log(await res.json());
Example Response · JSON
{
"order": 23501
}
Order Status
POSTReturns the status, charge, and remaining quantity of a single order.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Your API Key |
action | string | Yes | Action type: status |
order | integer | Yes | Order ID |
PHP · cURL
<?php $url = 'https://fastbayi.com/api/v2'; $data = ['key' => 'YOUR_API_KEY', 'action' => 'status', 'order' => 23501]; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']); $response = curl_exec($ch); curl_close($ch); $result = json_decode($response, true); print_r($result);
Python · requests
import requests
url = 'https://fastbayi.com/api/v2'
data = {'key': 'YOUR_API_KEY', 'action': 'status', 'order': 23501}
response = requests.post(url, json=data)
print(response.json())
Node.js · fetch
const url = 'https://fastbayi.com/api/v2';
const data = { key: 'YOUR_API_KEY', action: 'status', order: 23501 };
const res = await fetch(url, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(data),
});
console.log(await res.json());
Example Response · JSON
{
"charge": "2.50",
"start_count": "1520",
"status": "Completed",
"remains": "0",
"currency": "USD"
}
Multi Order Status
POSTQueries multiple order statuses in one request. Separate order IDs with commas.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Your API Key |
action | string | Yes | Action type: status |
orders | string | Yes | Comma-separated order IDs |
PHP · cURL
<?php $url = 'https://fastbayi.com/api/v2'; $data = ['key' => 'YOUR_API_KEY', 'action' => 'status', 'orders' => '1,10,100']; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']); $response = curl_exec($ch); curl_close($ch); $result = json_decode($response, true); print_r($result);
Python · requests
import requests
url = 'https://fastbayi.com/api/v2'
data = {'key': 'YOUR_API_KEY', 'action': 'status', 'orders': '1,10,100'}
response = requests.post(url, json=data)
print(response.json())
Node.js · fetch
const url = 'https://fastbayi.com/api/v2';
const data = { key: 'YOUR_API_KEY', action: 'status', orders: '1,10,100' };
const res = await fetch(url, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(data),
});
console.log(await res.json());
Example Response · JSON
{
"1": { "charge": "2.50", "status": "Completed", "remains": "0" },
"10": { "error": "Incorrect order ID" },
"100": { "charge": "5.00", "status": "In progress", "remains": "250" }
}
Check Balance
POSTReturns your current account balance and currency.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Your API Key |
action | string | Yes | Action type: balance |
PHP · cURL
<?php $url = 'https://fastbayi.com/api/v2'; $data = ['key' => 'YOUR_API_KEY', 'action' => 'balance']; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']); $response = curl_exec($ch); curl_close($ch); $result = json_decode($response, true); print_r($result);
Python · requests
import requests
url = 'https://fastbayi.com/api/v2'
data = {'key': 'YOUR_API_KEY', 'action': 'balance'}
response = requests.post(url, json=data)
print(response.json())
Node.js · fetch
const url = 'https://fastbayi.com/api/v2';
const data = { key: 'YOUR_API_KEY', action: 'balance' };
const res = await fetch(url, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(data),
});
console.log(await res.json());
Example Response · JSON
{
"balance": "100.0000000",
"currency": "USD"
}