Skip to Content

Filing Document

Return a readable markdown filing document with section filtering and pagination.

Tier: registered | Cache: cold-allowed | Playground: authenticated only | Contract: 1.0.0

When To Use It

Use these tools to discover filings, inspect filing artifacts, and retrieve source-backed document evidence.

Request Examples

BASE_URL="${EDGAR_API_URL:-https://www.edgarparser.com}" curl -sS -G "$BASE_URL/api/filing/document" \ -H "Authorization: Bearer $EDGAR_API_KEY" \ --data-urlencode "accession=0000320193-25-000079" \ --data-urlencode "sections=Item 7" \ --data-urlencode "max_chars=20000"
import os import requests base_url = os.getenv("EDGAR_API_URL", "https://www.edgarparser.com") headers = {"Authorization": f"Bearer {os.environ['EDGAR_API_KEY']}"} params = { "accession": "0000320193-25-000079", "sections": "Item 7", "max_chars": 20000 } response = requests.get(f"{base_url}/api/filing/document", headers=headers, params=params, timeout=30) response.raise_for_status() data = response.json()

Key Response Fields

FieldTypeWhy It Matters
statusconst "success"Transport-level success indicator inside the JSON response.
semantic_status"ok" | "partial" | "empty" | "error" | nullWhether the response is semantically usable, partial, empty, or errored.
coverage_status"complete" | "partial" | "narrow" | "none" | nullCompleteness signal; do not present partial or narrow coverage as complete.
coverage_warningstring | nullHuman-readable explanation of missing or ambiguous coverage.
form_typestring | nullSEC form type; verify it matches the requested filing class.
markdownstringReadable filing text returned for downstream summarization or citation.
truncatedbooleanIndicates the response is incomplete and should be paged.
next_char_startinteger | nullPagination cursor for fetching the next document slice.

Response Fields To Inspect

  • accession, filing_url, form type, and period fields to confirm the filing identity.
  • Pagination or truncation fields before assuming the returned text is complete.
  • Section titles and document names when citing prose back to the filing.

Errors And Coverage

  • 401 or 403: the API key is missing, expired, or not allowed to use this tier.
  • 429: retry after the rate-limit window, and prefer broader batch or series tools over repeated single-period calls.
  • Cold work can take longer and may queue background fetch or parse work; use status fields or follow-up tools before finalizing.
  • Honor pagination and truncation metadata; request the next page instead of assuming the first response is complete.

Search Filing Text, Filing Sections, Filing Evidence

Generated Reference

Contract

FieldValue
Toolget_filing_document
MethodGET
Path/api/filing/document
Contract version1.0.0
Schema fingerprintsha256:4d559aded5c9760ccb498944a984a128254a76349348de297da30ee338ff123a

Parameters

NameLocationRequiredTypeNotes
tickerquerynostring | null
yearquerynointeger | null
quarterquerynointeger | null
sourcequerynostring
accessionquerynostring | null
cikquerynostring | null
form_typequerynostring | null
primary_documentquerynostring | null
sectionsquerynostring | null
char_startquerynointeger | null
char_endquerynointeger | null
max_charsquerynointeger

Response Schema (200)

{ "additionalProperties": true, "properties": { "char_count_total": { "type": "integer" }, "char_end": { "type": "integer" }, "char_start": { "type": "integer" }, "citation_state": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "coverage_status": { "anyOf": [ { "enum": [ "complete", "partial", "narrow", "none" ], "type": "string" }, { "type": "null" } ] }, "coverage_warning": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "filing": { "additionalProperties": true, "type": "object" }, "form_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "markdown": { "type": "string" }, "next_char_start": { "anyOf": [ { "type": "integer" }, { "type": "null" } ] }, "query": { "additionalProperties": true, "type": "object" }, "section_offsets": { "additionalProperties": { "additionalProperties": { "type": "integer" }, "type": "object" }, "type": "object" }, "sections_returned": { "items": { "type": "string" }, "type": "array" }, "semantic_status": { "anyOf": [ { "enum": [ "ok", "partial", "empty", "error" ], "type": "string" }, { "type": "null" } ] }, "status": { "const": "success", "type": "string" }, "truncated": { "type": "boolean" } }, "required": [ "status", "query", "char_count_total", "char_start", "char_end", "truncated", "markdown" ], "type": "object" }