Skip to content

Endpoints · 13/13

Webpage

Any URL as plain text plus its metadata and JSON-LD.

EndpointPOSThttps://serp-api.ozymoz.com/webpage
Credits per call2

Parameters

NameDescription
urlrequiredImage URL (lens) or page URL (webpage).

Example request

curl -X POST 'https://serp-api.ozymoz.com/webpage' \
  -H 'X-API-KEY: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "url": "https://example.com"
  }'

Example response

Illustrative values in the real shape. Top-level keys: text, metadata, jsonld.

response.json
{
  "searchParameters": {
    "type": "webpage",
    "engine": "google",
    "url": "https://example.com"
  },
  "text": "Example Domain\nThis domain is for use in illustrative examples in documents…",
  "metadata": {
    "title": "Example Domain"
  },
  "credits": 2
}

Good to know

A plain fetch of the URL: pages that need JavaScript to render may return little text.

Errors · Batch requests · Rate limits