Reader
Get LLM-friendly input from a URL or a web search. Improve the factuality of your agent, RAG, GenAI system with a simple prefix.
What is Reader?
Feeding web information into LLMs is an important step of grounding, yet it can be challenging. The simplest method is to scrape the webpage and feed the raw HTML. However, scraping can be complex and often blocked, and raw HTML is cluttered with extraneous elements like markups and scripts. The Reader API addresses these issues by extracting the core content from a URL and converting it into clean, LLM-friendly text, ensuring high-quality input for your agent and RAG systems.
Reader for search grounding
LLMs have a knowledge cut-off, meaning they can't access the latest world knowledge. This leads to problems such as misinformation, outdated responses, hallucinations, and other factuality issues. Grounding is absolutely essential for GenAI applications. Reader allows you to ground your LLM with the latest information from the web. Simply prepend
https://s.jina.ai/
to your query, and Reader will search the web and return the top five results with their URLs and contents, each in clean, LLM-friendly text. This way, you can always keep your LLM up-to-date, improve its factuality, and reduce hallucinations.Reader also reads images!
Images on the webpage are automatically captioned using a vision language model in the reader and formatted as image alt tags in the output. This gives your downstream LLM just enough hints to incorporate those images into its reasoning and summarizing processes. This means you can ask questions about the images, select specific ones, or even forward their URLs to a more powerful VLM for deeper analysis!
The best part? It's free!
Reader API is available for free and offers flexible rate limit and pricing. Built on a scalable infrastructure, it offers high accessibility, concurrency, and reliability. We strive to be your preferred grounding solution for your LLMs.
Endpoint | Description | Rate limit w/o API key | Rate limit with API key | Token counting scheme | Average latency |
---|---|---|---|---|---|
r.jina.ai | Read a URL return its content, useful for check grounding | 20 RPM | 200 RPM | Based on the output tokens | 3 seconds |
s.jina.ai | Search on the web return top-5 results, useful for search grounding | 5 RPM | 40 RPM | Based on the output tokens for all 5 search results | 10 seconds |
Don't panic! Every new API key contains one million free tokens!
Try the demo
See how Reader searches the web
Failed to fetch
Title: Stanford University
URL Source: https://www.stanford.edu/
Markdown Content:
A Societal Mission
------------------
Stanford was founded almost 150 years ago on a bedrock of societal purpose. Our mission is to contribute to the world by educating students for lives of leadership and contribution with integrity; advancing fundamental knowledge and cultivating creativity; leading in pioneering research for effective clinical therapies; and accelerating solutions and amplifying their impact.
[More about Stanford](https://www.stanford.edu/about/)
Campus News
-----------
Stories about people, research, and innovation across the Farm
[More campus news](https://news.stanford.edu/report/)
Academics
---------
Preparing students to make meaningful contributions to society as engaged citizens and leaders in a complex world
![Image 1: Three students work together in a robotics lab](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
### Undergraduate Education
Rich learning experiences that provide a broad liberal arts foundation and deep subject-area expertise
[Undergraduate Education](https://undergrad.stanford.edu/)
![Image 2](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
### Graduate Education
Unsurpassed opportunities to participate in the advancement of entire fields of knowledge
[Graduate education](https://vpge.stanford.edu/)
![Image 3](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
### Driving impact
Continuing adult education, executive and professional programs, and programs for K-12 students
[Lifelong Learning](https://lifelonglearning.stanford.edu/)
### Seven schools in which to pursue your passions
[More about academics](https://www.stanford.edu/academics)
Profile of Hawa Racine Thiam
----------------------------
![Image 4](https://www.stanford.edu/wp-content/uploads/2024/01/hawa-profile-1-240x240.jpg)
“Before coming to Stanford, I was thinking in terms of understanding. Now I feel that I can start thinking in terms of creating.”
### Hawa Racine Thiam
Assistant Professor of Bioengineering
[More](https://news.stanford.edu/report/2024/01/08/meet-our-faculty-hawa-racine-thiam/)
Research
--------
Driving discoveries vital to our world, our health, and our intellectual life
**15 Institutes** cross disciplinary boundaries
**20 Libraries** hold over 12 million items
**$1.98 Billion** sponsored research budget
[More about research](https://www.stanford.edu/research)
Upcoming Events
---------------
[More events](http://events.stanford.edu/)
Health Care
-----------
Advancing human health through innovative research, education, and care
![Image 5](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
### Stanford Medicine
Leading a worldwide revolution in precision health through biomedical research, education, and clinical enterprises
[Stanford Medicine](https://med.stanford.edu/)
![Image 6](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
### Stanford Health Care
Leveraging expertise and advanced technology to deliver unparalleled care for each patient’s unique needs
[Stanford Health Care](https://stanfordhealthcare.org/)
![Image 7](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
### Stanford Children’s Health
The only health care network in the Bay Area – and one of the few in the country – exclusively dedicated to pediatric and obstetric care
[Stanford Children’s Health](https://stanfordchildrens.org/)
[More about health care](https://www.stanford.edu/health-care/)
Profile of Meet Nadia Hemmat
----------------------------
![Image 8: Nadia Hemmat smiling](https://www.stanford.edu/wp-content/uploads/2023/06/nadia-square-240x240.jpg)
“Getting into Stanford was just such an amazing shock. But once I got here and became so involved, got to meet all these wonderful people, I feel like I fit right in — and like I belonged here the whole time.”
### Meet Nadia Hemmat
Class of 2023
[More](https://news.stanford.edu/report/2023/06/13/meet-nadia-hemmat-23/)
Campus Life
-----------
Building a vibrant community of creative and accomplished people from around the world
![Image 9](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
### Student Life
A residential campus with diverse housing, exceptional dining, and over 600 student organizations
[Student Affairs](http://studentaffairs.stanford.edu/)
![Image 10: Visitors look at an installation in the Cantor Arts Center](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
### Arts & Culture
A rich tradition of fostering creativity and a vibrant arts district on campus
[Stanford Arts](http://arts.stanford.edu/)
![Image 11](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
### Recreation & Wellness
State-of-the-art facilities and fitness programs to encourage movement and play
[Recreation & Wellness](https://rec.stanford.edu/)
[More about campus life](https://www.stanford.edu/campus-life/)
Athletics
---------
Providing student-athletes the opportunity to achieve excellence both in competition and in the classroom
![Image 12: Stanford Men's Gymnastics celebrates a third consecutive NCAA championship](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
### Home of Champions
Stanford’s 135 NCAA championships are the most for any university, a product of an unrivaled culture of excellence and continued support from the campus community
[National Championships](https://gostanford.com/sports/2017/5/22/home-of-champions.aspx)
![Image 13: Katie Ledecky holds up an Olympic gold medal](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
### Olympic Excellence
The Cardinal has produced at least one medalist in every Olympics in which the U.S. has competed since 1912, totaling 296 medals from 177 medalists
[Medals](https://gostanford.com/news/2023/5/25/athletics-stanford-olympic-history.aspx)
![Image 14](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
### Multidimensional Impact
Stanford student-athletes have achieved local, national, and global impact through community involvement and advocacy
[Athlete Stories](https://gostanford.com/sports/featured)
[More about athletics](https://gostanford.com/)
Admission
---------
Offering extraordinary freedom to explore, to collaborate, and to challenge yourself
![Image 15: Stanford student Maya Guzdar and friends walk through an archway on Main Quad](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
### Explore the possibilities of a Stanford education as you map out your college journey.
We look for distinctive students who exhibit an abundance of energy and curiosity in their classes, activities, projects, research, and lives.
### Stanford meets the full financial need of every admitted undergrad who qualifies for assistance.
More than two-thirds of undergrads receive some form of financial assistance. Generally, tuition is covered for families with incomes below $150,000.
[More about admission](https://www.stanford.edu/admission)
![Image 16](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Reader API
Get LLM-friendly input from a URL or a web search. Improve the factuality of your agent, RAG, GenAI system with a simple prefix.
Basic Usage
double_arrow
Add
https://r.jina.ai/
to any URL in your code or tool where LLM access is expected. This will return the main content of the page in clean, LLM-friendly text.search
Add
https://s.jina.ai/
to your query. This will call the search engine and returns top-5 results with their URLs and contents, each in clean, LLM-friendly text.Advanced Usage
upload
Request
curl https://r.jina.ai/https://example.com
key
API key
Available tokens
0
API Pricing
Our API pricing is structured around the quantity of tokens sent in the requests. For Reader API, it is the amount of tokens in the responses. This pricing model is applicable to all products in Jina AI's search foundation: Embedding, Reranking, Reader, Auto Fine-Tuning APIs. With the same API key, you have access to all API services.
Enter the API key you wish to recharge
Top up this API key by selecting the tokens you need
1M free tokens
Please input the right API key to top up
FAQ
At any time, press
/
to open search barReader-related common questions
What are the costs associated with using the Reader API?
How does the Reader API function?
Is the Reader API open source?
What is the typical latency for the Reader API?
Why should I use the Reader API instead of scraping the page myself?
Does the Reader API support multiple languages?
What should I do if a website blocks the Reader API?
Can the Reader API extract content from PDF files?
Can the Reader API process media content from web pages?
Is it possible to use the Reader API on local HTML files?
Does Reader API cache the content?
Can I use the Reader API to access content behind a login?
Can I use the Reader API to access PDF on arXiv?
How does image caption work in Reader?
What is the scalability of the Reader? Can I use it in production?
What is the rate limit of the Reader API?
API-related common questions
code
Can I use the same API key for embedding, reranking, reader, fine-tuning APIs?
code
Can I monitor the token usage of my API key?
code
What should I do if I forget my API key?
code
Do API keys expire?
code
Why is the first request for some models slow?
code
Is user input data used for training your models?
Billing-related common questions
attach_money
Is billing based on the number of sentences or requests?
attach_money
Is there a free trial available for new users?
attach_money
Are tokens charged for failed requests?
attach_money
What payment methods are accepted?
attach_money
Is invoicing available for token purchases?