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
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | Prompt to send to Alexa. |
country | string | Yes | Country or region code. |
Response Fields
| Parameter | Type | Description |
|---|---|---|
user_text | string | The original text sent by the user. |
md_text | string | Markdown-formatted answer from Alexa. |
raw_text | string | Plain-text answer from Alexa. |
completed | bool | Whether the answer generation has finished. |
answer_fragment_uri | string | URI of the answer fragment. |
answer_revision | int | Revision number of the answer. |
dialog_request_id | string | Identifier of the dialog request. |
endpoint_id | string | Identifier of the responding endpoint/device. |
fragment_count | int | Number of response fragments. |
conversation | object | Conversation context. |
conversation.id | string | Conversation identifier. |
directives | array | Processing directives emitted during the interaction. |
directives.name | string | Directive name, e.g., RequestProcessingStarted. |
directives.namespace | string | Directive namespace, e.g., InteractionModel. |
directives.message_id | string | Unique identifier of the directive message. |
directives.dialog_request_id | string | Dialog request id associated with the directive. |
directives.fragment_count | int | Number of fragments for the directive. |
references | array | Citations referenced in the answer. |
references.id | string | Citation identifier, e.g., cite_NWXekzs. |
references.title | string | Title of the referenced source. |
references.url | string | URL of the referenced source. |
sources | array | Source links backing the answer. |
sources.text | string | Display text of the source, e.g., the site name. |
sources.url | string | URL of the source. |
sources.type | string | Source type, e.g., OpenURL. |
sources.fragment_uri | string | URI of the source fragment. |
suggestions | array | Suggested follow-up prompts. |
suggestions.text | string | Suggestion display text. |
suggestions.message | string | Message sent when the suggestion is selected. |
suggestions.type | string | Suggestion type, e.g., TextMessage. |
suggestions.fragment_uri | string | URI of the suggestion fragment. |
products | array | Product information returned by Alexa (empty when not applicable). |
products.product_id | string | Product identifier, e.g., an Amazon ASIN. |
products.citation_id | string | Citation identifier linking the product to the answer. |
products.title | string | Product title. |
products.image_url | string | Product image URL. |
products.url | string | Product page URL. |
products.price | string | Display price, e.g., $989.95. |
products.delivery | string | Delivery information, e.g., Delivery by Tuesday, July 7. |
products.details | array | List of detail lines (title, price, delivery, etc.). |
products.fragment_uri | string | URI of the product fragment. |
products.purpose | string | Purpose of the product entry, e.g., INFORMATION. |