Platform
Get Price
Platform
Get Price
Retrieves the pricing details for one or more proxies.
POST
/
v1
/
price
curl --request POST \
--url https://cmd.illusory.io/v1/price \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"proxies": [
[
{
"isp": "Verizon",
"location": "Austin",
"interval": 1,
"period": "weekly"
},
{
"isp": "Verizon",
"location": "Austin",
"interval": 1,
"period": "monthly"
},
{
"isp": "AT&T",
"location": "Cleveland",
"interval": 2,
"period": "monthly"
}
]
]
}'
{
"ok": true,
"message": "Retrieved pricing details successfully.",
"data": {
"member": true,
"periods": {
"weekly": {
"individual": {
"VR-AU-D03C11FA": {
"interval": 1,
"standard": 99,
"member": 89,
"total": 89
}
},
"bulk": {
"individual": 1,
"price": null
},
"total": {
"standard": 99,
"member": 89,
"due": 89
}
},
"monthly": {
"individual": {
"VR-AU-29A225F3": {
"interval": 1,
"standard": 279,
"member": 229,
"total": 219
},
"AT-CL-4AABB4B5": {
"interval": 2,
"standard": 279,
"member": 229,
"total": 438
}
},
"bulk": {
"individual": 2,
"price": 219
},
"total": {
"standard": 837,
"member": 687,
"due": 657
}
}
},
"savings": {
"member": {
"weekly": {
"individual": 10,
"total": 10
},
"monthly": {
"individual": 50,
"total": 150
}
},
"bulk": {
"weekly": {
"individual": 0,
"total": 0
},
"monthly": {
"individual": 10,
"total": 30
}
},
"interval": 18,
"total": 208
},
"total": {
"standard": 936,
"member": 776,
"due": 728
}
}
}
Authorizations
The Authorization
header is used to authenticate with the API using your Master
API key. Value is of the format Bearer YOUR_KEY_HERE
.
Body
application/json
Pricing details
List of proxies to retrieve pricing for. Each item should include isp
, location
, interval
and period
.
Internet Service Provider
City of the proxy server. e.g., Austin
Interval for deployment period. e.g., 2
weeks.
Deployment period, e.g., 'weekly'
Available options:
hourly
, daily
, weekly
, monthly
, yearly
Response
200
application/json
Server response
Indicates whether the request was successful e.g., true
Success message
Indicates whether the user is a member
Object containing the pricing details for individual items
Object containing the savings details
Total amount saved for interval reductions
Total amount saved
Was this page helpful?
curl --request POST \
--url https://cmd.illusory.io/v1/price \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"proxies": [
[
{
"isp": "Verizon",
"location": "Austin",
"interval": 1,
"period": "weekly"
},
{
"isp": "Verizon",
"location": "Austin",
"interval": 1,
"period": "monthly"
},
{
"isp": "AT&T",
"location": "Cleveland",
"interval": 2,
"period": "monthly"
}
]
]
}'
{
"ok": true,
"message": "Retrieved pricing details successfully.",
"data": {
"member": true,
"periods": {
"weekly": {
"individual": {
"VR-AU-D03C11FA": {
"interval": 1,
"standard": 99,
"member": 89,
"total": 89
}
},
"bulk": {
"individual": 1,
"price": null
},
"total": {
"standard": 99,
"member": 89,
"due": 89
}
},
"monthly": {
"individual": {
"VR-AU-29A225F3": {
"interval": 1,
"standard": 279,
"member": 229,
"total": 219
},
"AT-CL-4AABB4B5": {
"interval": 2,
"standard": 279,
"member": 229,
"total": 438
}
},
"bulk": {
"individual": 2,
"price": 219
},
"total": {
"standard": 837,
"member": 687,
"due": 657
}
}
},
"savings": {
"member": {
"weekly": {
"individual": 10,
"total": 10
},
"monthly": {
"individual": 50,
"total": 150
}
},
"bulk": {
"weekly": {
"individual": 0,
"total": 0
},
"monthly": {
"individual": 10,
"total": 30
}
},
"interval": 18,
"total": 208
},
"total": {
"standard": 936,
"member": 776,
"due": 728
}
}
}