This API allows you to scrape websites via a proxy while handling requests with headers, cookies, and data.
/scrape
/scrape
GET Request:
curl -X GET "https://scraper.api.airforce/scrape?url=https://example.com"
POST Request:
curl -X POST "https://scraper.api.airforce/scrape?url=https://example.com" \
-H "Content-Type: application/json" \
-d '{"key":"value"}'
If the request is successful, you will receive the response from the requested URL.
Error Handling:
400 Bad Request
status is returned with an appropriate error message.500 Internal Server Error
status is returned with the error message.{
"error": "Failed to scrape"
}
You can access this documentation anytime by visiting https://scraper.api.airforce.
Have questions or need help? Join our community on Discord!