The Flixu API enables you to translate text, documents, and localization files programmatically. All endpoints are accessible at:
https://api.flixu.ai/v1
Authentication
All requests require authentication via the Authorization header. Learn more
Authorization: Bearer flx_your_api_key
Response format
Every successful response wraps the result in a { data, meta } envelope:
{
"data": { ... },
"meta": {
"request_id": "550e8400-e29b-...",
"credits_used": 85,
"processing_time_ms": 1240
}
}
Errors follow a consistent { error } format. See error codes
Endpoints
Translation
| Method | Path | Description |
|---|---|---|
POST | /v1/translate | Translate a single text string |
POST | /v1/translate/batch | Batch translate keyed strings across languages |
POST | /v1/translate/document | Translate a document file (16 formats) |
GET | /v1/translate/:job_id | Poll async job status |
POST | /v1/analyze/headless | Analyze text before translation |
Reference
| Method | Path | Description |
|---|---|---|
GET | /v1/languages | List 147 supported languages |
GET | /v1/formats | List 16 supported file formats |
Usage & Billing
| Method | Path | Description |
|---|---|---|
GET | /v1/quota | Credits, rate limits, and plan limits |
GET | /v1/usage | Usage history by date range and language |
Account
| Method | Path | Description |
|---|---|---|
GET | /v1/me | Verify credentials and get identity |
Rate limiting
Requests are rate-limited based on your plan. Every response includes rate limit headers. Learn more
X-RateLimit-Limit: 300
X-RateLimit-Remaining: 299
X-RateLimit-Reset: 42
Interactive explorer
Visit the Swagger UI for an interactive API explorer with all schemas and try-it-out functionality.