---
title: "Price a purchase"
method: POST
path: "/api/v1/quotes"
---

# Price a purchase

`POST /api/v1/quotes`

## Request

- Base URL: `https://ipmusk.com`
- URL: `https://ipmusk.com/api/v1/quotes`
- Auth: none declared

A non-binding price preview, valid 15 minutes. Residential takes a plan_id and is one-time only through the API (subscriptions are started in the dashboard); static takes a plan_id, resource_days (30 or 90) and quantity. Nothing is ordered.

## Request body

- union
  - object
    - `product` 'rotating_residential', required
    - `plan_id` string, required
    - `billing_mode` 'one_time'
  - object
    - `product` 'static_isp', required
    - `plan_id` string, required
    - `resource_days` integer, required
    - `quantity` integer, required

## Response `200`

Price a purchase

- object
  - `data` object, required
    - `quote_id` string, required
    - `product_id` 'rotating_residential' | 'static_isp', required
    - `plan_id` string, required
    - `price_option_id` string, nullable, required
    - `billing_mode` 'one_time' | 'subscription', required
    - `billing_interval` 'month', nullable, required
    - `amount_minor` integer, required
    - `subtotal_amount_minor` integer, required
    - `tax_amount_minor` integer, required
    - `currency` string, required
    - `unit_amount_minor` integer, required
    - `quantity` integer, required
    - `resource_days` integer
    - `traffic_gb` number
    - `location` object
      - `id` string, required
      - `product_id` 'rotating_residential' | 'static_isp', required
      - `country_code` string, required
      - `name` string, required
      - `available` boolean, required
    - `expires_at` string, date-time, required
  - `request_id` string, required

## Other responses

- `default`: Any failure: 400 validation_error, 401 authentication_required, 403 forbidden / capability_unavailable, 404 not_found, 409 invalid_state_transition / idempotency_conflict, 422 product_unavailable, 429 rate_limited, 500 internal_error.

---

[API](https://skmtc.dev/ipmusk/apis/ipmusk-customer-api.md) · [All operations](https://skmtc.dev/ipmusk/apis/ipmusk-customer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ipmusk/apis/ipmusk-customer-api/revisions/89f8b46fda61?raw)
