> ## Documentation Index
> Fetch the complete documentation index at: https://pricepirate.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Credits and billing

> What a query costs, when credits are refunded, which credits expire, and how to buy more.

The Price Data API is billed in credits. Each query costs one credit.

## What you pay for

* You pay per query, not per offer, poll, or CSV export.
* `found` and `not_found` results stay charged.
* `error` results are refunded. A wholly failed job is refunded in full.
* Requests refused with `4xx` or `503` cost nothing.

## When credits move

1. **Creating a job** charges the full job: one credit per query.
2. **Polling the job in a terminal status** refunds its `error` results. A JSON poll and a CSV export both count.
3. **A job you never poll before its results expire** keeps its full charge. Its outcome is unknown, so nothing is refunded.

Every poll response carries `X-Credits-Used` and `X-Credits-Refunded` for that job. See [Monitor usage](https://pricepirate.com/docs/en/api/price-data/monitoring-usage.md#usage-headers).

## Not enough credits

If your balance cannot cover the whole job, the request returns `402` and nothing is charged:

```json theme={null}
{
  "error": true,
  "message": "Insufficient credits: 2 available, 3 required. Top up to continue.",
  "credits_available": 2,
  "credits_required": 3,
  "payment_link": null
}
```

Buy credits in the dashboard, or split the job into smaller jobs.

## Credit types and expiry

Your balance can consist of several credit grants:

| Credits | Source | Expiry |
| - | - | - |
| Welcome credits | 100 credits, once per business email, no payment details | 90 days after you claim them |
| Subscription allowance | Your monthly plan, also granted monthly on yearly plans | End of the month, no rollover |
| Pay as you go | One-time purchase without a subscription | Never |
| Top-ups | Additional credits on top of your plan | With the current monthly allowance |

Credits that expire soonest are used first. [`GET /api/v2/account/credits`](https://pricepirate.com/docs/en/api/price-data/monitoring-usage#credits-and-ledger) lists your grants and their expiry dates.

## Buy and manage your plan

Manage your plan in the [dashboard](https://dashboard.pricepirate.com) under **Billing**:

* Choose pay as you go or a monthly allowance, billed monthly or yearly, in EUR or USD.
* Buy additional credits.
* Schedule a plan change for your next renewal.
* Cancel at the end of the current period.
* Click **Manage billing** to update payment methods and download invoices.

Only organization admins can buy credits or manage billing. EUR payments accept card and SEPA; USD payments accept card. Credits are added after the payment succeeds.

You can read your plan with [`GET /api/v2/account/billing`](https://pricepirate.com/docs/en/api/price-data/monitoring-usage#billing). Plan changes stay in the dashboard.

Enterprise accounts with individual terms are billed by contract. For them, `subscription` in `GET /api/v2/account/billing` is `null`. [Book a call](https://pricepirate.com/en/get-started/) about an enterprise connection.

## Report wrong results

If a job returned wrong data, open the job under **Jobs** in the dashboard and click **Report a problem**. Choose a category and describe what is wrong.

The first report on a job refunds that job's remaining charge immediately. Up to five reports per calendar month (UTC) are refunded. Reports beyond that are still recorded.

## Suspended accounts

If your account is suspended, every API endpoint returns `403` with `"Account suspended"`. Your credits are kept. The dashboard stays available for reading your balance, usage, and jobs, but purchases are disabled. [Contact support](https://pricepirate.com/docs/en/guide/help/support.md) to resolve the suspension.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.