URL to Markdown API for LLMs: Web Page Reader and Web Search avatar

URL to Markdown API for LLMs: Web Page Reader and Web Search

Pricing

from $10.00 / 1,000 page read into markdowns

Go to Apify Store
URL to Markdown API for LLMs: Web Page Reader and Web Search

URL to Markdown API for LLMs: Web Page Reader and Web Search

Convert any URL or PDF to clean, LLM-ready markdown, text or HTML, and search the web with each top result already read into markdown. CSS selectors, link and image summaries, screenshots, country and language search, via the Jina Reader API. Bring your own key.

Pricing

from $10.00 / 1,000 page read into markdowns

Rating

0.0

(0)

Developer

Nabeel Hassan

Nabeel Hassan

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

18 days ago

Last modified

Features

Limited permissions

Share

Convert any URL or PDF into clean, LLM-ready markdown, and search the web with every top result already read into markdown, as rows you can export to CSV, Excel or JSON or feed straight into your model.

This actor wraps the Jina Reader API from Jina AI: POST r.jina.ai/ to read a URL and POST s.jina.ai/search to search the web. Use it for retrieval augmented generation, AI agent tool calls, LLM grounding, knowledge base ingestion, documentation and PDF conversion, content monitoring and research. Bring your own Jina API key.

BYOK, not live tested: every route, field and response shape comes from Jina's own OpenAPI descriptions (r.jina.ai/openapi.json and s.jina.ai/openapi.json) and the jina-ai/reader README, and both routes were probed on 2026-11-07 with an invalid key of realistic length. The routes have not been run against a live key.

What it does

  • URL to markdown: one row per URL with title, description, url, domain, clean markdown content, contentLength, publishedTime, the page's httpStatus and any warning. Works on JavaScript-heavy single page apps and PDF links.
  • Other formats: plain text, HTML, or a link to a screenshot of the first screen or the full page.
  • Precise extraction: keep only the elements matching a CSS selector, remove nav, footer or ads by selector, wait for late content, remove overlays, trim to a token limit.
  • Link and image summaries: a deduplicated list of every link (links, linkCount) and image (images, imageCount) on the page.
  • Web search for LLMs: one row per result with position, title, url, description and the result page read into markdown, with country, language, location, news and in-site search.

What you need

A Jina AI account and its API key. The actor never signs up or buys anything for you, and it never uses Jina's keyless access.

  1. Log in at jina.ai and open the API dashboard (key manager).
  2. Copy your API key (it starts with jina_).
  3. Paste it into the Jina API key field (or set the DATA_API_KEY secret). The key is sent only as a Bearer token to r.jina.ai and s.jina.ai and is removed from every log line and message.

Jina bills its own tokens to that account: a read costs tokens in proportion to the page's content, and each search reads several pages.

Input

FieldModesNotes
modeallread (default), search
apiKeyallyour Jina API key; falls back to the DATA_API_KEY secret
urlsreadone URL per line, PDFs included
targetSelector, removeSelector, waitForSelectorreadCSS selectors
enginereadauto, browser, curl, cf-browser-rendering
presetreadnone, reader, index, research, agent, spider
proxyCountry, localereadsuch as us, en-US
tokenBudget, removeOverlayreadreject over-budget pages; strip overlays
queriessearchone query per line
resultsPerQuerysearch1 to 20, default 5
resultsPagesearchpage of results
country, language, locationsearchsuch as us, en, Berlin, Germany
sitessearchrestrict to these domains
searchTypesearchweb, news
providersearchany, google, bing
respondWithallcontent (default), markdown, text, html, screenshot, pageshot
retainImages, retainLinksallhow images and links survive into the content
withLinksSummary, withImagesSummary, withGeneratedAltallsummaries and image captions
noCache, timeoutSecs, maxTokensallfresh fetch, wait up to 180 s, trim content
maxResultsallstop after this many rows, default 100

Inputs for the other mode are ignored with a warning.

Output

A page read row (the values are illustrative):

{
"recordType": "page",
"found": true,
"mode": "read",
"query": "https://en.wikipedia.org/wiki/Web_scraping",
"title": "Web scraping - Wikipedia",
"description": "Data scraping used for extracting data from websites",
"url": "https://en.wikipedia.org/wiki/Web_scraping",
"domain": "en.wikipedia.org",
"content": "**Web scraping**, **web harvesting**, or **web data extraction** is data scraping used for extracting data from websites. [...]",
"contentLength": 48213,
"publishedTime": "2026-10-30T12:04:11Z",
"links": [{ "text": "Data scraping", "url": "https://en.wikipedia.org/wiki/Data_scraping" }],
"linkCount": 412,
"httpStatus": 200
}

A search result row carries recordType searchResult, the query, position, title, url, domain, description, the page content and publishedTime. A URL or query that fails becomes a free row with found false and a note with Jina's own error message.

Pricing

Pay per event, only for rows with data:

EventPrice
Page read into markdown$0.01
Web search result$0.008

Jina bills its tokens to your Jina account, separately from this actor. Skipped lines, empty pages, failed URLs and refused requests are free.

FAQ

What is the Jina Reader API?

Jina Reader is a service from Jina AI (now part of Elastic) that turns any URL into clean, LLM-friendly markdown by rendering the page in a headless browser and extracting its main content. Its companion s.jina.ai searches the web and reads the top results the same way.

How do I convert a URL to markdown?

Choose Page read, paste one URL per line and run. Each URL comes back as one row with the main content as clean markdown in content. Choose Markdown, Plain text or HTML under Output format for other forms.

Can it read PDFs?

Yes. Put a PDF link in Page URLs and Jina returns its text as markdown, with numPages when known.

How do I extract only part of a page?

Set Keep only this CSS selector (for example article) to return just that element, or Remove this CSS selector (for example nav, footer) to drop clutter. Wait for this CSS selector helps with content that loads late.

How is the web search different from a Google SERP scraper?

A SERP scraper returns titles, links and short snippets. Jina search returns the top results with each page already read into markdown, so a RAG pipeline or AI agent can use the content directly without fetching and cleaning each page.

Can I search only one website, or only news?

Yes. List domains under Search only these sites for in-site search, and set Search type to News for news results. Country, language and location localise the results.

Can I use the output in my own product?

Your agreement with Jina AI applies. Its terms place no restriction on what you do with the output, but forbid using the service to build a competing service. Content from third party pages remains subject to its owners' rights.

What do I pay?

$0.01 per page read and $0.008 per search result to this actor, plus the Jina tokens your key uses. Failed URLs, empty pages and refused requests are free.

Keyword map

URL to markdown, website to markdown, HTML to markdown API, web page reader API, PDF to markdown, LLM-ready web content, web scraper for LLMs, RAG data ingestion, web search API for LLMs, AI agent web search, in-site search, Jina Reader, Jina AI Reader API, r.jina.ai, s.jina.ai.

Routes and verification

ModeRouteProbe with an invalid 65 character jina_ key (twice)
Page readPOST r.jina.ai/401 JSON AuthenticationFailedError "Invalid API key"
Web searchPOST s.jina.ai/search401 JSON AuthenticationFailedError "Invalid API key"
Invented control routePOST r.jina.ai/v9/readz422 SubmittedDataMalformedError: the unknown path is read as a URL ("Domain 'v9' could not be resolved")

Licensing and data use

This actor works only with your own Jina key, and your agreement with Jina AI applies: no restriction on the output, no use of the service to build a competing service. Jina bills tokens to the key's account. Content returned from third party web pages remains subject to its owners' rights. This actor is not affiliated with or endorsed by Jina AI or Elastic.