---
title: "Price an export"
method: POST
path: "/v1/account/exports/quote"
tags: ["Exports"]
---

# Price an export

`POST /v1/account/exports/quote`

## Request

- Base URL: `https://api.pmwallets.com`
- URL: `https://api.pmwallets.com/v1/account/exports/quote`
- Auth: API key in header `x-api-key`

Price of (entities × days); dates are clamped into the sellable window. Charges nothing, spends no budget. Name all entities the same way (all handles or all addresses).

## Request body

- ExportRequest
  - `entityIds` string[], required: Entity handles, or 0x addresses — all the same form.
  - `from` string, required: First UTC day, inclusive.
  - `to` string, required: Last UTC day, inclusive.

## Response `201`

Quote (HTTP 201, nothing charged).

- ExportQuote
  - `window` object: The sellable span.
    - `from` string
    - `to` string
    - `days` integer
  - `from` string: Requested day, clamped into the window.
  - `to` string
  - `days` integer
  - `sellable` boolean
  - `reason` 'below_minimum' | 'no_data'
  - `minDays` integer
  - `entities` integer
  - `priceCents` integer: One entity.
  - `orderPriceCents` integer: The whole order; send it back as maxPriceCents.
  - `perEntityCents` integer
  - `discount` number
  - `price` object
    - `cents` integer
    - `usd` number
    - `cny` number
  - `breakdown` object[]
    - `fromDay` integer
    - `toDay` integer
    - `days` integer
    - `perDayCents` integer
    - `cents` integer
  - `rateCard` RateTier[]
    - `fromDay` integer
    - `toDay` integer, nullable
    - `perDayCents` integer

## Other responses

- `400`: Invalid parameter or body; `message` names what was expected.
- `401`: No valid API key (missing, malformed, unknown or revoked).

---

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