curl --request POST \
--url https://app.proxy-layer.com/api/v1/quotes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"purchase": {
"productSlug": "isp",
"durationDays": 30,
"items": [
{
"countryCode": "US",
"quantity": 2
}
]
}
}
'{
"productSlug": "isp",
"productType": "ISP",
"productName": "ISP",
"currency": "USD",
"amountCents": 1000,
"durationDays": 30,
"quantity": 2,
"items": [
{
"countryCode": "US",
"quantity": 2,
"targetProxyIds": [],
"trafficGb": null,
"unitAmountCents": 500,
"totalAmountCents": 1000
}
]
}Buy Proxies
Get Quote
Validates a purchase or renewal and returns the total price. Renewal quotes with targetProxyIds require authentication.
POST
/
api
/
v1
/
quotes
curl --request POST \
--url https://app.proxy-layer.com/api/v1/quotes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"purchase": {
"productSlug": "isp",
"durationDays": 30,
"items": [
{
"countryCode": "US",
"quantity": 2
}
]
}
}
'{
"productSlug": "isp",
"productType": "ISP",
"productName": "ISP",
"currency": "USD",
"amountCents": 1000,
"durationDays": 30,
"quantity": 2,
"items": [
{
"countryCode": "US",
"quantity": 2,
"targetProxyIds": [],
"trafficGb": null,
"unitAmountCents": 500,
"totalAmountCents": 1000
}
]
}Authorizations
bearerAuthoauth2
Body
application/json
Static proxy purchase, renewal, or Residential traffic purchase.