Skip to main content
Stringhive Locales

API: Locales

List all locales

GET /api/locales

Returns the full list of locales supported by Stringhive. Requires read ability.

curl https://www.stringhive.com/api/locales \
  -H "Authorization: Bearer YOUR_TOKEN"

Response:

{
  "data": [
    {
      "code": "en",
      "name": "English",
      "region": "US",
      "rtl": false,
      "is_popular": true
    },
    {
      "code": "de",
      "name": "German",
      "region": null,
      "rtl": false,
      "is_popular": true
    },
    {
      "code": "ar",
      "name": "Arabic",
      "region": null,
      "rtl": true,
      "is_popular": true
    }
  ]
}

Use this endpoint to build locale pickers, validate locale codes before making other API calls, or discover which locales are available to add to a Hive.