# UApiPro Pricing

UApiPro uses a one-time pre-paid credit model. Credits never expire.

## Free tier

Most common utility endpoints cost **0 credits** and require no API key:

- `GET /api/v1/network/myip` and `GET /api/v1/network/ipinfo`
- `GET /api/v1/misc/worldtime`, `GET /api/v1/misc/lunartime`, `GET /api/v1/misc/timestamp`, `GET /api/v1/misc/randomnumber`
- `GET /api/v1/random/image`, `GET /api/v1/random/string`
- `POST /api/v1/text/base64/encode`, `POST /api/v1/text/base64/decode`
- `GET|POST /api/v1/text/md5`, `POST /api/v1/text/md5/verify`
- `POST /api/v1/text/aes/encrypt`, `POST /api/v1/text/aes/decrypt`
- `GET /api/v1/saying`, `GET /api/v1/history/programmer/today`
- `GET /api/v1/image/bing-daily`, `GET /api/v1/image/qrcode`
- `POST /api/v1/convert/json`, `GET /api/v1/convert/unixtime`
- `GET /api/v1/answerbook/ask`, `POST /api/v1/answerbook/ask`
- `GET /api/v1/web/tomarkdown/async/{task_id}`

## Paid endpoints (per-call credit cost)

| Tier        | Cost per call | Example endpoints |
|-------------|---------------|-------------------|
| Basic       | **1 credit**  | `GET /api/v1/game/epic-free`, `GET /api/v1/game/minecraft/serverstatus`, `GET /api/v1/webparse/metadata`, `GET /api/v1/misc/hotboard` |
| Medium      | **2 credits** | `GET /api/v1/avatar/gravatar`, `GET /api/v1/network/dns`, `GET /api/v1/network/whois`, `GET /api/v1/misc/weather`, `GET /api/v1/misc/phoneinfo`, `GET /api/v1/game/steam/summary`, `GET /api/v1/github/repo`, `GET /api/v1/github/user`, `POST /api/v1/image/compress`, `POST /api/v1/translate/text`, `POST /api/v1/text/markdown-to-pdf` |
| High        | **4 credits** | `POST /api/v1/ai/translate`, `POST /api/v1/translate/stream`, `POST /api/v1/image/ocr`, `POST /api/v1/image/nsfw`, `GET /api/v1/network/icp`, `POST /api/v1/sensitive-word/analyze`, `GET /api/v1/social/qq/userinfo`, `GET /api/v1/social/bilibili/userinfo`, `POST /api/v1/web/tomarkdown/async`, `POST /api/v1/search/aggregate` |
| Specialty   | **40 credits** | `GET /api/v1/misc/tracking/query` |

## Credit packs

| Pack             | Price (CNY) | Credits | Approx. ratio |
|------------------|-------------|---------|---------------|
| Starter (入门包)  | ¥4.9        | 20,000  | ~4,082 credits / ¥1 |
| Standard (标准包) | ¥24.9       | 100,000 | ~4,016 credits / ¥1 |
| Pro (专业包)      | ¥49.9       | 250,000 | ~5,010 credits / ¥1 |

Pack tiers and exact credit values are subject to change; the current authoritative pricing is rendered at https://uapis.cn/pricing. Credits never expire. If there is a payment or usage problem, open a support request at https://uapis.cn/help and we will handle refund requests case by case.

## Limits

Free-tier traffic is bounded by per-IP and per-key rate limits documented at https://uapis.cn/docs/getting-started/fair-use-and-rate-limiting. Buying a pack raises both burst and sustained limits proportional to the pack tier.

Rate-limit state is exposed through these response headers:

- `RateLimit-Policy` — aggregated quota/rate policy entries
- `RateLimit` — aggregated remaining-quota entries
- `X-RateLimit-Limit`, `X-RateLimit-Remaining` — legacy single-value views
- `Retry-After` (set on 429)

## Buying credits

1. Open https://uapis.cn/pricing.
2. Choose the credit pack you want to buy.
3. Sign in if prompted, then pay via the available payment method.
4. Credits are credited to your account after payment succeeds.
