Localhero.ai API

Localhero.ai API as documented publicly: 1 operations. Contract generated from the documentation by API Evangelist (2026-11-17); not the provider's own document.

GitHub OpenAPI

Operations 1

POST /api/v1/projects/{projectId}/suggest One-off translations via API #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/localhero-ai:localhero-ai-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

localhero-ai-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Localhero.ai API
  version: '2026-11-17'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-17: 1 operation(s) read from 3 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Localhero.ai has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 1
    documentation: 0
    pages-with-code: 3
    pages-read: 3
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-17'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://localhero.ai/docs/translation-api
  - https://localhero.ai/nb/docs/translation-api
  - https://localhero.ai/sv/docs/translation-api
servers:
- url: https://api.localhero.ai
paths:
  /api/v1/projects/{projectId}/suggest:
    post:
      operationId: post_api_v1_projects_projectId_suggest
      tags:
      - Api
      summary: One-off translations via API
      description: 'Beta. Send a piece of text to the Localhero.ai API and get it back translated into the languages you ask for. The translation
        follows your project''s glossary, style guide and tone of voice, the same as the translations in your pull requests. Nothing is saved:
        no key is created and no locale file changes.'
      x-source: https://localhero.ai/docs/translation-api
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1ProjectsProjectidSuggestRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1ProjectsProjectidSuggestResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    PostApiV1ProjectsProjectidSuggestRequest:
      type: object
      properties:
        reference_text:
          type: string
          description: The text to translate. Up to 10,000 characters.
        reference_locale:
          type: string
          description: The language reference_text is written in, such as en. It does not have to be the project's source language.
        target_locales:
          type: string
          description: The languages to translate into, such as ["sv", "de"]. Leave it out to get every language in the project except reference_locale.
      required:
      - reference_text
      - reference_locale
    PostApiV1ProjectsProjectidSuggestResponse:
      type: object
      properties:
        suggestions:
          type: string
          description: One entry per translated language, keyed by locale. Each has content (the translation) and reasoning (a short note on the
            choices made).
        credits_used:
          type: string
          description: Credits charged for this request.
        skipped:
          type: string
          description: Languages left untranslated because the organization had no credits for them.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api