Documentation menu

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.

View as Markdown

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.

IntegrationUse it whenDocumentation
REST APIYou are writing code, or calling from any HTTP clientTranslate
MCP serverAn AI agent or MCP client should translate on its ownMCP server
LangChain toolsYou are building LangChain agents or chains in PythonLangChain
n8n nodeYou are building workflows in n8nn8n
Make and ZapierYou are using HTTP steps in a no-code toolMake and Zapier
Function callingYou want a model to call FluentC as a toolFunction 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 Authorization header exactly as the dashboard shows it. Do not add Bearer. See Authentication.
  • Format: JSON requests and responses, UTF-8. Send Content-Type: application/json.
  • Modes: real-time returns the translation in the response. batch returns a job_id that 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, fr and ja. The languages you can use are enabled per API key.
  • API key: create one in the dashboard.

Your first request

bash
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"
  }'
json
{
  "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

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 is https://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_KEY is set. Placeholders are written in capitals, such as YOUR_FLUENTC_KEY. Error messages are quoted exactly as the API returns them, so you can match on them.

Something unclear, or missing? Tell us.