Fetch any public URL (HTML or PDF) and return clean Markdown + metadata (1 credit)

post/v1/webpage

Request

  • Base URL: https://api.serpkite.com
  • URL: https://api.serpkite.com/v1/webpage
  • Auth: HTTP bearer

Request body

urlstring uri required

An HTML page or a PDF

format'json' | 'markdown' | 'compact'
include_htmlboolean
include_linksboolean

Also return the page's outbound links (links)

include_imagesboolean

Also return the page's image URLs (image_links)

countrystring

Fetch through an exit in this country (ISO 3166-1 alpha-2) for geo-dependent pages

max_ageinteger

Response

OK (text/markdown when format=markdown)

urlstring required

Final URL after redirects

status_codeinteger
markdownstring required
textstring
htmlstring

Only with include_html=true

image_linksstring[]

include_images=true only. Image URLs in document order

Example response

{
  "request": {
    "endpoint": "search"
  },
  "metadata": {
    "content_type": "text/html"
  },
  "meta": {
    "engine": "google",
    "route": [
      {
        "provider": "google"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.