Blog/RAG

Best search API for RAG (2026): full pages, chunks and citations

For RAG: Exa returns full-page text with the best accuracy (92 on Datacircle, $7 per 1,000 with text included), Parallel returns ready-made chunks ($1), Keirolabs search + content is cheapest full pages ($1.33–4.00).

For RAG over the open web, Exa is the most accurate search API that returns full-page text in the same call (92 on Datacircle; $7 per 1,000 searches, page text included), Parallel returns the most RAG-ready chunks, excerpts already picked for your question ($1 per 1,000 on fast and turbo), and Keirolabs search + content is the cheapest full-page markdown at $1.33–4.00 per 1,000. Jina Search returns page text for about $0.50 per 1,000, billed by tokens. Prices checked November 15, 2026 on each vendor’s pricing page.

What does a RAG pipeline need from a search API?

A web RAG pipeline searches, retrieves page content, splits it into chunks, picks the chunks that answer the question, and passes them to the LLM with citations. The search API decides how much of that you have to build:

  1. Full-page content or excerpts. Snippets of 150 characters rarely hold the answer. You need the page, or the right part of it.
  2. Clean text. Markdown without menus, cookie banners and ads, so your chunks are content.
  3. Citations. A URL and title per chunk, so the answer can link its sources.
  4. Freshness. Recent pages for news, prices and versions; a cached index is fine for evergreen facts.
  5. Token control. Every chunk you keep is a token the LLM reads.

Which search APIs return content for RAG?

APIOne call returnsChunks or full page?Price per 1,000 searchesTokens per call (5 results)
ExaLinks plus page text, highlights or summariesFull page, or highlights as chunks$7, text included1,982 (text capped at 1,500 characters)
ParallelExcerpts compressed for your objectiveChunks, chosen for the question$1 (fast, turbo), $5 (basic)1,280–1,953
Keirolabs search + contentResults with full-page markdownFull page$1.33–4.00Depends on pages
Keirolabs liteLinks and short snippetsSnippets only$0.03–0.10320
TavilySnippets, optional raw page contentFull page with include_raw_content$8, $5 at volume1,456 (snippets)
Firecrawl searchResults, optionally scraped to markdownFull page$1.50–7.60425 (without scraping)
Jina SearchFive results with page textFull pageabout $0.50, billed by tokensDepends on pages
LinkupResults, or a sourced answerChunks or an answer$5 (standard)1,933

Tokens per call are from our run of 308 queries on November 11 and 15, 2026, counted with o200k_base.

Full pages or chunks: which is better for RAG?

Chunks chosen by the API (Parallel excerpts, Exa highlights) save you the chunking and ranking step and keep the context small. They work well when the question is clear and the answer sits in one place on the page.

Full pages (Exa text, Keirolabs search + content, Firecrawl, Jina) give you everything, and you chunk and rank yourself. That is better when the answer is spread across a page, when you need tables or code blocks intact, or when you store pages in a vector database for later questions.

A common pattern: retrieve full pages, split them into 500–1,000 token chunks, embed the chunks, and keep the top 5–10 by similarity to the question. If you don’t need to store anything, let the API pick the excerpts and skip that step.

How accurate is retrieval?

APISimpleQADatacircle
Keirolabs Deep96.5% (Keirolabs’ run)91
Exa95.4% (You.com’s run)92
Parallel94.87% (You.com’s run)84
Firecrawl94.7% (Firecrawl’s claim)72
Tavily93.3% (Tavily’s run)Not scored
Keirolabs lite92.0% (Keirolabs’ run)78
Linkup91.0 F (Linkup’s run, deep)40

In RAG, retrieval quality caps answer quality: the LLM can’t cite a page the search didn’t find. Datacircle’s independent test (91 APIs, the same 99 searches) is the fairest comparison; SimpleQA scores are vendor-published.

What does RAG retrieval cost per 1,000 questions?

Say each question needs one search and the content of three pages:

SetupCost per 1,000 questions
Keirolabs search + content (pages included)$1.33–4.00
Parallel fast (excerpts included)$1
Exa auto with text$7
Tavily basic with raw content$8
Keirolabs lite + 3 extract calls ($1.78–5.33 per 1,000 each)$5.37–16.09

Then add LLM reading cost: at $3 per million input tokens, 3,000 tokens of context per question is $9 per 1,000 questions, usually more than the search. Tight chunks pay for themselves.

How fresh are the results?

Search APIs with their own index (Exa, Parallel, Keirolabs, Brave) refresh it on their own schedule; APIs that fetch pages live at query time (Firecrawl scraping, Jina, extract endpoints) always get the current page. For news, prices or software versions, fetch the page live or check the published date in the results. Exa and Parallel return a published date where they have one (Tavily on news searches), so your pipeline can drop stale pages.

What does the code look like?

Exa search with page text, capped per result:

curl https://api.exa.ai/search \
  -H "x-api-key: $EXA_KEY" -H "Content-Type: application/json" \
  -d '{"query": "postgres 17 logical replication changes", "type": "auto",
       "numResults": 5, "contents": {"text": {"maxCharacters": 3000}}}'

Parallel search with an objective; excerpts come back without asking:

curl https://api.parallel.ai/v1/search \
  -H "x-api-key: $PARALLEL_KEY" -H "Content-Type: application/json" \
  -d '{"objective": "What changed in logical replication in Postgres 17?",
       "search_queries": ["postgres 17 logical replication"], "mode": "fast",
       "advanced_settings": {"max_results": 5}}'

Each result carries a URL and title. Keep them with every chunk you pass to the LLM, number the chunks in the prompt, and ask the model to cite chunk numbers. Then map the numbers back to URLs in your answer. That gives you citations the user can click, and lets you check the model didn’t cite a page it never saw.

Which one should I pick for RAG?

  • Best answers, budget allows: Exa with text or highlights.
  • Lowest tokens per answer: Parallel, whose excerpts are already the chunks.
  • Cheapest full pages: Keirolabs search + content, or Jina Search.
  • Pages you want to crawl and store: Firecrawl, which can also crawl whole sites.
  • Already on LangChain or LlamaIndex: Tavily’s retriever is built in; turn on raw content.

Sources

Related: token-efficient search APIs · URL to markdown APIs · best web search API for AI agents.

FAQ

What is the best search API for RAG?

Exa for accuracy with full-page text (92 on Datacircle), Parallel for ready-made chunks at $1 per 1,000, and Keirolabs search + content for the cheapest full-page markdown ($1.33–4.00 per 1,000).

Which search API returns full page content?

Exa (text), Keirolabs search + content (markdown), Tavily (include_raw_content), Firecrawl (scrape option) and Jina Search all return page content with search results.

Do I need a vector database for web RAG?

Not always. If you search fresh for every question, you can rank chunks in memory and skip storage. A vector database helps when the same pages answer many questions.

How many search results should RAG use?

Five is usually enough. Most answers sit in the top five, and every extra result is tokens the LLM must read.

Topic hub

More on search apis for ai and agents

  1. Best web search APIs in 2026, ranked on two benchmarksStart here
  2. Best MCP server for web search (2026): Claude Code and Cursor
  3. Best web search API for deep research (2026): price per run
  4. Best web search APIs and MCPs for AI agents (2026): 9 compared
  5. Fastest web search API for AI agents (2026): latency in ms
  6. Most accurate web search API for AI agents (2026): SimpleQA
  7. Parallel task vs Exa research vs Tavily extract (2026): per run
  8. Parallel vs Brave Search API (2026): price, index, accuracy
  9. Parallel vs Exa (2026): price, speed and accuracy for agents
  10. Parallel vs Perplexity Sonar (2026): Search, Tasks, Answers
  11. Parallel vs Tavily (2026): which search API runs your agent?
  12. Serper vs Exa (2026): Google snippets or page text for AI?
  13. Tavily vs Exa vs Parallel vs Perplexity Sonar (2026) compared
  14. Tavily vs Exa vs Serper pricing (2026): which is cheapest
  15. Token-efficient search API (2026): tokens per call, 11 measured
  16. Brave Search API vs Tavily (2026): price, scores, which to use
  17. Cheapest web search API for AI agents and RAG (2026): 12 ranked
  18. Best Exa alternatives (2026): 8 AI search APIs compared
  19. Linkup pricing (2026): $5 per 1,000 searches, deep $50, fetch
  20. Best Brave Search API alternatives (2026): 8 per 1,000
  21. Best Google search API for Python (2026): 6 options with code
  22. Best Linkup alternatives (2026): 8 search APIs per 1,000
  23. Web search in LM Studio and Open WebUI: free and paid setups, step by step
  24. Best Perplexity API alternatives (2026): search and answers
  25. Tavily MCP, Exa MCP and Keirolabs MCP: setup for Claude Code, Cursor and LM Studio
  26. Tavily vs Perplexity vs Exa: search API pricing, accuracy and which to pick
  27. Best Parallel AI alternatives (2026): 7 search APIs compared
  28. Parallel search API pricing (2026): $1–5 per 1,000, every API
  29. Tavily API pricing (2026): $8 per 1,000 searches, from $30
  30. Keirolabs: pricing, endpoints, benchmarks and how to start
  31. OpenAI web search API (2026): $10 per 1,000 calls vs search APIs
  32. Tavily vs Exa (2026): which search API should you use?
  33. Exa pricing per 1,000 requests (2026): search $4–15, contents $1
  34. Tavily API key: get one free in 2 minutes, plus the real cost per search
  35. Best web search API for AI agents (2026): latency, cost, accuracy
  36. Free web search API (2026): 9 free tiers, no credit card needed
  37. What is a web search API? Types, prices and how to pick one (2026)
  38. Perplexity Sonar API pricing (2026): Search $5 or $1 per 1,000
  39. Best Tavily alternatives for AI agents (2026): after Nebius

Keep reading

WebSearch
APIs
Submit an API