# Amazon Autocomplete

Get Amazon Autocomplete data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by LiteScrape, pass parameters such as k, and retrieve structured data including suggested search completion, requested text prefix, and source processing status to search inputs, and query discovery, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/amazon/amazon-autocomplete/67cb30c4-16e7-4451-ac35-6dd8586c2fd3/
API ID: 67cb30c4-16e7-4451-ac35-6dd8586c2fd3
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/amazon/autocomplete
Page update time: 2026-12-03T02:48:58.493Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:48:58.190Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Amazon Autocomplete API

POST required k and optional amazon\_domain and amazon\_department. suggestions contains completion values and source types; aps selects all departments and the default source storefront is amazon.com.

## What You Can Build

- **Search inputs**: Populate product-search completion suggestions.
- **Query discovery**: Prepare related search phrases for subsequent source searches.

## Returned Data

| Field | Meaning |
| --- | --- |
| `suggestions[].value` | Suggested search completion. |
| `suggestions[].type` | Suggestion type supplied by the source. |
| `search_parameters.k` | Requested text prefix. |
| `search_metadata.status` | Source processing status. |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Amazon Autocomplete request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "timeout": {
          "type": "number",
          "description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
          "maximum": 90
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "k": "coffee"
        }
      ],
      "properties": {
        "amazon_department": {
          "default": "aps",
          "description": "Department alias used to narrow suggestions; aps searches all departments.",
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9_-]+$",
          "title": "Amazon Department",
          "type": "string",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "label": "Department",
            "summary": "Department alias used to narrow suggestions; aps searches all departments."
          }
        },
        "amazon_domain": {
          "default": "amazon.com",
          "description": "Amazon storefront hostname.",
          "title": "Amazon Domain",
          "type": "string",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "label": "Amazon domain",
            "summary": "Amazon storefront hostname."
          }
        },
        "k": {
          "description": "Partial search text to complete.",
          "minLength": 1,
          "title": "K",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Search terms",
            "summary": "Partial search text to complete."
          }
        }
      },
      "required": [
        "k"
      ],
      "title": "Request",
      "type": "object",
      "description": "Get Amazon search suggestions for a prefix and department."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "search_metadata": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string"
        }
      }
    },
    "search_parameters": {
      "type": "object",
      "properties": {
        "k": {
          "type": "string"
        }
      }
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    },
    "suggestions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/litescrape/api/amazon/autocomplete' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "k": "coffee"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "search_metadata": {
    "status": "Success"
  },
  "search_parameters": {
    "k": "coffee"
  },
  "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token",
  "suggestions": [
    {
      "type": "KEYWORD",
      "value": "coffee beans"
    }
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What should I put in k?
Supply the nonempty partial search text you want completed. Suggestions are search phrases, not automatically verified product records or ASINs.

### How do I select a department?
amazon_department accepts a native department alias using letters, digits, underscores or hyphens. It defaults to aps for all departments.

### Can I choose a storefront?
Use amazon_domain for the source storefront, default amazon.com. Keep it attached to suggestions rather than assuming completions are identical across regions.

### Does this provide keyword search volume?
No search-volume metric is part of the documented suggestion record. Use returned values and types for completion or query discovery; use Amazon Search for product results.

### Where should I set the request timeout?
Set timeout in the query string, including for POST requests. It must be greater than 0 and at most 90 seconds; page_timeout cannot extend this total execution budget.

### Can I add arbitrary parameters to the JSON body?
Use the body fields exposed by this implementation. Its JSON schema rejects additional properties; query parameters such as timeout belong outside the JSON body.

## Available implementations
- litescrape: https://openany.si/amazon/amazon-autocomplete/67cb30c4-16e7-4451-ac35-6dd8586c2fd3/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
