---
title: "Extract Locale From Url"
method: POST
path: "/v1/extract_locale_from_url"
tags: ["utilities"]
---

# Extract Locale From Url

`POST /v1/extract_locale_from_url`

## Request

- Base URL: `https://api.branchly.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.branchly.io/v1/extract_locale_from_url`
- Auth: HTTP bearer

## Request body

- string

## Response `200`

Successful Response

- ExtractedLocale
  - `language` string, required: Language of the extracted text
  - `country` string, nullable, required: Country of the extracted text

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/branchly/apis/branchly-io-api.md) · [All operations](https://skmtc.dev/branchly/apis/branchly-io-api/llms.txt) · [OpenAPI document](https://skmtc.dev/branchly/apis/branchly-io-api/revisions/9ffb024f8ec8?raw)
