Integrate Antinium into your workflow with our REST API
The Antinium API allows you to programmatically create, translate, and manage documents. Use it to integrate Antinium into your existing workflows, automate translations, and build custom applications.
Note: API access is available on Pro, Ultra, Team, and Business plans. Free and Plus plans have limited API access.
All API requests should be made to:
https://api.antinium.dev/v1All endpoints use HTTPS and require authentication.
All API requests use JSON format:
Content-Type: application/json Authorization: Bearer YOUR_API_KEY
All API responses are in JSON format. Successful responses return a 200 status code:
{
"success": true,
"data": {
// Response data
}
}Error responses return appropriate HTTP status codes (400, 401, 404, 500, etc.) with error details:
{
"success": false,
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message"
}
}API rate limits depend on your plan:
Rate limit information is included in response headers:
X-RateLimit-Limit: 1000 X-RateLimit-Remaining: 999 X-RateLimit-Reset: 1640995200
Security: Keep your API keys secret. Never commit them to version control or share them publicly.
Here's a simple example using cURL to translate text:
curl -X POST https://api.antinium.dev/v1/translate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Hello, world!",
"source_language": "en",
"target_language": "es"
}'While you can use the API directly with any HTTP client, we provide SDKs for popular languages:
npm install @antinium/sdkpip install antinium-sdkgem install antinium-sdkgo get github.com/antinium/sdk-goMore SDKs are coming soon. Check our GitHub for updates.