Skip to main content
Most Astra API endpoints return localized text fields such as displayName and description. By default, these fields are returned in English (US). You can request a different locale by adding a language query parameter to any supported endpoint, making it straightforward to build apps for audiences around the world.

Using the language parameter

Append ?language=<locale> to any supported endpoint. For example, to fetch agent data in Japanese:

Supported locales

Fetching all locales at once

Pass ?language=all to receive data for every supported locale in a single response. When you use this option, string fields like displayName and description are returned as objects keyed by locale code instead of plain strings.
Example response with ?language=all:
When the language parameter is omitted, the API returns en-US by default.

Localization string tables

Raw locale string data for all in-game text is available via the /v1/locres endpoint. This is useful if you need low-level access to the game’s full localization tables rather than per-asset translations. See the locres API reference for details.