Paperful Icon
Paperful
Search

Every document.
Instantly searchable.

Unlock powerful search across your entire document library. Combine keyword precision with semantic understanding, query expansion, and reranking.

Free to start. No credit card required.

Search that gets it

Match the exact words, the meaning, or both. Then let AI expand your query and rerank what it finds.

Combines semantic relevance with text matching

Query expansion and reranking are on by default for hybrid and semantic search. Full-text stays exact.

Search in one call

Results stream in as they're found, then settle once reranked.

search.ts
1const { items } = await paperful.search.query(
2 "how did revenue change in europe?", {
3 expand: true,
4 rerank: true,
5 // every step, results arrive before they are reranked
6 onEvent: ({ event, data }) => {
7 console.log(event, data);
8 },
9 },
10);
// onEventpending
    → items[0]
    waiting for results…

    Every result, traceable

    Each result carries its passage, why it ranked, and exactly where it came from.

    Passage

    docs

    The matching content, with every matched term and where it appears.

    Marketing revenue grew 24% on every channel, with Europe leading the quarter on new signups.

    matches: revenue, europe

    Signals

    docs

    Know why a result ranks where it does.

    • Relevance94%
      how well it answers, from the reranker
    • Score0.86
      match strength, from the engine
    • Distance0.21
      semantic, lower is closer

    Pages

    docs

    Every result points to the nodes it came from and their page, so you can show users exactly where an answer is.

    nodes[0]Textpage 4 of 12

    Paper

    docs

    The paper the passage belongs to, with your metadata, ready to filter or display.

    quarter_performance.pdfpaper_8f2k…
    region: "emea"quarter: "Q3"year: 2025

    Search only the papers that matter

    Filter by your own metadata, the same filters you use to list papers.

    Toggle a filter
    paperful.search.query("total amount", { metadata: {
    category: ["invoice", "receipt"],
    amount: { gte: 100 },
    paid: true,
    }});
    2 of 6 papers searched
    • invoice-2041.pdfTotal amount due: $150.00
    • invoice-2042.pdfTotal amount: $80.00, due in 30 days
    • receipt-0193.pngAmount paid in total: $120.00
    • contract-acme.docxThe total contract amount is $12,000
    • invoice-2043.pdfTotal amount due: $420.00
    • receipt-0194.heicTotal: $35.00, paid by card

    For Developers and Agents

    Build search into your apps and RAG pipelines, or let AI agents search your papers on their own.

    Developers

    Search from SDKs or the API, filter by your own metadata, and ground your apps and RAG pipelines in the passages that matter.

    const { items } = await paperful.search.query(
    "How did revenue change in Europe?",
    {
    mode: "hybrid",
    expand: true,
    rerank: true,
    metadata: {
    region: "emea",
    category: ["report", "deck"],
    year: { gte: 2024 },
    },
    },
    );

    Agents

    Connect AI agents through our hosted MCP, and they search your papers on their own, citing the paper and page behind every answer.

    What do my papers say about revenue growth in Europe?
    searchquery: "revenue growth europe"
    EMEA sales grew 18% quarter over quarter, led by Germany.
    q3-report.pdfp. 4
    And how did the US compare?
    searchquery: "revenue growth us"
    The US grew faster for the year, while Europe stayed flat.
    annual-report.pdfp. 2

    Enterprise Ready

    Secure, compliant and built for scale.

    Reliable & Scalable

    Process one document or millions with the same API.

    Your Data, Your Control

    Your data stay yours. We never train on it.

    Built for Developers

    Simple APIs, SDKs and tools to build faster.

    Frequently Asked Questions

    Run your first search