Keyword Conversion
Use the Keyword Conversion API for Amazon keyword research. Review request parameters, response fields, and runnable examples.
/v1 /amazon /keyword /conversionAPI data samples
Inspect the request body and complete response shape used by this endpoint.
{
"marketplace": "US",
"keyword": "lunch box",
"timeType": "WEEK",
"minSearches": 100,
"maxSearches": 100000,
"page": 1,
"size": 20
}{
"request_id": "8fb43e59-4ff9-4dc8-a4b7-2ed164e45ab8",
"data": {
"guestId": null,
"page": 1,
"size": 5,
"url": null,
"order": {
"field": "",
"desc": true
},
"items": [
{
"keyword": "yoga mat",
"searches": 239819,
"clicks": 72444,
"purchases": 6284,
"searchConvRate": 0.0262,
"clickConvRate": 0.0867,
"phrasePpc": {
"value": 1.03
},
"exactPpc": {
"value": 0.9
},
"broadPpc": {
"value": 1.04
},
"phraseCpa": {
"value": 11.88
},
"exactCpa": {
"value": 10.3806
},
"broadCpa": {
"value": 11.9954
},
"avgProductPrice": {
"value": 45.99
},
"phraseBudget": {
"value": 18.54
},
"exactBudget": {
"value": 16.2
},
"broadBudget": {
"value": 18.72
},
"phraseAcos": {
"value": 0.2583
},
"exactAcos": {
"value": 0.2257
},
"broadAcos": {
"value": 0.2608
},
"clickingRate": 0.1756,
"conversionRate": 0.1016,
"phraseCount": 2
},
{
"keyword": "yoga mat thick",
"searches": 18831,
"clicks": 7304,
"purchases": 541,
"searchConvRate": 0.0287,
"clickConvRate": 0.0741,
"phrasePpc": {
"value": 0.91
},
"exactPpc": {
"value": 0.81
},
"broadPpc": {
"value": 1.06
},
"phraseCpa": {
"value": 12.2807
},
"exactCpa": {
"value": 10.9312
},
"broadCpa": {
"value": 14.305
},
"avgProductPrice": {
"value": 30.95
},
"phraseBudget": {
"value": 19.11
},
"exactBudget": {
"value": 17.01
},
"broadBudget": {
"value": 22.26
},
"phraseAcos": {
"value": 0.3968
},
"exactAcos": {
"value": 0.3532
},
"broadAcos": {
"value": 0.4622
},
"clickingRate": 0.2531,
"conversionRate": 0.1058,
"phraseCount": 3
}
],
"terminal": null,
"hasNextPage": true,
"guestVisited": false
}
}Availability: Available
This endpoint is active in the v1 gateway, OpenAPI, and subscription catalog. A successful call consumes 1 billing unit.
POST /v1/amazon/keyword/conversion
The request and response fields below match the current public contract.
MCP
| Item | Value |
|---|---|
| MCP Code | amazon_keyword_conversion |
Quick call
First create an API key, then store it in a server-side environment variable:
export ECOMMERCE_DATA_API_KEY="your_api_key"curl --request POST \
--url https://ecommercedataapi.com/v1/amazon/keyword/conversion \
--header "Content-Type: application/json" \
--header "X-API-Key: ${ECOMMERCE_DATA_API_KEY}" \
--data '{
"marketplace": "US",
"keyword": "lunch box",
"timeType": "WEEK",
"minSearches": 100,
"maxSearches": 100000,
"page": 1,
"size": 20
}'Integrate with an AI CLI
Copy for your AI CLI
Paste this task into Codex, Claude Code, Gemini CLI, or another coding agent.
Integrate the "Keyword Conversion" endpoint from Ecommerce Data API into the current repository. Make the changes directly instead of only returning sample code.
API documentation: https://ecommercedataapi.com/en/docs/amazon/keyword/conversion
Endpoint: POST https://ecommercedataapi.com/v1/amazon/keyword/conversion
API key environment variable: ECOMMERCE_DATA_API_KEY
Example request:
{
"marketplace": "US",
"keyword": "lunch box",
"timeType": "WEEK",
"minSearches": 100,
"maxSearches": 100000,
"page": 1,
"size": 20
}
Requirements:
1. Read the API documentation first, then inspect the repository's language, framework, HTTP client, directory structure, and environment-variable conventions.
2. Reuse the existing API client and error-handling patterns. If none exist, add the smallest reusable Ecommerce Data API client and an endpoint-specific wrapper.
3. Read the key from the server-side ECOMMERCE_DATA_API_KEY environment variable and send Content-Type: application/json plus the X-API-Key header. Never write a real key into source code, browser code, logs, test snapshots, or Git.
4. If the environment variable is missing, tell me to configure ECOMMERCE_DATA_API_KEY myself. Do not request, print, or invent the real key, and continue implementing code and tests that do not require a live request.
5. Implement request and response types from the documentation. Handle non-2xx responses, request_id, error.code, error.message, and 429 rate limits.
6. Add a minimal usage example or test that follows the repository's conventions. Run one minimal live request only when the key is already configured and external requests are allowed; otherwise use mocks or static validation.
7. Run the relevant formatter, type checker, and tests. Report changed files, usage, verification results, and any environment variable I still need to configure.Open this request in Postman
Download the preconfigured collection for this endpoint, then import it into Postman.
Node.js example
const response = await fetch(
'https://ecommercedataapi.com/v1/amazon/keyword/conversion',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': process.env.ECOMMERCE_DATA_API_KEY,
},
body: JSON.stringify({
marketplace: 'US',
keyword: 'lunch box',
timeType: 'WEEK',
minSearches: 100,
maxSearches: 100000,
page: 1,
size: 20,
}),
}
);
const result = await response.json();
if (!response.ok) {
throw new Error(`${result.error?.code}: ${result.error?.message}`);
}
console.log(result.data);Python example
import os
import requests
response = requests.post(
"https://ecommercedataapi.com/v1/amazon/keyword/conversion",
headers={
"Content-Type": "application/json",
"X-API-Key": os.environ["ECOMMERCE_DATA_API_KEY"],
},
json={
"marketplace": "US",
"keyword": "lunch box",
"timeType": "WEEK",
"minSearches": 100,
"maxSearches": 100000,
"page": 1,
"size": 20,
},
timeout=30,
)
response.raise_for_status()
print(response.json()["data"])Request body
Send the fields below directly in the JSON body without an extra wrapper. Undefined fields are rejected.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
marketplace | String | Yes | Amazon marketplace code. Supported values are listed in the schema. Available values (Table 1.2): US, JP, UK, DE, FR, IT, ES, CA, IN, MX, BR, AU, AE | US |
keyword | String | Yes | Keyword used by the query. | wireless charger |
timeType | String | No | Time window: WEEK or 90D. Defaults to WEEK when omitted for compatibility. | WEEK |
minSearches | Integer | No | Min searches. Minimum value. | 1 |
maxSearches | Integer | No | Max searches. Maximum value. | 1 |
minClicks | Integer | No | Min clicks. Minimum value. | 1 |
maxClicks | Integer | No | Max clicks. Maximum value. | 1 |
minPurchases | Integer | No | Min purchases. Minimum value. | 1 |
maxPurchases | Integer | No | Max purchases. Maximum value. | 1 |
minSearchConvRate | Number | No | Min search conv rate. Minimum value. Percentage or ratio value as documented. | 1 |
maxSearchConvRate | Number | No | Max search conv rate. Maximum value. Percentage or ratio value as documented. | 1 |
minClickConvRate | Number | No | Min click conv rate. Minimum value. Percentage or ratio value as documented. | 1 |
maxClickConvRate | Number | No | Max click conv rate. Maximum value. Percentage or ratio value as documented. | 1 |
minPpc | Number | No | Min PPC. Minimum value. | 1 |
maxPpc | Number | No | Max PPC. Maximum value. | 1 |
minCpa | Number | No | Min cpa. Minimum value. | 1 |
maxCpa | Number | No | Max cpa. Maximum value. | 1 |
minProductPrice | Number | No | Min product price. Minimum value. | 1 |
maxProductPrice | Number | No | Max product price. Maximum value. | 1 |
minAcos | Number | No | Min acos. Minimum value. | 1 |
maxAcos | Number | No | Max acos. Maximum value. | 1 |
minClickingRate | Number | No | Min clicking rate. Minimum value. Percentage or ratio value as documented. | 1 |
maxClickingRate | Number | No | Max clicking rate. Maximum value. Percentage or ratio value as documented. | 1 |
minConversionRate | Number | No | Min conversion rate. Minimum value. Percentage or ratio value as documented. | 1 |
maxConversionRate | Number | No | Max conversion rate. Maximum value. Percentage or ratio value as documented. | 1 |
minPhraseCount | Integer | No | Min phrase count. Minimum value. | 1 |
maxPhraseCount | Integer | No | Max phrase count. Maximum value. | 1 |
minBudget | Number | No | Min budget. Minimum value. | 1 |
maxBudget | Number | No | Max budget. Maximum value. | 1 |
matchType | Integer | No | Match type. | 1 |
includeKeywords | Array | No | Include keywords. | ["phone stand"] |
excludeKeywords | Array | No | Exclude keywords. | ["portable"] |
customAvgProductPrice | Number | No | Custom avg product price. | 1 |
returnFields | String | No | Optional comma-separated response fields. Omit to receive the standard payload. | asin,title |
page | Integer | No | Page number starting at 1. | 1 |
size | Integer | No | Number of results per page; must be a positive integer. | 20 |
Response structure
| Field | Type | Description |
|---|---|---|
request_id | String | Unique identifier for this request. |
data | Object | Endpoint business data. |
The fields below are inside data. For array endpoints they describe one array item; for paginated endpoints they describe one record in items[].
Response fields
| Field | Type | Description | Example |
|---|---|---|---|
keyword | String | Keyword. | - |
searches | Integer | Searches. | - |
clicks | Integer | Clicks. | - |
purchases | Integer | Purchases. | - |
searchConvRate | Number | Search conv rate. Percentage or ratio value as documented. | - |
clickConvRate | Number | Click conv rate. Percentage or ratio value as documented. | - |
clickingRate | Number | Clicking rate. Percentage or ratio value as documented. | - |
conversionRate | Number | Conversion rate. Percentage or ratio value as documented. | - |
phraseCount | Integer | Phrase count. | - |
phrasePpc | String | Phrase PPC. | - |
phrasePpc.value | Number | Value. | - |
exactPpc | String | Exact PPC. | - |
exactPpc.value | Number | Value. | - |
broadPpc | String | Broad PPC. | - |
broadPpc.value | Number | Value. | - |
phraseCpa | String | Phrase cpa. | - |
phraseCpa.value | Number | Value. | - |
exactCpa | String | Exact cpa. | - |
exactCpa.value | Number | Value. | - |
broadCpa | String | Broad cpa. | - |
broadCpa.value | Number | Value. | - |
phraseBudget | String | Phrase budget. | - |
phraseBudget.value | Number | Value. | - |
exactBudget | String | Exact budget. | - |
exactBudget.value | Number | Value. | - |
broadBudget | String | Broad budget. | - |
broadBudget.value | Number | Value. | - |
phraseAcos | String | Phrase acos. | - |
phraseAcos.value | Number | Value. | - |
exactAcos | String | Exact acos. | - |
exactAcos.value | Number | Value. | - |
broadAcos | String | Broad acos. | - |
broadAcos.value | Number | Value. | - |
avgProductPrice | String | Avg product price. | - |
avgProductPrice.value | Number | Value. | - |
Response example
{
"request_id": "8fb43e59-4ff9-4dc8-a4b7-2ed164e45ab8",
"data": {
"guestId": null,
"page": 1,
"size": 5,
"url": null,
"order": {
"field": "",
"desc": true
},
"items": [
{
"keyword": "yoga mat",
"searches": 239819,
"clicks": 72444,
"purchases": 6284,
"searchConvRate": 0.0262,
"clickConvRate": 0.0867,
"phrasePpc": {
"value": 1.03
},
"exactPpc": {
"value": 0.9
},
"broadPpc": {
"value": 1.04
},
"phraseCpa": {
"value": 11.88
},
"exactCpa": {
"value": 10.3806
},
"broadCpa": {
"value": 11.9954
},
"avgProductPrice": {
"value": 45.99
},
"phraseBudget": {
"value": 18.54
},
"exactBudget": {
"value": 16.2
},
"broadBudget": {
"value": 18.72
},
"phraseAcos": {
"value": 0.2583
},
"exactAcos": {
"value": 0.2257
},
"broadAcos": {
"value": 0.2608
},
"clickingRate": 0.1756,
"conversionRate": 0.1016,
"phraseCount": 2
},
{
"keyword": "yoga mat thick",
"searches": 18831,
"clicks": 7304,
"purchases": 541,
"searchConvRate": 0.0287,
"clickConvRate": 0.0741,
"phrasePpc": {
"value": 0.91
},
"exactPpc": {
"value": 0.81
},
"broadPpc": {
"value": 1.06
},
"phraseCpa": {
"value": 12.2807
},
"exactCpa": {
"value": 10.9312
},
"broadCpa": {
"value": 14.305
},
"avgProductPrice": {
"value": 30.95
},
"phraseBudget": {
"value": 19.11
},
"exactBudget": {
"value": 17.01
},
"broadBudget": {
"value": 22.26
},
"phraseAcos": {
"value": 0.3968
},
"exactAcos": {
"value": 0.3532
},
"broadAcos": {
"value": 0.4622
},
"clickingRate": 0.2531,
"conversionRate": 0.1058,
"phraseCount": 3
}
],
"terminal": null,
"hasNextPage": true,
"guestVisited": false
}
}See Errors and rate limits for error payloads, request tracing, and rate-limit headers.
AI skills and agents that use this API
Start from a seller task, see how these capabilities use the current API, and review source and permissions before installation.