List of Locations and Languages for AI Optimization LLM Mentions API
DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
List of Locations and Languages for AI Optimization LLM Mentions API
The locations and languages the mentions endpoints accept, as location_code, location_name and available_languages - languages are nested per location rather than listed separately. Reference data, so fetch once and reuse.
- 類型: object200
Successful response
- 類型: numbercost
total tasks cost, USD
- 類型: integerstatus
_code general status code you can find the full list of the response codes here
- 類型: stringstatus
_message general informational message you can find the full list of general informational messages here
- 類型: array string[]tasks
array of tasks
- 類型: integertasks
_count the number of tasks in the tasks array
- 類型: integertasks
_error the number of tasks in the tasks array returned with an error
- 類型: numbertasks
.cost cost of the task, USD
- 類型: objecttasks
.data contains the parameters passed in the URL of the GET request
- 類型: stringtasks
.id task identifier unique task identifier in our system in the UUID format
- 類型: array string[]tasks
.path URL path
- 類型: array string[]tasks
.result array of results
- 類型: integertasks
.result _count number of elements in the result array
- 類型: array string[]tasks
.result .available _languages supported languages contains the languages which are supported for a specific location
- 類型: array string[]tasks
.result .available _languages .available _platforms supported LLM platforms contains the sources of data supported for a specific location and language combination only google and chat_gpt are currently available
- 類型: stringtasks
.result .available _languages .language _code language code according to ISO 639-1
- 類型: stringtasks
.result .available _languages .language _name language name
- 類型: integertasks
.result .available _languages .responses _count number of LLM responses the number of LLM responses available in the database for the certain location and language parameters
- 類型: integertasks
.result .location _code location code
- 類型: stringtasks
.result .location _name full name of the location
- 類型: integertasks
.status _code status code of the task generated by DataForSEO; can be within the following range: 10000-60000 you can find the full list of response codes here
- 類型: stringtasks
.status _message informational message of the task you can find the full list of general informational messages here
- 類型: stringtasks
.time execution time, seconds
- 類型: stringtime
execution time, seconds
- 類型: stringversion
the current version of the API
application/json - 400
Bad request
- 401
Unauthorized
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
Rate limit exceeded
- 500
Internal server error
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl https://openapi.felo.ai/v1/beta/dataforseo/ai_optimization/llm_mentions/locations_and_languages \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"version": "string",
"status_code": 1,
"status_message": "string",
"time": "string",
"cost": 1,
"tasks_count": 1,
"tasks_error": 1,
"tasks": [
"string"
],
"tasks.id": "string",
"tasks.status_code": 1,
"tasks.status_message": "string",
"tasks.time": "string",
"tasks.cost": 1,
"tasks.result_count": 1,
"tasks.path": [
"string"
],
"tasks.data": {},
"tasks.result": [
"string"
],
"tasks.result.location_code": 1,
"tasks.result.location_name": "string",
"tasks.result.available_languages": [
"string"
],
"tasks.result.available_languages.available_platforms": [
"string"
],
"tasks.result.available_languages.language_name": "string",
"tasks.result.available_languages.language_code": "string",
"tasks.result.available_languages.responses_count": 1
}