- The right papers in the top few results for a question written in plain language, because agents ask in sentences.
- Full-text snippets, not just titles, so the model reads the passage that supports a claim.
- Metadata to weigh the evidence, so the model can prefer a meta-analysis to a case report.
- Stable identifiers, so every claim the model makes stays citable.
How the APIs compare for RAG
Full-text snippets, ready for a prompt
Addinclude_full_text_chunks=true to a Consensus search on a paid plan. Each eligible result gains up to 3 passages from the body of the paper, chosen for your query, each starting with the section it came from. You get the doses, methods and measured values that abstracts leave out, without downloading and chunking PDFs.
Python
abstract and takeaway. See Full text in the API.
Or let Consensus run the agent
If you’d rather not build the retrieval loop, the Threads API runs the Consensus research agent for you. It does more than search: it plans a multi-step strategy, crawls citations backward and forward from key papers, looks up authors, finds specific papers and reads them in full. It returns a written answer with numbered citations and the quotes it relied on.proreads about 20 papers. Use it for most questions.deepreads about 50 papers and writes a structured report. It needs a paid plan.
Web search APIs vs a scholarly search API
Exa and Tavily are web search APIs built for AI agents. Exa’s search endpoint “lets you search the web”, and offers apublication category for research papers and journal articles8. Tavily calls itself “the web layer for AI agents”9. They’re the right tools for news, company pages and the open web.
The biggest difference is full text. Consensus searches the full text of papers from 13 publisher partners, including 7 of the 10 largest academic publishers, as well as every open-access paper, and hands your agent the passage from the paper that supports the point. That text isn’t on the open web, so a web index can’t search it. Search results carry snippets from open-access papers, and the research agent’s citations carry the quotes it relied on.
A scholarly API also gives your agent:
- A defined corpus of papers, each with a DOI, journal and year, instead of a mix of papers, press releases and blog posts.
- Evidence metadata, so the agent can tell a randomized trial from a case report and a peer-reviewed paper from a preprint.
- Retraction handling. Consensus marks retracted papers and never uses them in its AI answers.
In production
- Owkin replaced a hand-maintained set of PubMed abstracts with the Consensus MCP server inside its AI scientist, and got 25x the paper coverage. See Swap a hand-maintained paper corpus.
- Phylo’s agents fan each biology question out into parallel Consensus API searches to screen about 20,000 drug targets. See Parallel search angles.
Related
Add an evidence layer to an agent
Give a working agent peer-reviewed literature as a tool.
Compare scholarly APIs
Why teams choose Consensus, and every API at a glance.
Sources
Facts about other providers were checked against their official documentation on 5 November 2026. Limits and prices change, so check the source before you build on a number.- PubMed User Guide: Boolean operators, field tags, MeSH and Best Match sorting.
- About PMC: “more than 10 million full-text article records”.
- About Europe PMC: 49.2 million abstracts and 12.5 million full-text articles; searches abstracts and full text; searches can be limited to clinical trials, preprints or article sections such as Methods; free to anyone.
- Europe PMC developer resources: REST, SOAP, OAI-PMH and FTP access to open-access content and metadata; automated bulk download of other content isn’t allowed. The Articles RESTful API includes
/{id}/fullTextXML. - OpenAlex semantic search: embeds title, abstract and venue name; up to 50 results per query; 1 request a second; 17 supported filters, and others such as
cited_by_countreturn a 400 error. - OpenAlex full text: cached PDF and TEI XML for more than 60 million open-access works.
- Semantic Scholar Academic Graph API reference:
/paper/search(up to 1,000 relevance-ranked results),/paper/search/bulk(Boolean),/snippet/search(passages of about 500 words from title, abstract and body), and thepublicationTypes,minCitationCountandvenuefilters. - Exa search API reference: “The search endpoint lets you search the web”; the
publicationcategory covers research papers, preprints and journal articles. - About Tavily: “the web layer for AI agents”.