curl https://flameproxies.com/api/customer/packages \
-H "Authorization: Bearer fp_live_xxx"
import requests
resp = requests.get(
"https://flameproxies.com/api/customer/packages",
headers={"Authorization": "Bearer fp_live_xxx"},
)
for product in resp.json()["products"]:
print(product["name"], [tier["name"] for tier in product["prices"]])
const resp = await fetch("https://flameproxies.com/api/customer/packages", {
headers: { Authorization: "Bearer fp_live_xxx" },
});
const { products } = await resp.json();
console.log(products);
{
"products": [
{
"id": 1,
"name": "residential",
"description": "...",
"features": ["..."],
"prices": [
{
"id": 10,
"name": "1-10 GB",
"min_range": 1,
"max_range": 10,
"price": 1.25,
"currency": "USD"
}
]
}
]
}
Account
List package tiers
Returns the public catalog of package tiers and prices for the products the Customer API supports.
GET
/
api
/
customer
/
packages
curl https://flameproxies.com/api/customer/packages \
-H "Authorization: Bearer fp_live_xxx"
import requests
resp = requests.get(
"https://flameproxies.com/api/customer/packages",
headers={"Authorization": "Bearer fp_live_xxx"},
)
for product in resp.json()["products"]:
print(product["name"], [tier["name"] for tier in product["prices"]])
const resp = await fetch("https://flameproxies.com/api/customer/packages", {
headers: { Authorization: "Bearer fp_live_xxx" },
});
const { products } = await resp.json();
console.log(products);
{
"products": [
{
"id": 1,
"name": "residential",
"description": "...",
"features": ["..."],
"prices": [
{
"id": 10,
"name": "1-10 GB",
"min_range": 1,
"max_range": 10,
"price": 1.25,
"currency": "USD"
}
]
}
]
}
Returns the public catalog for API-supported products only:
residential and premium_residential. Each product lists its price tiers by GB range.
This endpoint takes no request body. The catalog changes rarely, so cache the response rather than calling it before every order.
Values in the examples are illustrative. Call the endpoint for current prices.
curl https://flameproxies.com/api/customer/packages \
-H "Authorization: Bearer fp_live_xxx"
import requests
resp = requests.get(
"https://flameproxies.com/api/customer/packages",
headers={"Authorization": "Bearer fp_live_xxx"},
)
for product in resp.json()["products"]:
print(product["name"], [tier["name"] for tier in product["prices"]])
const resp = await fetch("https://flameproxies.com/api/customer/packages", {
headers: { Authorization: "Bearer fp_live_xxx" },
});
const { products } = await resp.json();
console.log(products);
{
"products": [
{
"id": 1,
"name": "residential",
"description": "...",
"features": ["..."],
"prices": [
{
"id": 10,
"name": "1-10 GB",
"min_range": 1,
"max_range": 10,
"price": 1.25,
"currency": "USD"
}
]
}
]
}
Response
object[]
The products available through the Customer API.
Show product
Show product
number
Product ID.
string
Product slug:
residential or premium_residential. Use this as product when you create an order.string
Product description.
string[]
Product features.
