API Documentation
Integrate our services into your own platform with our powerful REST API
HTTP Method
POST
API Endpoint
https://flavihost.com/api/v2
Response Format
JSON
Authentication
API Key
API Endpoints
Complete reference for all available API actions
Sign in required to use the API.
You can browse the documentation below — but to generate your API key you need to
create an account or sign in.
Service List
Retrieve all available services with their details.
| Parameters | Description |
|---|---|
key | Your API key |
action | services |
Example Response
[
{
"service": 1,
"name": "Followers",
"type": "Default",
"category": "First Category",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true
},
{
"service": 2,
"name": "Comments",
"type": "Custom Comments",
"category": "Second Category",
"rate": "8",
"min": "10",
"max": "1500",
"refill": false,
"cancel": true
}
]
Add Order
Create a new order for a specific service.
Example Response
{
"order": 23501
}
Order Status
Check the status of one or multiple orders.
| Parameters | Description |
|---|---|
key | Your API key |
action | status |
order | Order ID (single) |
orders | Order IDs (comma separated, up to 100) |
Single Order Response
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
Multiple Orders Response
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"10": {
"error": "Incorrect order ID"
},
"100": {
"charge": "1.44219",
"start_count": "234",
"status": "In progress",
"remains": "10",
"currency": "USD"
}
}
Refill
Create and check refill requests.
| Parameters | Description |
|---|---|
key | Your API key |
action | refill |
order | Order ID (single) |
orders | Order IDs (comma separated, up to 100) |
Single Refill Response
{
"refill": "1"
}
Multiple Refills Response
[
{
"order": 1,
"refill": 1
},
{
"order": 2,
"refill": 2
},
{
"order": 3,
"refill": {
"error": "Incorrect order ID"
}
}
]
Get Refill Status
| Parameters | Description |
|---|---|
key | Your API key |
action | refill_status |
refill | Refill ID (single) |
refills | Refill IDs (comma separated, up to 100) |
Refill Status Response
{
"status": "Completed"
}
User Balance
Check your account balance.
| Parameters | Description |
|---|---|
key | Your API key |
action | balance |
Example Response
{
"balance": "100.84292",
"currency": "USD"
}