Pricing
GET /v1/products/{id}/price returns the exact price for a quantity — the same number POST /v1/orders will charge. Prices are server-authoritative; a client can never set its own.
bash
curl "https://hproxy.com/v1/products/residential-standard/price?quantity=5" \
-H "X-API-Key: hpx_xxxxxxxxxxxx"Query parameters
quantitynumber · requiredGB for residential/Survey, IP count for per-IP products.billing_type"PAYG" | "SUBSCRIPTION"Defaults to "PAYG".countrystringISO country — for per-IP products, drives the live per-IP quote.period_daysnumberRental duration, for per-IP products.amountCents is the total in integer cents (here $7.50); unitPriceCents is the per-unit price. Residential uses volume tiers, so the unit price drops as quantity rises.Per-IP products (ISP / mobile / IPv4 / IPv6) are quoted against live capacity, so those quotes are rate-limited a little tighter. Cache a quote for a few seconds rather than re-requesting it in a tight loop.
Was this helpful?