DEVELOPER RESOURCES
API DOCUMENTATION
Integrate TranslateWise into your applications with our simple REST API. Get started in minutes with our comprehensive documentation.
SIMPLE INTEGRATION
RESTful API with clear documentation. Get up and running in minutes.
SECURE & RELIABLE
Enterprise-grade security with 99.9% uptime SLA guarantee.
FAST RESPONSE
Low latency API with response times under 100ms for AI translations.
GETTING STARTED
BASE URL
https://api.translatewise.me/v1AUTHENTICATION
Authorization: Bearer YOUR_API_KEYAPI ENDPOINTS
| Method | Endpoint | Description |
|---|---|---|
POST | /api/v1/translate | Translate text with AI or human review |
GET | /api/v1/translations/{id} | Get translation status and result |
GET | /api/v1/credits/balance | Check your credit balance |
POST | /api/v1/credits/purchase | Purchase additional credits |
GET | /api/v1/languages | Get supported languages |
CODE EXAMPLES
curl -X POST https://api.translatewise.me/v1/translate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Hello world",
"source_language": "en",
"target_language": "es",
"service_type": "ai_only"
}'RESPONSE FORMAT
SUCCESS RESPONSE
{
"id": "trans_abc123",
"status": "completed",
"translation": "Hola mundo",
"source_language": "en",
"target_language": "es",
"word_count": 2,
"credits_used": 2,
"service_type": "ai_only",
"created_at": "2024-01-15T10:30:00Z",
"completed_at": "2024-01-15T10:30:01Z"
}ERROR RESPONSE
{
"error": {
"code": "insufficient_credits",
"message": "Not enough credits for this translation",
"details": {
"required": 100,
"available": 50
}
}
}