Airforce Scraper API Documentation

This API allows you to scrape websites via a proxy while handling requests with headers, cookies, and data.

Endpoint: /scrape

GET POST /scrape

Query Parameters

url (string, required): The target URL to scrape. Must be a valid HTTP/HTTPS URL.

Example Usage

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"}'

Response Handling

If the request is successful, you will receive the response from the requested URL.

Error Handling:

{
    "error": "Failed to scrape"
}

Access Documentation

You can access this documentation anytime by visiting https://scraper.api.airforce.

Have questions or need help? Join our community on Discord!