Alexa Scraper

The scraper.alexa actor returns Alexa responses enriched with related prompts, citations, and media assets so you can benchmark how the model answers across markets.

Request Example

curl 'https://api.scrapeless.com/api/v2/scraper/request' \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: {you_api_key}' \
  --data '{
    "actor": "scraper.alexa",
    "input": {
      "prompt": "Recommended attractions in New York",
      "country": "US"
    },
    "webhook": {
      "url": "http://www.youwebhook.com"
    }
  }'

Body Parameters

ParameterTypeRequiredDescription
promptstringYesPrompt to send to Alexa.
countrystringYesCountry or region code.

Response Fields

ParameterTypeDescription
user_textstringThe original text sent by the user.
md_textstringMarkdown-formatted answer from Alexa.
raw_textstringPlain-text answer from Alexa.
completedboolWhether the answer generation has finished.
answer_fragment_uristringURI of the answer fragment.
answer_revisionintRevision number of the answer.
dialog_request_idstringIdentifier of the dialog request.
endpoint_idstringIdentifier of the responding endpoint/device.
fragment_countintNumber of response fragments.
conversationobjectConversation context.
conversation.idstringConversation identifier.
directivesarrayProcessing directives emitted during the interaction.
directives.namestringDirective name, e.g., RequestProcessingStarted.
directives.namespacestringDirective namespace, e.g., InteractionModel.
directives.message_idstringUnique identifier of the directive message.
directives.dialog_request_idstringDialog request id associated with the directive.
directives.fragment_countintNumber of fragments for the directive.
referencesarrayCitations referenced in the answer.
references.idstringCitation identifier, e.g., cite_NWXekzs.
references.titlestringTitle of the referenced source.
references.urlstringURL of the referenced source.
sourcesarraySource links backing the answer.
sources.textstringDisplay text of the source, e.g., the site name.
sources.urlstringURL of the source.
sources.typestringSource type, e.g., OpenURL.
sources.fragment_uristringURI of the source fragment.
suggestionsarraySuggested follow-up prompts.
suggestions.textstringSuggestion display text.
suggestions.messagestringMessage sent when the suggestion is selected.
suggestions.typestringSuggestion type, e.g., TextMessage.
suggestions.fragment_uristringURI of the suggestion fragment.
productsarrayProduct information returned by Alexa (empty when not applicable).
products.product_idstringProduct identifier, e.g., an Amazon ASIN.
products.citation_idstringCitation identifier linking the product to the answer.
products.titlestringProduct title.
products.image_urlstringProduct image URL.
products.urlstringProduct page URL.
products.pricestringDisplay price, e.g., $989.95.
products.deliverystringDelivery information, e.g., Delivery by Tuesday, July 7.
products.detailsarrayList of detail lines (title, price, delivery, etc.).
products.fragment_uristringURI of the product fragment.
products.purposestringPurpose of the product entry, e.g., INFORMATION.