POST https://app.dumplingai.com/api/v1/extract
application/json
<API_KEY>
{ "url": "string", // Required. The URL to extract data from. "schema": "object" // Required. The schema defining the data to extract. }
{ "screenshotUrl": "string", // URL of the captured screenshot "results": "object" // Extracted data matching the provided schema }
{ "error": "Error message describing the issue" }
{ "error": "Failed to extract URL: [error details]" }
curl -X POST https://app.dumplingai.com/api/v1/extract \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{ "url": "https://example.com", "schema": { "title": "string", "description": "string", "price": "number", "rating": "number" } }'
{ "screenshotUrl": "https://storage.example.com/screenshots/abcdef123456.png", "results": { "title": "Example Product", "description": "This is an example product description.", "price": 29.99, "rating": 4.5 } }
https://
X-RateLimit-Limit
X-RateLimit-Remaining