Skip to main content
POST
/
scrape
curl -X POST https://scrape.st/scrape \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com"
  }'
{
  "raw": "<!DOCTYPE html><html><head><title>Example</title></head><body><h1>Hello World</h1></body></html>"
}
Scrape any public URL and retrieve its raw HTML content. Useful for extracting unstructured data from websites. This endpoint proxies to an internal scraper microservice.
This endpoint is rate-limited to 10 requests per 60 seconds.

Request Body

url
string
required
The URL to scrape. Must be a valid, publicly accessible URL.

Response

raw
string
The raw HTML body of the scraped page.
curl -X POST https://scrape.st/scrape \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com"
  }'
{
  "raw": "<!DOCTYPE html><html><head><title>Example</title></head><body><h1>Hello World</h1></body></html>"
}