Scrape Structured Page
/extract/pageExtract structured content and metadata from one public web page.
What to tell it
Say these in your message. Your AI agent fills them in when it runs the tool.
- UrlNeededThe URL of the page to extract. It must be an absolute `http` or `https` URL. Search pages that have a dedicated engine, such as Google or Bing, are redirected…
- Include markdownOptionalWhether to include the page's main content as Markdown in `markdown`. Default: `true`.
- Max depthOptionalUsed with `mode=crawl`. Defines how many links deep the crawl follows from the starting page. `0` extracts only the starting page. Default: `2`. Maximum: `3`.
- Include sitemapOptionalUsed with `mode=map`. Defines whether to also read the website's sitemaps, from `/sitemap.xml` and `/robots.txt`. Default: `true`.
- Prefetch delayOptionalA delay in milliseconds before the first page is fetched (0–10,000). Default: `0`. The Extract API doesn't run JavaScript, so this is not a rendering delay.
- Include tagsOptionalA comma-separated list of CSS selectors to keep, e.g. `article, main, .post-content`. Everything else inside `<body>` is removed before parsing.
- Max pagesOptionalUsed with `mode=crawl`. Defines the maximum number of pages to extract, including the starting page. Default: `10`. Maximum: `100`. Each successfully extracted…
- Exclude tagsOptionalA comma-separated list of CSS selectors to remove before parsing, e.g. `nav, footer, .ads, #cookie-banner`.
- Include subdomainsOptionalUsed with `mode=map` and `mode=crawl`. Defines whether to include other subdomains of the same website, e.g. `blog.example.com` when starting from `www.example…
- DeviceOptionalThe device to use to get the results. It can be set to `desktop` (default) to use a regular browser, `tablet` to use a tablet browser (currently using iPads),…
- Json restrictorOptionalThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
- TimeoutOptionalThe HTTP request timeout in milliseconds (1,000–120,000). Default: `30,000` (30 seconds).
Use it in chat
Paste this in chat with what you need, or type @ and pick it. Your AI agents also use it on their own when the work needs it.
@serpapi:/extract/pageTopics
Content ExtractionMore from SerpApi
All 124Search Private MapsSearch DuckDuckGo Maps (Apple Maps data) for local places.2.5 credits a callRead Restaurant ReviewsGet diner reviews of one OpenTable restaurant.2.5 credits a callCompare Product PricesSearch Google Shopping and compare product offers across stores.2.5 credits a callAsk Naver AIAsk Naver's AI tab a question and get its cited answer.2.5 credits a callSearch Yandex WebRun a Yandex web search and get parsed organic results.2.5 credits a callGet Play ListingGet one Google Play listing with details, ratings, and reviews.2.5 credits a call