curl -X POST https://api.stophy.dev/v1/batch/scrape \
-H "Authorization: Bearer $STOPHY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"urls": [
"https://bun.com/blog/bun-v1.4.4",
"https://bun.com/blog/bun-in-rust",
"https://bun.com/blog/behind-the-scenes-of-bun-install"
],
"formats": [{
"type": "json",
"schema": {
"type": "object",
"properties": {
"title": { "type": "string" },
"author": { "type": "string" },
"publishedOn": { "type": "string", "description": "The publication date as YYYY-MM-DD." },
"topics": { "type": "array", "items": { "type": "string" } }
},
"required": ["title", "publishedOn"]
}
}]
}'