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
$ch = curl_init('https://fastbayi.com/api/v2');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query([
'key' => 'YOUR_API_KEY',
'action' => 'services',
]),
]);
$res = curl_exec($ch);
if ($res === false) {
echo curl_error($ch);
curl_close($ch);
return;
}
curl_close($ch);
print_r(json_decode($res, true));
Python · requests
import requests
res = requests.post('https://fastbayi.com/api/v2', data={
'key': 'YOUR_API_KEY',
'action': 'services',
})
print(res.json())
Node.js · fetch
const res = await fetch('https://fastbayi.com/api/v2', {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: new URLSearchParams({
key: "YOUR_API_KEY",
action: "services",
}),
});
console.log(await res.json());
Example Response · JSON
[
{
"currency": "USD",
"category": "Instagram",
"service": 1,
"type": "Default",
"name": "Instagram Followers [Real]",
"description": "High quality Instagram followers",
"rate": "0.8500000",
"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 |
comments | string | No | For Custom Comments services; one comment per line |
PHP · cURL
<?php
$ch = curl_init('https://fastbayi.com/api/v2');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query([
'key' => 'YOUR_API_KEY',
'action' => 'add',
'service' => 1,
'link' => 'https://instagram.com/username',
'quantity' => 1000,
]),
]);
$res = curl_exec($ch);
if ($res === false) {
echo curl_error($ch);
curl_close($ch);
return;
}
curl_close($ch);
print_r(json_decode($res, true));
Python · requests
import requests
res = requests.post('https://fastbayi.com/api/v2', data={
'key': 'YOUR_API_KEY',
'action': 'add',
'service': 1,
'link': 'https://instagram.com/username',
'quantity': 1000,
})
print(res.json())
Node.js · fetch
const res = await fetch('https://fastbayi.com/api/v2', {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: new URLSearchParams({
key: "YOUR_API_KEY",
action: "add",
service: 1,
link: "https://instagram.com/username",
quantity: 1000,
}),
});
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
$ch = curl_init('https://fastbayi.com/api/v2');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query([
'key' => 'YOUR_API_KEY',
'action' => 'status',
'order' => 23501,
]),
]);
$res = curl_exec($ch);
if ($res === false) {
echo curl_error($ch);
curl_close($ch);
return;
}
curl_close($ch);
print_r(json_decode($res, true));
Python · requests
import requests
res = requests.post('https://fastbayi.com/api/v2', data={
'key': 'YOUR_API_KEY',
'action': 'status',
'order': 23501,
})
print(res.json())
Node.js · fetch
const res = await fetch('https://fastbayi.com/api/v2', {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: new URLSearchParams({
key: "YOUR_API_KEY",
action: "status",
order: 23501,
}),
});
console.log(await res.json());
Example Response · JSON
{
"charge": "2.5000000",
"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
$ch = curl_init('https://fastbayi.com/api/v2');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query([
'key' => 'YOUR_API_KEY',
'action' => 'status',
'orders' => '23501,23502,23503',
]),
]);
$res = curl_exec($ch);
if ($res === false) {
echo curl_error($ch);
curl_close($ch);
return;
}
curl_close($ch);
print_r(json_decode($res, true));
Python · requests
import requests
res = requests.post('https://fastbayi.com/api/v2', data={
'key': 'YOUR_API_KEY',
'action': 'status',
'orders': '23501,23502,23503',
})
print(res.json())
Node.js · fetch
const res = await fetch('https://fastbayi.com/api/v2', {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: new URLSearchParams({
key: "YOUR_API_KEY",
action: "status",
orders: "23501,23502,23503",
}),
});
console.log(await res.json());
Example Response · JSON
{
"23501": {
"charge": "2.5000000",
"start_count": "1520",
"status": "Completed",
"remains": "0",
"currency": "USD"
},
"23502": {
"error": "Incorrect order ID"
},
"23503": {
"charge": "5.0000000",
"start_count": "0",
"status": "In progress",
"remains": "250",
"currency": "USD"
}
}
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
$ch = curl_init('https://fastbayi.com/api/v2');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query([
'key' => 'YOUR_API_KEY',
'action' => 'balance',
]),
]);
$res = curl_exec($ch);
if ($res === false) {
echo curl_error($ch);
curl_close($ch);
return;
}
curl_close($ch);
print_r(json_decode($res, true));
Python · requests
import requests
res = requests.post('https://fastbayi.com/api/v2', data={
'key': 'YOUR_API_KEY',
'action': 'balance',
})
print(res.json())
Node.js · fetch
const res = await fetch('https://fastbayi.com/api/v2', {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: new URLSearchParams({
key: "YOUR_API_KEY",
action: "balance",
}),
});
console.log(await res.json());
Example Response · JSON
{
"balance": "100.0000000",
"currency": "USD"
}