OpenAny
Get API keyAPI Key
APIE-commerceScrapers

amazon logo
Amazon Autocomplete API

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.

Selected price
$0.00015 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Amazon Autocomplete API

Prepare your request, then continue with your agent.

Selected price

$0.00015 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Amazon Autocomplete API

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.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs JSON body requires k; optional body fields: amazon_department, amazon_domain. Optional query parameter: timeout (greater than 0, at most 90 seconds).
Selected implementation litescrape · Amazon Autocomplete
Billing See the pricing area for the selected implementation and request options

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.

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request POST \
  https://api.openany.si/v1/agent-apis/litescrape/api/amazon/autocomplete \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H "Content-Type: application/json" \
  --data-raw '{"k":"coffee"}'

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published Amazon Autocomplete API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body* object
Partial search text to complete.
Department alias used to narrow suggestions; aps searches all departments.
Amazon storefront hostname.
Get Amazon search suggestions for a prefix and department.
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.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
litescrapeCurrent
Amazon Autocomplete · POST · View API reference
$0.00015 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · litescrapeUSD / call
Unit price
$0.00015

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $0.015

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/amazon/autocomplete
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
kJSON request bodybodystringYes

Partial search text to complete.

minLength: 1

timeoutURL query parametersquerynumberNo

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

amazon_departmentJSON request bodybodystringNo

Department alias used to narrow suggestions; aps searches all departments.

minLength: 1 · pattern: ^[a-zA-Z0-9_-]+$

amazon_domainJSON request bodybodystringNo

Amazon storefront hostname.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • search_metadataobject
    • statusstring
  • search_parametersobject
    • kstring
  • submit_feedback_for_this_response_herestring
  • suggestionsobject[]
    • typestring
    • valuestring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 2

    Review these request fields before running. Keep the published provider and request method unchanged.

    timeout
    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.
    body
    Get Amazon search suggestions for a prefix and department.
    Terminal · cURL
    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"
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "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"
        }
      ]
    }

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.

Use Amazon Autocomplete API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.