Countries and languages a project can track
curl --request GET \
--url https://api.seomator.com/v1/markets \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.seomator.com/v1/markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.seomator.com/v1/markets"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"countries": [
"<string>"
],
"languages": [
"<string>"
]
}Countries and languages a project can track
countries are lowercase ISO 3166-1 alpha-2 codes, languages lowercase ISO 639-1 codes. A project’s country and language must be one of them.
The response carries an ETag. Send it back in If-None-Match to get 304 when the lists did not change.
GET
/
v1
/
markets
Countries and languages a project can track
curl --request GET \
--url https://api.seomator.com/v1/markets \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.seomator.com/v1/markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.seomator.com/v1/markets"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"countries": [
"<string>"
],
"languages": [
"<string>"
]
}