Basic Web Scraper
Last updated
curl --location 'https://api.yetanotherapi.com/v1/llm-web-scrapper' \
--header 'x-api-key: $API_KEY_HERE' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://www.amazon.in/AMVR-Controller-Compatible-Accessories-Adjustable/dp/B0CJRK7B8J",
"selector": "#productTitle",
"use_llm": false,
"webhook": "https://your-webhook.com/endpoint"
}'{
"request_id": "c03995eb-e117-4eca-85c8-e6d398a968d9",
"scraped_content": {
"html": "<div id='productTitle'>Product Name Here</div>",
"text": "Product Name Here"
}
}{
"error": "Invalid URL format",
"status_code": 400
}