Skip to content

Localeo public API

The public API answers three questions about a Localeo project: what does it contain, what has it published, and where do I download it. With a write token it also takes new strings in and publishes releases.

It is deliberately small. Reading is a handful of GET endpoints. Writing is three: import translations, create a release, and publish it. Reviewing, approving, managing languages and people stays in the Localeo dashboard. This API is what your application, build pipeline, sync job, or AI assistant, talks to.

Read by default

Tokens are read unless you choose write, and a write token can do only what its creator can do in the dashboard.

Scoped to one project

A token belongs to a single project, so requests never carry a project ID.

Works with your AI

A hosted MCP server at https://mcp-dev.localeo.app. Sign in, pick a project, and your assistant can read and import strings.

CDN-backed

Translation bundles are served as static files from the CDN, not through this API.

Base URLs

EnvironmentBase URL
Developmenthttps://api-public-dev.localeo.app/v1

These docs describe the Development environment, and every URL on this site points at it. A project API token is issued against one deployment and authenticates only there.

The MCP server for this environment is at https://mcp-dev.localeo.app.

The shape of an integration

Most integrations follow the same three steps, and only the first two touch this API:

  1. Find the release you want. GET /releases lists published releases newest-first; GET /releases/{release_id} returns one, together with a download URL for each language that release shipped, in each format.
  2. Read the download URLs. They point at the CDN, not at this API.
  3. Fetch the bundle. A plain unauthenticated GET. This is the request you make on every deploy, or on every app start, if you resolve translations at runtime.

Step 3 is the one that runs at scale, and it never touches the API, so rate limits apply to discovery rather than to delivery.

Step 1 is the one you can skip. Webhooks push a message to your server the moment a release is published, so a build or a cache refresh can start on the event instead of waiting for the next time you look.

What this API does not do

  • It does not manage a project. There is no way to create a project, add a language, invite people, or approve a translation through it. Those stay in the dashboard.
  • It never overwrites an approved value. Imports skip existing values by default, and leave approved ones alone even when told to overwrite. See Importing translations.
  • It does not list draft releases. An unpublished release responds 404 on GET, identically to one that does not exist.
  • It does not serve bundles. Release endpoints return metadata and URLs. The compiled files your app loads live on the CDN.