---
title: "Price a product"
method: GET
path: "/api/v1/products/{id}/price"
tags: ["Products & pricing"]
---

# Price a product

`GET /api/v1/products/{id}/price`

## Request

- Base URL: `https://hproxy.com`
- URL: `https://hproxy.com/api/v1/products/{id}/price`
- Auth: API key in header `X-API-Key`

A server-authoritative quote: the exact amount `POST /orders` will charge for the same inputs. Pass the quantity as a query parameter. For dedicated per-IP products, add `country` and `period_days` to quote the exact targeting you'll order. Omitted, they default to `USA` / 30 days.

**On a reseller key** the answer also says what the order costs **you**: `yourCostCents` is what we debit from your balance when one of your customers places it, `amountCents` is what that customer pays (your retail or markup, else our price), `marginCents` is the difference, `listCents` is our own price, and `note` spells out which is which. To see every period of a country at once, use the [price list](#price-list).

## Path parameters

- `id` string, required

## Query parameters

- `quantity` integer, required
- `country` string
- `period_days` integer

## Response `200`

Success

- object

## Other responses

- `400`: Invalid input. The body names the field and the accepted set.
- `401`: Missing or invalid API key.
- `429`: Rate limited. Retry after the delay in the response.

---

[API](https://skmtc.dev/hproxy/apis/hproxy-api.md) · [All operations](https://skmtc.dev/hproxy/apis/hproxy-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hproxy/apis/hproxy-api/revisions/9f6898fe76e2?raw)
