Documents
Read a page range as markdown
Bounded to 40 pages and 120k characters, CLAMPED rather than rejected. Text is assembled from the page windows overlapping the range, so covered may differ from requested — cite covered.
Pages are transcribed from rendered pixels, not the PDF text layer, so scanned tables come through as text and an unreadable page is a marked hole, never a silent omission.
get/v1/documents/{id}/text
Request
- Base URL: https://api.openpublica.com
- URL: https://api.openpublica.com/v1/documents/{id}/text
- Auth: none declared
Path parameters
idstring required
Document id.
Query parameters
first_pageinteger
last_pageinteger
Defaults to first_page + 39.
Response
The markdown for the covered range
Changes
No recorded changes to this operation across all 1 revision of this API.