{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/serpkite-com/json-schema/serpkite-com-webpage-request-schema.json",
  "title": "WebpageRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/serpkite-com-webpage-api-openapi.yml#/components/schemas/WebpageRequest",
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "An HTML page or a PDF"
    },
    "format": {
      "type": "string",
      "enum": [
        "json",
        "markdown",
        "compact"
      ],
      "default": "json"
    },
    "include_html": {
      "type": "boolean",
      "default": false
    },
    "include_links": {
      "type": "boolean",
      "default": false,
      "description": "Also return the page's outbound links (`links`)"
    },
    "include_images": {
      "type": "boolean",
      "default": false,
      "description": "Also return the page's image URLs (`image_links`)"
    },
    "country": {
      "type": "string",
      "description": "Fetch the page as seen from this country (ISO 3166-1 alpha-2) for geo-dependent pages"
    },
    "max_age": {
      "type": "integer"
    }
  }
}