API Description

This API is designed for AEO (AI Engine Optimization) data analysis and AI ad routing prediction in the era of large language model-driven e-commerce.
For Amazon’s brand-new Alexa for Shopping assistant, it takes user questions or keywords as input, and outputs structured results including Alexa-recommended product lists (ASINs) and follow-up guiding questions.
Additionally, it supports the url parameter to retrieve contextual information from the page where Alexa delivers responses.

🤖 Pulling this data to power an AI Agent? Instead of writing custom parsing code, leverage our MCP Server to grant your AI workspace native, real-time access with zero integration friction.

Request URL

POST https://scrapeapi.pangolinfo.com/api/v2/scrape

Request Headers

ParametersParameter valueTypeDescription
Content-Typeapplication/jsonstringData format
AuthorizationBearer xxxstringAuthorization Token

Request Parameters

ParametersRequiredTypeDescription
parserNameYesstringParser name, must be amazonAlexa
paramYesstring[]Array of prompts; each element triggers one conversation turn.
Recommended length ≤ 5 to keep response time reasonable.
urlNostringContextual intelligent responses based on page content
screenshotNobooleanWhether to capture page screenshots

Response value

Return valueTypeDescription
codeintStatus Code
messagestringMessage
dataobjectReturned data

Return parameter data description

Return valueTypeDescription
jsonarrayOne element per conversation turn — see json[i] structure below
taskIdstringUnique task identifier
urlstringTask URL (Alexa entry is fixed; can be ignored)
screenshotstringStorage location of the page screenshot (only returned when screenshot=true)

json[i] per-turn structure

Return valueTypeDescription
promptstringThe prompt for this turn (matches the corresponding entry in request param)
contentstringAlexa’s text response body
productsarrayList of categorized product groups; each group has title and items
follow_up_questionsarray<string>Suggested follow-up questions from Alexa
screenshotstringPer-turn screenshot URL (only returned when screenshot=true)

products[i].items[j] per-product structure

Return valueTypeDescription
asinstringProduct ASIN
urlstringProduct detail page URL
titlestringProduct title
coverstringProduct cover image URL
scorestringRating (e.g. 4.7)
ratingsCountstringReview count (e.g. 75,007)
pricestringCurrent price with currency symbol (e.g. $4.99)
originalPricestringOriginal / strikethrough price (empty if not on sale)
describestringProduct description

Request example

curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v2/scrape \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "parserName": "amazonAlexa",
    "param": ["books"],
    "url": "https://www.amazon.com/",
    "screenshot": true
}'

Return example

{
  "code": 0,
  "message": "ok",
  "data": {
    "taskId": "1779712950213-66c47c8a3bb862d5",
    "url": "",
    "json": [
      {
        "prompt": "books",
        "content": "Here are some popular books you might enjoy — looks like western romance is trending right now! Are you looking for a specific genre, mood, or format (Kindle, Audible, paperback)?",
        "products": [
          {
            "title": "Top Cowboy Romance Picks",
            "items": [
              {
                "asin": "B08BKGYQXW",
                "url": "https://www.amazon.com/dp/B08BKGYQXW?niid=nl_cl_lst_a_1_1&ref_=nl_cl_lst_a_1_1",
                "title": "Dungeon Crawler Carl: Dungeon Crawler Carl Book 1",
                "cover": "https://m.media-amazon.com/images/I/81XbhUrUsBL._AC_.jpg",
                "score": "4.7",
                "ratingsCount": "75,007",
                "price": "$4.99",
                "originalPrice": "",
                "describe": "A cult-favorite LitRPG adventure series starter."
              }
            ]
          }
        ],
        "follow_up_questions": [
          "Does it have an audiobook version?",
          "Compare with similar",
          "What do customers say?"
        ],
        "screenshot": "https://image.datasea.network/screenshots/1779712950213-66c47c8a3bb862d5-0.png"
      }
    ],
    "screenshot": "https://image.datasea.network/screenshots/1779712950213-66c47c8a3bb862d5-0.png"
  }
}

Performance & Credit Consumption

  • Default QPS: 3
  • Average response time: 60-120s
  • Credit Consumption:
Credits Consumption
Per conversation turn (billed by param array length)6 Credits/Per Request