QiWuXia
Now in private beta · developers wanted

AI Capabilities & Open API
for Developers & Enterprises

Register an app to get a dedicated API key and call platform capabilities with unified points. Pay per call, use idempotent charging, and check your balance in real time — integrating powerful capabilities is as simple as one HTTP request.

1 CNY= 100 points
1 point= 1 API call
HTTPRESTful / JSON
Platform

One account, unified points

Users and developers share one account system; points work both as a rechargeable balance and directly as the billing unit for API calls.

🔑

Apps & API keys

Every app gets a dedicated API key, and your programs authenticate via X-API-Key. If a key is ever compromised, reset it with one click and the old key is revoked immediately.

💠

Unified point wallet

There is a single point wallet across the platform with a real-time balance. Once points are credited, you can spend them on calls without switching between multiple quotas.

⚡

Idempotent per-call charging

Points are deducted atomically on every call. Repeating a request with the same request_id never charges twice; if the balance is insufficient the API returns code 402 for graceful fallback.

API

Open endpoints

Both endpoints below are live now. Call them from your programs with your app's API key.

GET /api/v1/open/quota Query the point balance of the current app
# Query point balance
curl -X GET "https://trade.pianam.cn/api/v1/open/quota" \
  -H "X-API-Key: YOUR_APP_KEY"
POST /api/v1/open/quota/consume Deduct points (idempotent)
# Deduct points; repeating with the same request_id never charges twice
curl -X POST "https://trade.pianam.cn/api/v1/open/quota/consume" \
  -H "X-API-Key: YOUR_APP_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amount": 1, "request_id": "UNIQUE_REQUEST_ID"}'
Quick Start

Start in three steps

From sign-up to your first request — everything happens in the developer console.

Sign up and create an app

Register in the console and create an app. A dedicated API key is generated for that app automatically.

Get points

Choose a point pack under “Buy points”, or top up with a redeem code. Points are credited to your balance instantly.

Make a request

Call the open endpoints with X-API-Key in your program, or verify online first with the console's API tester.

Pricing

Simple, transparent pricing

No complicated plans — you only pay for the calls you make.

100points
1000points
5000points
10000points

1 CNY = 100 points, 1 point = 1 API call (0.01 CNY per call).
Points can only be consumed within the platform; they are not withdrawable as cash and not transferable between users. See the console for details.

Ready to integrate?

During the private beta, contact us for trial points and one-on-one integration support.

Open the developer console