List supported regions
GET
/regions
const url = 'https://api.seo-checker.com.ua/v1/regions';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.seo-checker.com.ua/v1/regions \ --header 'Authorization: Bearer <token>'The regions accepted in the region field of a task request.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Supported regions.
Media typeapplication/json
object
regions
Array<object>
object
code
string
name
string
google_domain
string
country
string
language
string
Examples
Exampledefault
{ "regions": [ { "code": "us", "name": "United States", "google_domain": "google.com", "country": "US", "language": "en" }, { "code": "ua", "name": "Ukraine", "google_domain": "google.com.ua", "country": "UA", "language": "uk" } ]}Missing or invalid API key.
Media typeapplication/json
object
error
object
code
Stable machine-readable code
string
message
string
task_id
string | null format: uuid
Examples
{ "error": { "code": "apikeys.missing", "message": "API key required" }}{ "error": { "code": "apikeys.invalid", "message": "API key is invalid or revoked" }}