Use casesWeb data for AI agents
Give an agent the web, as text it can read.
A model reads Markdown far better than a page's HTML. Web page to Markdown returns one page that way, Website to Markdown a whole site, and the hosted MCP server makes every scraper on the line-up a tool an assistant can call with your key.
For teams building assistants, retrieval and research agents.
Or have it done for you, as playbooks:
- 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.
- Crowdfunding Leads · Kickstarter and Indiegogo projects with traction, each with funding, backers, the creator's website and the email it publishes.
- Directory to Leads · The businesses a directory lists, each with its website and the email that site publishes, checked.
- 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.
- 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.
- Literature Sweep · New papers on your subject from PubMed, arXiv and Crossref, each paper once, with its abstract, DOI and free full text.
- 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.
From an address to text a model can use
One page when the agent knows the address. A crawl when it needs the site: one record a page, each with its title, its Markdown and its links.
One page as Markdown
Web page to Markdown
web.markdowninput
url: "https://docs.widgetlib.org/en/stable/quickstart.html"
url: "https://docs.widgetlib.org/en/stable/quickstart.html"
title: "Quickstart — widgetlib 2.4 documentation"
markdown: "# Quickstart\n\nInstall `widgetlib` with pip:\n\n```cons…
word_count: 46
links: [ { "url": "https://docs.widgetlib.org/en/stable/api.html…
ok1 unit a run
The site, a page a record
Website to Markdown
web.crawlinput
url: "https://docs.widgetlib.org/en/stable/index.html"
max_pages: 10
url: "https://docs.widgetlib.org/en/stable/quickstart.html"
title: "Quickstart — widgetlib 2.4 documentation"
depth: 1
word_count: 46
markdown: "# Quickstart\n\nInstall `widgetlib` with pip:\n\n```cons…
ok1 unit a record
Each record is the scraper's own sample, returned for the input shown above it. Where a sample was run with another input, the place the carried value goes is marked beside it.
The scrapers behind it
4 scrapers on the line-up, each with a page of its own: its inputs, every field of its record with a sample, and a request ready to send.
Web page to Markdown
web.markdownThe address of a public web page. The page as clean Markdown, with its title, description, links and metadata.
1 unit a run, for runs that return data
Website to Markdown
web.crawlA start page on a public website. The site's pages as clean Markdown, one record for each page.
1 unit a record, for runs that return data
Web page
web.fetchThe address of a public web page. The status, headers and body its server sent.
1 unit a run, for runs that return data
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.
1 unit a run, for runs that return data
What it is used for
Retrieval over a documentation site
Crawl the site, split each page's Markdown, index it. Each record keeps the page's address for the citation.
A tool the agent calls itself
Over the MCP server the agent lists the scrapers, reads what input one takes, runs it and reads the records.
Structured sources beside free text
The same agent can call the product, place, video or job scrapers and get typed fields instead of a page to interpret.
The first step, ready to send
This starts Web page to Markdown with the input shown in the picture above, waits for the run and reads its records. Put your key in the variable it reads.
Connect an assistant in one line
The MCP server is an address and your API key. Claude Code, Cursor and VS Code each take it in a line or a small file. The MCP server
A page of the docs made for models
The documentation has an llms.txt index, every page as Markdown, and a prompt that tells an agent how the API behaves. Every way in
# 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 it does not do
- Web page to Markdown reads the page as the server sends it. For a page that builds its content with scripts, Rendered web page returns the HTML after they have run.
- A crawl stays on the start page's own site, follows its robots.txt, and reads 100 pages at most a run.
- Pages behind a sign-in are not read.
Only public pages are read, and a value that could not be read is null. Each scraper’s own page lists its limits in full.
Try it on your own input.
The first 1,000 units each month are free, and a run that fails is never charged.