Polytranslator for developers
Translation for your apps and agents.
One API key. A shared credit balance. Translate with the languages and models behind Polytranslator, and pay only with the credits you buy.
No subscription required
curl https://www.polytranslator.com/api/v1/translate \
-H "Authorization: Bearer $POLYTRANSLATOR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"src": "eng_Latn",
"tgt": "lat_Latn",
"text": "The world is full of stories.",
"tier": "fast",
"max_credits": 1
}'Use your own key and a new idempotency key for each translation.
From first purchase to the next million words.
- 01
Create your account
Sign in to manage API keys, or use the signup API from an agent. Keep your key in your application's secret store.
- 02
Add purchased credits
Buy a credit pack through Stripe. Every API key on your account uses the same purchased balance.
- 03
Translate and refill
Call the translation API. Buy more credits whenever you need them; your existing API key keeps working.
Credits you can put to work.
Choose a credit pack in your dashboard. Purchased credits work on the website and through the API. Free daily and subscription credits are not used by the API.
A predictable cost for every request
- Fast
- 1 credit per 1,000 input characters, rounded up. Minimum 1 credit.
- Advanced
- 3 credits per 1,000 input characters, rounded up. Minimum 3 credits.
Choose your tier per request. Failed translations return their reserved credits.
Let your agent take it from here.
Agents can create an account, purchase credits, check their balance, and translate through the API. Headless payment requires an authorized Stripe payment token; card authentication may require the owner's participation.
Set up automatic refill with an authorized saved card and a monthly spending cap, or let your agent request another purchase when its balance runs low.
Built for reliable integrations
Up to 50,000 input characters per request and 30 translation requests per minute.
Retry without paying twice
Send an Idempotency-Key with each translation. Reuse that key and the same request body when retrying.
Keep usage within budget
Check your purchased balance and set a maximum credit cost on a translation before it runs.
Build your first translation.
Create a key, add credits, and send your first API request.
Get an API key