Appendix API
Marketplaces
The 12 supported Amazon marketplaces with domain, currency and language.
https://api.screamingdata.dev/v1/appendix/marketplaces- Authentication
- Optional
- Cost
- Free
- Body
- No request body
Overview
Returns the supported marketplaces and the codes and aliases accepted in requests. See also Marketplaces.
An API key is optional. Requests that send one are metered and rate-limited like any other call.
Cost
Request
GET /v1/appendix/marketplaces.
This endpoint takes no parameters.
Request example
An API key is optional for this endpoint, so the examples omit it. Requests that send one are metered like any other call.
curl --request GET \
--url "https://api.screamingdata.dev/ v1/ appendix/ marketplaces"import requests
response = requests.get(
"https://api.screamingdata.dev/ v1/ appendix/ marketplaces",
timeout=30,
)
data = response.json()
print(data["status_code"], data["status_message"], "cost:", data["cost"])
for task in data["tasks"]:
print(task["id"], task["status_code"], task["status_message"])const response = await fetch("https://api.screamingdata.dev/ v1/ appendix/ marketplaces");
const data = await response.json();
console.log(data.status_code, data.status_message, "cost:", data.cost);
for (const task of data.tasks) {
console.log(task.id, task.status_code, task.status_message);
}Response
HTTP 200. The body is the standard response envelope; check status_code at the top level and in every task.
{
"version": "1.0.0",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.0071 sec.",
"cost": 0,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "09241252-5d3a-4f7c-8e2b-9a1c6f4e0d73",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.0008 sec.",
"cost": 0,
"result_count": 12,
"path": [
"v1",
"appendix",
"marketplaces"
],
"data": {
"api": "appendix",
"function": "marketplaces"
},
"result": [
{
"code": "com",
"domain": "amazon.com",
"name": "United States",
"country_code": "US",
"currency": "USD",
"language": "en",
"language_name": "English",
"aliases": [
"us",
"usa"
]
},
{
"code": "uk",
"domain": "amazon.co.uk",
"name": "United Kingdom",
"country_code": "GB",
"currency": "GBP",
"language": "en",
"language_name": "English",
"aliases": [
"gb"
]
},
{
"code": "de",
"domain": "amazon.de",
"name": "Germany",
"country_code": "DE",
"currency": "EUR",
"language": "de",
"language_name": "German",
"aliases": []
},
{
"code": "fr",
"domain": "amazon.fr",
"name": "France",
"country_code": "FR",
"currency": "EUR",
"language": "fr",
"language_name": "French",
"aliases": []
},
{
"code": "es",
"domain": "amazon.es",
"name": "Spain",
"country_code": "ES",
"currency": "EUR",
"language": "es",
"language_name": "Spanish",
"aliases": []
},
{
"code": "it",
"domain": "amazon.it",
"name": "Italy",
"country_code": "IT",
"currency": "EUR",
"language": "it",
"language_name": "Italian",
"aliases": []
},
{
"code": "nl",
"domain": "amazon.nl",
"name": "Netherlands",
"country_code": "NL",
"currency": "EUR",
"language": "nl",
"language_name": "Dutch",
"aliases": []
},
{
"code": "ca",
"domain": "amazon.ca",
"name": "Canada",
"country_code": "CA",
"currency": "CAD",
"language": "en",
"language_name": "English",
"aliases": []
},
{
"code": "au",
"domain": "amazon.com.au",
"name": "Australia",
"country_code": "AU",
"currency": "AUD",
"language": "en",
"language_name": "English",
"aliases": []
},
{
"code": "jp",
"domain": "amazon.co.jp",
"name": "Japan",
"country_code": "JP",
"currency": "JPY",
"language": "ja",
"language_name": "Japanese",
"aliases": []
},
{
"code": "mx",
"domain": "amazon.com.mx",
"name": "Mexico",
"country_code": "MX",
"currency": "MXN",
"language": "es",
"language_name": "Spanish",
"aliases": []
},
{
"code": "in",
"domain": "amazon.in",
"name": "India",
"country_code": "IN",
"currency": "INR",
"language": "en",
"language_name": "English",
"aliases": []
}
]
}
]
}Result fields
Each element of tasks[].result is a marketplace object. A supported Amazon marketplace.
codeCode used in requests.
domainAmazon domain.
nameCountry name.
country_codeISO 3166-1 alpha-2 country code.
currencyISO 4217 currency of prices on this marketplace.
languageISO 639-1 code of the main storefront language.
language_nameName of that language.
aliasesOther codes accepted on input.
Status codes
Codes this endpoint can return, at the request or task level. See Status codes for handling advice.
| Code | Message | HTTP | Level | When |
|---|---|---|---|---|
| 20000 | Ok. | 200 | Request / task | The request, or the individual task, was processed successfully. |
| 40100 | Authentication failed. | 401 | Request | The Authorization header is missing or malformed, or the login and API key do not match. |
| 40101 | API key revoked. | 401 | Request | The API key was revoked. Use another active key or create a new one. |
| 40102 | Account disabled. | 401 | Request | The account is disabled. Contact support. |
| 40202 | Rate limit exceeded. | 429 | Request | Too many requests or tasks per minute for this account, or too many access requests from one IP address. The Retry-After header says how many seconds to wait. |
| 50000 | Internal error. | 500 | Request | Unexpected server error. The request can be retried; contact support if it persists. |