GET
/
api
/
v1
/
scrape_domain
curl --request GET \
  --url https://www.fetchserp.com/api/v1/scrape_domain \
  --header 'Authorization: Bearer <token>'
{
  "domain": "<string>",
  "web_pages_count": 123,
  "web_pages": [
    {
      "url": "<string>",
      "html": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

A bearer token that will be supplied within an Authorization header as bearer <token>.

Query Parameters

domain
string
required

The domain to scrape

max_pages
integer

The maximum number of pages to scrape (up to 200). Default to 10.

Response

200
application/json

success

The response is of type object.