Get Price
Retrieves the pricing details for one or more proxies.
The Authorization
header is used to authenticate with the API using your Master
API key. Value is of the format Bearer YOUR_KEY_HERE
.
List of proxies to retrieve pricing for. Each item should include isp
, location
, interval
and period
.
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
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'
hourly
, daily
, weekly
, monthly
, yearly
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
Interval for deployment period. e.g., 2
weeks.
Standard pricing per item
Member pricing per item
Total amount for the item.
Object containing the bulk pricing details
Number of items to be deployed
Bulk pricing per item. If null
, then bulk pricing is not available for the period.
Object containing the total pricing details
Total standard pricing
Total member pricing
Total amount due
Object containing the savings details
Object containing the savings details for members
Amount saved per individual item
Total amount saved
Object containing the savings details for bulk pricing
Amount saved per individual item
Total amount saved
Total amount saved for interval reductions
Total amount saved
Object containing the total pricing details
Total standard pricing
Total member pricing
Total amount due
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
}
}
}