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

POST

Returns all active services, prices, and min/max values.

ParameterTypeRequiredDescription
keystringYesYour API Key
actionstringYesAction 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

POST

Creates a new order and returns the order ID.

ParameterTypeRequiredDescription
keystringYesYour API Key
actionstringYesAction type: add
serviceintegerYesService ID
linkstringYesTarget link / username
quantityintegerYesOrder 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

POST

Returns the status, charge, and remaining quantity of a single order.

ParameterTypeRequiredDescription
keystringYesYour API Key
actionstringYesAction type: status
orderintegerYesOrder 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

POST

Queries multiple order statuses in one request. Separate order IDs with commas.

ParameterTypeRequiredDescription
keystringYesYour API Key
actionstringYesAction type: status
ordersstringYesComma-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

POST

Returns your current account balance and currency.

ParameterTypeRequiredDescription
keystringYesYour API Key
actionstringYesAction 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"
}