FluentC API documentation
Translate text, HTML and JSON from agents and workflows. Use the REST API, the MCP server, LangChain tools or the n8n node, in real-time or batch mode, with translation memory and a glossary included.
FluentC is a translation API built for agents and automations: software that calls translation thousands of times an hour, in the middle of a workflow, and needs the answer before a user notices. You send text, HTML or JSON and a target language. You get the translation back. Content you have translated before comes from translation memory instead of being translated again, and your own terms come from your glossary, which you manage in the dashboard along with every translation.
Ways to integrate
Every integration uses the same engine, the same API key and the same plan.
| Integration | Use it when | Documentation |
|---|---|---|
| REST API | You are writing code, or calling from any HTTP client | Translate |
| MCP server | An AI agent or MCP client should translate on its own | MCP server |
| LangChain tools | You are building LangChain agents or chains in Python | LangChain |
| n8n node | You are building workflows in n8n | n8n |
| Make and Zapier | You are using HTTP steps in a no-code tool | Make and Zapier |
| Function calling | You want a model to call FluentC as a tool | Function calling |
Not sure which to pick? See Choose an integration.
The basics
- Base URL:
https://api.fluentc.ai - Authentication: send your API key in the
Authorizationheader exactly as the dashboard shows it. Do not addBearer. See Authentication. - Format: JSON requests and responses, UTF-8. Send
Content-Type: application/json. - Modes:
real-timereturns the translation in the response.batchreturns ajob_idthat you poll. See Concepts. - Consistency: the same text and target language always return the same stored translation, whichever agent or model asks. See Consistency across agents.
- Glossary and editing: add your own terms to the glossary, and search and edit every translation, in the dashboard. See Glossary and translation memory.
- Languages: 128+ languages, addressed by lowercase two- or three-letter codes such as
es,frandja. The languages you can use are enabled per API key. - API key: create one in the dashboard.
Your first request
curl https://api.fluentc.ai/ai_agent/translate \
-H "Authorization: $FLUENTC_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": "Your order has shipped.",
"input_format": "text",
"target_language": "es",
"mode": "real-time"
}'
{
"status": "complete",
"translation": "Tu pedido ha sido enviado.",
"token_count": 9,
"source_language_detected": "en"
}
The Quickstart walks through this step by step, including batch mode.
Reference
- Translate:
POST /ai_agent/translate - Batch results:
POST /ai_agent/results - Detect language:
POST /ai_agent/checklanguage - Languages:
GET /ai_agent/languages - Errors: status codes and every error message
- OpenAPI specification
For AI tools and agents
These docs are written to be read by software as well as people.
- Markdown for every page. Replace the trailing slash of any docs URL with
.md:https://www.fluentc.ai/docs/api/translate.md. The docs home ishttps://www.fluentc.ai/docs/index.md. - llms.txt is an index of every page with a one-line description. llms-full.txt is the whole documentation in one file.
- OpenAPI specification describes the REST API in a machine-readable form.
- Conventions. Examples run as written once
FLUENTC_KEYis set. Placeholders are written in capitals, such asYOUR_FLUENTC_KEY. Error messages are quoted exactly as the API returns them, so you can match on them.
Something unclear, or missing? Tell us.