API ReferenceUtilsLanguage
Detect feed language
Detect the primary language and regional variant (BCP 47) from product titles and descriptions. Unbilled. Requires the utils:read scope.
AuthorizationBearer <token>
API key in the Authorization header: Authorization: Bearer ace_live_.... Use an ace_test_... key for the free, rate-capped sandbox.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/utils/language" \ -H "Content-Type: application/json" \ -d '{ "products": [ {} ] }'{ "data": null}{ "error": { "code": "INSUFFICIENT_CREDITS", "message": "Not enough credits for this request.", "details": null }}{ "error": { "code": "INSUFFICIENT_CREDITS", "message": "Not enough credits for this request.", "details": null }}