PDF Quote Finder & Page Citation Locator
Pricing
$0.01 / pdf quote location
PDF Quote Finder & Page Citation Locator
Find quoted text in a public PDF's embedded text and return its page, passage, context, matching method, document hash, metadata, redirects, and retrieval provenance.
Pricing
$0.01 / pdf quote location
Rating
0.0
(0)
Developer
VinceSoft
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
7 days ago
Last modified
Categories
Share
What does PDF Quote Finder & Page Citation Locator do?
Find a quote in a public PDF and get its passage and physical page number for a citation. For example, the RFC 9651 quote example finds the passage below on PDF page 4. The result also includes page-local offsets, surrounding context, document hash, and retrieval provenance.
{"url": "https://www.rfc-editor.org/rfc/rfc9651.pdf","text": "This document introduces a set of common data structures for use in definitions of new HTTP field values to address these problems.","matching": "normalized"}
Read verification.match, verification.passage, and verification.location.startPage in the single output item. A successful result for this example has verification.match: true and verification.location.startPage: 4 (one-based physical PDF page). The printed page label, when present, is separate from the physical page number. To check whether a passage occurs in a different PDF, start with the passage-check example.
The Actor retrieves one public HTTPS PDF, parses only its embedded text with PDF.js, and searches a documented extracted-text representation. It does not use an LLM, OCR, browser rendering, uploads, authentication, batches, visual coordinates, or semantic verification. A no-match means only that the text was not found in this embedded-text representation; it does not prove that the text is absent from page images or that a source supports a claim.
For a non-PDF web page, use Source Quote Verifier.
Why use PDF Quote Finder & Page Citation Locator?
- Find a quote and its physical PDF page number before creating a citation.
- Return compact evidence instead of a full document-text payload.
- Use exact, Unicode/whitespace/punctuation-normalized, or deterministic fuzzy matching.
- Receive SHA-256 hashes, redirects, retrieval timestamps, PDF metadata, page coverage, and stable machine errors.
- Keep SSRF, redirect, decompression, PDF page, extracted-text, parser-time, and worker-memory limits fixed and safe by default.
- Invoke it through the Apify API, schedules, integrations, or Apify MCP, with standard monitoring and dataset export.
Example agent queries: “Find this quote and page number in a PDF,” “Does this PDF contain the quoted passage?”, “Locate this sentence in a PDF,” and “Return a PDF citation location for this text.”
What data does the PDF quote locator return?
| Field | Type | Description |
|---|---|---|
verification | object | Match decision, method, score, passage, context, global offsets, and page locations |
verification.location | object | First match's one-based physical page(s) and local/global UTF-16 offsets |
verification.locations | array | Up to 20 exact/normalized occurrences in document order |
source | object | Redacted URLs, status, hash, byte length, timestamp, and redirects |
pdf | object | PDF.js version, PDF format, physical page count, labels, and sanitized metadata |
extraction | object | Embedded-text page coverage and representation facts |
warnings / error | array / object | Stable machine-readable limitations and failure details |
How to find a quote and page number in a PDF
- Open the Actor's Input tab.
- Enter a direct public HTTPS PDF URL.
- Paste the text to locate.
- Use
normalizedfor typical quotations; selectexactonly for literal extracted text, orfuzzyfor limited deterministic variation. - Start the run and inspect the single dataset item for
verification.location.
Respect the source's terms, copyright restrictions, privacy expectations, and applicable law when retrieving a PDF.
How much does PDF Quote Finder & Page Citation Locator cost?
The published Actor charges $0.01 for one completed pdf-quote-location determination. A match and an embedded-text no-match each produce one billable result. Invalid or password-protected PDFs, resource-limit failures, PDFs without extractable text, parser failures, and network failures are not charged. The live Pricing tab shows the current platform price. Release testing recorded one charge per completed determination and a 20-run p95 platform cost of $0.0002607.
Input
See the Input tab for the complete schema. The V1 contract deliberately has only three fields:
Copy the RFC 9651 input at the top of this page, or replace its URL and quote with your own public PDF and passage.
url must be a public HTTPS URL with no credentials. A URL fragment such as #page=4 is ignored and reported as URL_FRAGMENT_IGNORED; it never changes matching behavior. text must contain non-whitespace characters and is limited to 5,000 UTF-16 code units. Exact matching compares PDF.js content-order output literally. Normalized matching uses NFKC, case folding, whitespace collapse, and equivalent quote/dash punctuation; it intentionally does not remove line-break hyphens. Fuzzy matching is a fixed token-F1 plus character-trigram-Dice algorithm and returns only its single best candidate.
Output
You can download the single dataset envelope in JSON, HTML, CSV, or Excel. Exact and normalized locations are exhaustive in totalOccurrenceCount, while the returned location list is capped at 20.
{"contractVersion": "1.0","ok": true,"pdf": { "physicalPageCount": 35, "pdfJsVersion": "6.2.108" },"verification": {"match": true,"matchType": "normalized_exact","searchScope": "embedded_text_only","passage": "This document introduces a set of common data structures for use in definitions of new HTTP field values to address these problems.","totalOccurrenceCount": 1,"location": {"startPage": 4,"endPage": 4}},"source": { "contentHash": "sha256:5501984b4771fcf7c2da04f49067c1483d9a3f82d428f24a8dc9dea43fead758" },"warnings": []}
Limits and accuracy
V1 accepts a single PDF up to 10 MiB after decompression, at most 200 physical pages, and at most 2,000,000 extracted UTF-16 code units. It uses one newline between trimmed physical-page strings; the separator belongs to neither page. Results never contain the complete extracted document text.
PDF layout order may differ from visual reading order, and hyphenation across a rendered line can prevent an exact or normalized match. This Actor does not reconstruct columns, tables, glyph positions, or text from images. It returns textual occurrence evidence only and never asserts citation correctness, semantic support, entailment, or factual truth.
FAQ, disclaimer, and support
Why did a scanned PDF return NO_EXTRACTABLE_TEXT?
The PDF has no usable embedded text. OCR and image-text claims are intentionally outside V1, so no textual no-match can be inferred from rendered page images.
Why is a result free but ok: false?
The document may be invalid, password-protected, too large, over the page/text limits, or lack embedded text. These are structured handled outcomes. Transport, timeout, worker, and unexpected parser failures also persist an error item where possible but fail the run because they are operational failures.
This Actor only retrieves public data that the user chooses to provide. Results may contain personal data from public PDFs; process them only with a legitimate purpose and in compliance with GDPR, other applicable regulations, source terms, and copyright law. For help or feedback, use the Actor's Issues tab. Programmatic callers can use the API tab and Apify MCP.