Skip to main content
Rezolve Ai
API ReferenceUtilsLanguage

Detect feed language

POST
/utils/language

Detect the primary language and regional variant (BCP 47) from product titles and descriptions. Unbilled. Requires the utils:read scope.

Authorization

headerAuthorizationBearer <API key>

API key in the Authorization header: Authorization: Bearer ace_live_.... Use an ace_test_... key for the free, rate-capped sandbox.

Request Body

application/json
  1. body
products*array<>

Response Body

Detected language

application/json
  1. response
data*unknown
Example Request
curl -X POST 'https://example.com/api/v1/utils/language' \  -H 'Content-Type: application/json' \  -d '{  "products": [    {}  ]}'
Example Response
{  "data": null}