# Credits & Billing

> Pay-as-you-go credits, charged only on success

Source: https://platform.snapany.com/docs/credits

SnapAny API uses prepaid credits. **You are only charged for successful calls** — failed extractions and failed transcriptions cost nothing. **Credits never expire** — no validity period, your balance stays available for as long as you need.

## Pricing

| API                    | Cost                                         |
| ---------------------- | -------------------------------------------- |
| Extract post           | 1 credit / call                              |
| Extract playlist       | 2 credits / page                             |
| Extract subtitles      | 1 credit / call                              |
| YouTube proxy download | 4 credits / 10 minutes of video (rounded up) |
| Transcription          | 4 credits / minute (rounded up)              |

Transcription credits are **reserved at submission** (duration is known upfront) and **refunded automatically** if the job fails.

YouTube proxy download is charged **after extraction, by video length**: 4 credits per 10 minutes of video (rounded up) when the response has video proxy URLs, 4 credits when it only has audio proxy URLs, and 1 credit when it has none. See [YouTube Proxy Download](https://platform.snapany.com/docs/youtube-proxy-download).

## Credit packs

| Pack              | Price |
| ----------------- | ----- |
| 9,000 credits     | $9.9  |
| 50,000 credits    | $49   |
| 230,000 credits   | $199  |
| 650,000 credits   | $499  |
| 1,500,000 credits | $999  |

Credits **never expire**. Pay with card (Stripe), WeChat Pay, Alipay or crypto in the [Console](https://platform.snapany.com/console).

## Running out of credits

- Requests fail with HTTP `402` (code `insufficient_credits`) when your balance is too low.
- YouTube proxy download needs at least 4 credits to start; the final cost depends on the video's length and is charged after extraction.
- Balance warning emails are sent when your balance drops below 10,000 / 5,000 / 1,000 / 500 / 0.
- Enable **auto top-up** in the [Console](https://platform.snapany.com/console): when your balance falls below your threshold, your saved card is charged automatically.
- For custom monitoring, poll [`GET /credits/balance`](https://platform.snapany.com/docs/api#GET/credits/balance) from your own systems — the endpoint is free of charge.
