Skip to content
Scrappa Get API key
Amazon API 1 credit/request

Amazon Autocomplete API Documentation

GET https://scrappa.co/api/amazon/autocomplete

Amazon Autocomplete API Documentation Read the autocomplete suggestions of an Amazon marketplace for a search prefix, with the suggestion text and type. Up to 20 suggestions.

Amazon Autocomplete API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/amazon/autocomplete
Auth header
x-api-key
Cost
1 credit/request
prefix = example
Response preview
200 OK
{
    "data": {
        "domain": "US",
        "prefix": "echo d",
        "suggestions": [
            {
                "type": "keyword",
                "value": "echo dot",
                "strategy": "organic"
            }
        ],
        "suggestions_count": 8
    },
    "meta": {
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

2 optional filters available.

prefix string Required

Start of a search phrase. Example: echo d.

Example value example
domain string Optional

Amazon marketplace. Supported here: US, DE. Default: US.

Example value example.com
limit integer Optional

Number of suggestions, 1 to 20. Default: 10.

Example value 10

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "domain": "US",
        "prefix": "echo d",
        "suggestions": [
            {
                "type": "keyword",
                "value": "echo dot",
                "strategy": "organic"
            }
        ],
        "suggestions_count": 8
    },
    "meta": {
        "cached": false,
        "domain": "US",
        "currency": "USD",
        "language": "en_US",
        "timestamp": "2026-10-31T22:00:00.000000Z",
        "response_time_ms": 4200
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A query or path parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "prefix": [
            "The prefix field is required."
        ]
    },
    "message": "The prefix field is required."
}
503

Service Unavailable

Amazon could not be reached after several tries. This response is not billable. Retry shortly.

{
    "code": "transport_unavailable",
    "error": "Amazon could not be reached right now. Try again shortly. No credits were used.",
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.