Scraper API
Webweb.markdownAvailable
Web page to Markdown
The page as clean Markdown, with its title, description, links and metadata.
Give it the address of a public web page.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 5, 1 required
- Record
- 17 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/web.markdown/runs
sent, and answered
a record of the run17 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 17 fields are set down here; the whole record is below.

What it is used for
- Give a page to a language model
- Turn a web page into clean Markdown, without the menus, scripts and styling, with its title, description, language and word count.
- Build a knowledge base
- Convert articles and documentation to Markdown and index them. The record keeps the page's canonical address and its links, so a source can be cited.
- Follow what a page says
- Read a page on a schedule and compare the
markdownbetween runs. A change in the text shows as a change in the text, not in the markup around it.
What you send
The address of a public web page. These are its 5 inputs, as its schema has them.
main_content_onlyboolean Optional- Write the page's own content only: no navigation, page header or footer, sidebars or cookie banners. False writes the whole page body.Default
true include_linksboolean Optional- Write links as [text](address); false keeps their text only.Default
true include_imagesboolean Optional- Write images as ; false keeps their alt text only.Default
false urlstring Required- The page's address: http or https, on a public host name.
timeout_snumber Optional- Seconds for the whole fetch, redirects included.Default
30
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/web.markdown/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"url":"https://docs.widgetlib.org/en/stable/quickstart.html"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("web.markdown", {
"url": "https://docs.widgetlib.org/en/stable/quickstart.html",
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("web.markdown", {
url: "https://docs.widgetlib.org/en/stable/quickstart.html",
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "web.markdown", map[string]any{"url": "https://docs.widgetlib.org/en/stable/quickstart.html"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("web.markdown", Map.of("url", "https://docs.widgetlib.org/en/stable/quickstart.html"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run web.markdown --input url=https://docs.widgetlib.org/en/stable/quickstart.htmlInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The page as clean Markdown, with its title, description, links and metadata. A record has 17 fields. One we could not read is null, never an empty string or a zero.
{
"url": "https://docs.widgetlib.org/en/stable/quickstart.html",
"final_url": "https://docs.widgetlib.org/en/stable/quickstart.html",
"status": 200,
"content_type": "text/html",
"title": "Quickstart — widgetlib 2.4 documentation",
"description": null,
"language": "en",
"canonical_url": null,
"markdown": "# Quickstart\n\nInstall `widgetlib` with pip:\n\n```console\n$ pip install widgetlib\n```\n\n## Your first widget\n\n```python\nfrom widgetlib import Widget\n\nw = Widget(size=3)\nprint(w.render()) # ``<widget size=3>``\n```\n\nNote\n\nSee [the API … [truncated]",
"text_length": 299,
"word_count": 46,
"links": [
{
"url": "https://docs.widgetlib.org/en/stable/api.html",
"text": "API reference",
"same_site": true
},
{
"url": "https://docs.widgetlib.org/en/stable/index.html",
"text": "Home",
"same_site": true
}
],
"metadata": {
"open_graph": {},
"json_ld": []
},
"truncated": false,
"depth": null,
"fetched_at": "2026-11-19T18:07:42.607328Z"
}The scraper returned this record for the input above, reading a page built for its tests, not the live site.
Values shortened for this page: markdown: 466 characters, the first 230 shown; links: 3 items, the first 2 shown.
The fields of a record
urlstring- The address that was asked for.
final_urlstring- The address that answered, after redirects.
statusinteger- The HTTP status of the answer.
content_typestring or null- The media type of the answer, e.g. text/html.
titlestring or null- The page's title.
descriptionstring or null- The page's meta description.
languagestring or null- The language the page declares (e.g. en, de-CH); null when it declares none.
canonical_urlstring or null- The canonical address the page names for itself.
markdownstring- The page's content as Markdown.
text_lengthinteger- Characters of plain text in the content that was written.
word_countinteger- Words of plain text in the content that was written.
linkslist of objects- The links on the whole page, once each (the first 2000).Each holds
url,text,same_site. next_urlstring or null- The address of the next page of the list this page shows (a directory, search results, an archive), when the page links to one on its own site:
rel=next, or a link labelled Next, › or ». Null otherwise. web.crawl withfollow: next_pagereads these pages one after the other. metadataobject- What the page declares about itself in structured form: its Open Graph properties and its JSON-LD objects. Both are empty when it declares none.Holds
open_graph,json_ld. truncatedboolean- True when the page was longer than 5000000 bytes and was cut there.
depthinteger or null- web.crawl only: links between the start page and this one.
fetched_atdatetime- When the page was fetched, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- No JavaScript is run. A page that builds its content in the browser is not read.
The bounds its schema sets
timeout_s- 1 to 120; 30 unless you say otherwise
Questions
What does Web page to Markdown return?
The page as clean Markdown, with its title, description, links and metadata. A record has 17 fields, among them url, final_url, status, content_type, title and description. A value that could not be read is null, never an empty string or a zero.
What do I send?
The address of a public web page. The input url is required. Optional: main_content_only, include_links, include_images and timeout_s.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: timeout_s 1 to 120 (30 unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
No JavaScript is run. A page that builds its content in the browser is not read.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id web.markdown and the same input. It costs what the same API call costs.
Used in these playbooks
A playbook runs Web page to Markdown as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.
Sales
Account Research
For each company domain, what its site and company page say, a line of research and a compliment built only from facts.
Marketing
Broken Link Prospects
Resource pages on your topic that link to pages or sites that are gone, each with the dead link and the site's email.
Sales
Crowdfunding Leads
Kickstarter and Indiegogo projects with traction, each with funding, backers, the creator's website and the email it publishes.
Research
Knowledge Base Crawl
A site's or docs' pages as clean Markdown, one row a page; saved, it returns only the pages that are new, changed or gone.
Marketing
Link Intersect
Sites that link to two or more of your competitors but not to you, each with the page and the email the site publishes.
Marketing
Unlinked Mentions
Pages that name your brand but do not link to your site, each read to be sure, with the email the site publishes.
Web
Public web pages: as the server sends them, after their scripts ran, as Markdown or as a picture, and what is in them. A domain's registration and its DNS records.
Web page
web.fetchThe address of a public web page. The status, headers and body its server sent.
PDF document
web.documentThe address of a public PDF, how many of its pages to read (up to 500), and whether to read scanned pages with OCR. Each page's text in reading order, the whole document as Markdown, its tables as rows and columns with their page, and its title, author and dates.
RSS and Atom feed
web.feedThe address of an RSS, Atom or JSON feed. Each entry of the feed: its title, link, summary and content as plain text, author, categories, dates, image and attached files.
Sitemap
web.sitemapA sitemap's address, or a website's address to find its sitemap from robots.txt. Every address the sitemap lists, with the last-modified date, change frequency, priority, images, language versions and news details it states.
Rendered web page
web.renderThe address of a public web page that builds its content with JavaScript. The page's HTML after a browser has loaded it and run its scripts.
Web page extraction rules
web.extractThe address of a public web page, and your own CSS or XPath rules, each with a name. One record with what each rule selected, under its name: text, an attribute, HTML, a list, or an object of fields.
News or blog article
web.articleThe address of a public news or blog article. Its title, authors, dates, section and tags, the body as text and as Markdown, the lead image, the site and the language.
Website technologies
web.techThe address of a public web page. The technologies it reveals, each with its category, version where shown, and the evidence it was recognised by.
Product page
web.productThe address of a product's page in any online shop. The product the page declares: name, brand, description, category, price and price range, list price, currency, availability, condition, rating and reviews, images, SKU, GTIN and part number, and each offer or variant.
Web page screenshot
web.screenshotThe address of a public web page, and what to take: the window, the whole page or one element, on a desktop, tablet or phone. A PNG or JPEG of the page, to download from the address in the record, with its size, format and checksum.
Page speed and weight
web.speedThe address of a public web page, a phone or a desktop, and how many times to load it (one to three). Load timings, Core Web Vitals, page weight by file type, the largest files, a 0 to 100 score and plain findings such as "3.1 MB of JavaScript".
Domain registration
web.whoisA domain name. Its registrar, creation, update and expiry dates, statuses, name servers, DNSSEC, and the registrant where the registry publishes one.
DNS records
web.dnsA host name. Its DNS records: addresses, aliases, mail servers, name servers, TXT, SOA, CAA and, when asked, SRV.
Website contacts
web.contactsA company's domain. The contact details its own website publishes: e-mail addresses, phone numbers, social profiles and postal address.
Website to Markdown
web.crawlA start page on a public website. The site's pages as clean Markdown, one record for each page.
- Industry
- Search and the open web
- Where
- Worldwide
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.
Used with other scrapers for:Web data for AI agents