Overview
The Precital API uses a credit-based billing model. Each API operation consumes a certain number of credits from your workspace’s balance.Credit Costs
| Operation | Credits |
|---|---|
| Audio Analysis | 1 credit |
| Lyric Analysis | 1 credit |
| Press Release Generation | 2 credits |
| Credit Balance Check | 0 credits (free) |
Workspace Credits
Credits are workspace-scoped - each workspace has its own credit balance.
- All API operations performed with an API key use credits from the associated workspace
- Credits are deducted immediately when an operation completes successfully
- Failed operations do not consume credits
Checking Your Balance
Use the/v1/credits endpoint to check your current credit balance:
- Current credit balance
- Estimated remaining operations for each endpoint type
Insufficient Credits
If your workspace doesn’t have enough credits for an operation, the API will return a402 Payment Required or 400 Bad Request response:
Purchasing Credits
To purchase credits:- Log in to your Precital account
- Navigate to the credits purchase page
- Select the amount of credits you want to purchase
- Complete the payment
Best Practices
- Monitor your credit balance regularly
- Set up alerts for low credit balances
- Purchase credits proactively to avoid service interruptions
- Use the
/v1/creditsendpoint to estimate remaining operations

