Everything you need to integrate WebStruct.AI into your applications
First, you'll need to get your API key from your dashboard.
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.webstruct.ai/v1/scrapeSend a POST request to start scraping a website.
{
"url": "https://example.com",
"command": "Extract all product names and prices",
"format": "json"
}The API will return structured data based on your command.
{
"status": "completed",
"data": [
{"name": "Product 1", "price": "$29.99"},
{"name": "Product 2", "price": "$39.99"}
],
"records_found": 2
}