v1

latestOpenAPI 3.0.3Proprietary2026-07-244065126.5 KB
Documents

Retrieve Document Content

Return the processed flat text of a supported document (10-K, 10-Q, 8-K, News Article, Others). The response is a flat shape with no pagination and no section list; callers that need the section list or the recommended_call hint use the /metadata endpoint, and callers that need the original document file use GET /api/v2/documents/{id}. By default the response is capped at max_characters (100000) and truncated=true is set when the cap is hit. Pass full_content=true to bypass the cap. Filing types outside the allowlist return 400 with a reason; an unknown section name returns 400 with the available_sections list so the caller can recover. Earnings call transcripts are excluded from whole-document access and return 403; use /documents/keyword-search to query transcript content.

get/api/v2/documents/{document_id}/content

Path parameters

document_idinteger required

The unique identifier of the document.

Query parameters

full_contentboolean

When true, max_characters is ignored and the full text (or full section) is returned with truncated=false.

max_charactersinteger

Cap on returned characters. Defaults to 100000. Hard ceiling is 1000000; values above the ceiling are rejected. When the resolved text is longer than max_characters, the first max_characters are returned and truncated is set to true.

sectionstring

Optional section name from the document's section index. When provided, only that section's text is returned. Use GET /api/v2/documents/{id}/metadata to discover valid section names.

Response

document_idinteger required

Unique document identifier

document_typestring required

Source document type classification carried alongside filing_type. Useful for disambiguating the broad Others filing bucket (for example Earnings Presentation, Investor Day Presentation, 6-K).

filing_typestring required

Type of filing (10-K, 10-Q, 8-K, News Article, Others). Transcripts are blocked on this endpoint and return 403; use /documents/keyword-search for transcript content.

contentstring required

Document text. Capped at max_characters unless full_content=true. When section is provided, contains just that section's text.

number_of_charactersinteger required

Number of characters in the returned content.

truncatedboolean required

True when the resolved text was longer than max_characters and the response was sliced. Always false when full_content=true.