Aghanim Locales API

The Locales API from Aghanim — 2 operation(s) for locales.

Operations 5

GET /v1/locales Get Locales #
POST /v1/locales Create Locale #
GET /v1/locales/{locale_id} Get Locale #
PUT /v1/locales/{locale_id} Update Locale #
DELETE /v1/locales/{locale_id} Delete Locale #

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/aghanim-locales-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

aghanim-locales-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Aghanim Server-to-Server Locales API
  description: The Aghanim Server-to-Server API is designed for **backend server integrations only**.
  contact:
    name: Aghanim
    email: integration@aghanim.com
  version: 2026.07.14
servers:
- url: https://api.aghanim.com/s2s
  description: Production
tags:
- name: Locales
paths:
  /v1/locales:
    get:
      tags:
      - Locales
      summary: Get Locales
      description: Returns a list of locales.
      operationId: get_locales
      security:
      - HTTPBearer: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          title: Limit
          description: A limit on the number of objects to be returned
          default: 10
          type: integer
        description: A limit on the number of objects to be returned
      - name: offset
        in: query
        required: false
        schema:
          title: Offset
          description: The number of objects to skip
          type: integer
        description: The number of objects to skip
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LocaleRead'
                title: Response Get Locales
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Locales
      summary: Create Locale
      description: Creates a new locale.
      operationId: create_locale
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LocaleCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocaleRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/locales/{locale_id}:
    get:
      tags:
      - Locales
      summary: Get Locale
      description: Returns a single locale.
      operationId: get_locale
      security:
      - HTTPBearer: []
      parameters:
      - name: locale_id
        in: path
        required: true
        schema:
          title: Locale Id
          type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocaleRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Locales
      summary: Update Locale
      description: Updates a locale.
      operationId: update_locale
      security:
      - HTTPBearer: []
      parameters:
      - name: locale_id
        in: path
        required: true
        schema:
          title: Locale Id
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LocaleUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocaleRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Locales
      summary: Delete Locale
      description: Deletes a locale.
      operationId: delete_locale
      security:
      - HTTPBearer: []
      parameters:
      - name: locale_id
        in: path
        required: true
        schema:
          title: Locale Id
          type: string
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    LocaleRead:
      properties:
        locale:
          $ref: '#/components/schemas/Locale'
        published_at:
          title: Published At
          type: integer
        id:
          type: string
          maxLength: 32
          title: Id
        stats:
          $ref: '#/components/schemas/LocaleStats'
        status:
          $ref: '#/components/schemas/LocaleStatus'
        modified_at:
          title: Modified At
          type: integer
      type: object
      required:
      - locale
      - id
      - stats
      - status
      title: LocaleRead
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    LocaleStatus:
      type: string
      enum:
      - clean
      - translating
      - synchronization
      - fuzzy
      title: LocaleStatus
    Locale:
      type: string
      enum:
      - cs
      - de
      - en
      - es
      - fr
      - fr-CA
      - hi
      - id
      - it
      - ja
      - ko
      - ms
      - nl
      - 'no'
      - pl
      - pt
      - pt-BR
      - ru
      - sv
      - th
      - tr
      - uk
      - vi
      - zh
      - zh-Hant
      title: Locale
      description: Language codes according to ISO 639-1.
    LocaleStats:
      properties:
        total:
          type: integer
          title: Total
          default: 0
        done:
          type: integer
          title: Done
          default: 0
      type: object
      title: LocaleStats
    LocaleCreate:
      properties:
        locale:
          $ref: '#/components/schemas/Locale'
        published_at:
          title: Published At
          type: integer
      type: object
      required:
      - locale
      title: LocaleCreate
    LocaleUpdate:
      properties: {}
      type: object
      title: LocaleUpdate
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
      description: Refer to the [Authentication](https://docs.aghanim.com/api-reference/) section for instructions on obtaining an API key and use it as the `Bearer` token.