OpenGraph.ioOpenGraph.io
For AI and RAG builders

AI web scraping for agents and RAG pipelines

Give your models the content of any web page without the noise. Send a URL and get clean Markdown, chunks ready to embed, page metadata for citations and token counts, all in one request.

Or try the free Webpage to Markdown tool on any page
Starting price for a page of Markdown
1 credit
Characters per chunk by default, split at headings
~2,000
Tools in the MCP server for AI agents
29
Adds prompt injection protection to any request
+1 credit
Why it matters

What your AI actually needs from a page

Raw HTML is mostly navigation, scripts and layout. Models do better, and cost less, when they get only the content.

Clean Markdown

Headings, lists, tables and links kept. Menus, ads and scripts left out.

Chunks ready to embed

Pages split at headings, each chunk carrying its heading path and position.

Metadata for citations

Title, canonical URL, description and language with every page, so answers can cite their source.

Token counts up front

Know how big a page is before it reaches your model, and cap it with max_chars.

Use cases

Three ways AI teams use it

01RAG pipelines

Feed your vector store

Turn the pages you choose into chunks with heading paths and metadata, ready to embed and easy to cite.

Web scraping for LLMs and RAG
02AI agents

Give your agent web access

Install the MCP server and let Claude, Cursor or any MCP client read live web pages in the middle of a conversation.

MCP web scraping for AI agents
03Structured data

Pull the exact fields you need

Describe the JSON you want, or point at the exact elements, and get structured data back from any page.

AI data scraper
One request

Only the passages that answer the question

Add a query and the API ranks the page chunks against it, so your model gets the few passages that matter instead of the whole page.

GETopengraph.io/api/3.0/markdown/{encoded_url}
?format=json&query=pricing+limits&query_top_k=3
Response 200 OK
"chunks": [{
  "index": 7,
  "heading_path": ["Pricing", "Usage limits"],
  "relevance_score": 0.87,
  "text": "Every plan includes a monthly...",
  "estimated_token_count": 230
}]

Every parameter and response field is in the Markdown API docs.

Why OpenGraph.io

Built for the pages real users send

Try it on any page, free

Paste a URL into the free Webpage to Markdown tool and see the same output the API returns.

  • Pages built with JavaScript are detected and rendered automatically.
  • Proxies step in when a site blocks plain requests.
  • Turn on ai_sanitize to strip hidden instructions for one extra credit.
  • The same key covers screenshots, link previews, metadata and brand data.
The free Webpage to Markdown tool after converting a Wikipedia article, showing word and character counts
Comparing options

Choosing an API for AI web data

We ran the same pages through three Markdown APIs and published the results in Firecrawl vs Jina Reader vs OpenGraph.io. If you are moving from Firecrawl, see our Firecrawl alternative page for a side by side view.

New to the topic? Start with why LLM apps need clean Markdown and how to chunk web pages for RAG.

FAQ

Most of a web page is navigation, scripts and layout. Markdown keeps the headings, lists, tables and links, so the model reads the content itself and you spend fewer tokens on each page. Read the full explanation →
Look for chunks that keep their heading paths, metadata you can cite, token counts before you embed, and reliable handling of pages that need JavaScript. The Markdown API returns all of these from one request. See the RAG guide →
Yes. The OpenGraph.io MCP server gives Claude, Cursor and other MCP clients tools to read pages as Markdown, pull structured data, check link previews and more. MCP web scraping for agents →
Everything runs on credits. A Markdown page starts at one credit, and rendering or proxies add credits only for pages that need them. You can start free without a credit card. See pricing →
Add ai_sanitize=true and the API removes hidden text, comments and other places attackers hide instructions, then reports a risk score with the result. It adds one credit to the request. Markdown API docs →

Give your AI clean web data today

Send a URL and get Markdown, chunks and metadata back in one request.

No credit card required to start.