Skip to main content
POST
Extract one named section (Risk Factors, MD&A, Business …) of a 10-K / 10-Q / 8-K filing as plain text or HTML. Returns a Filing with text and sections filled.

Authorizations

Authorization
string
header
required

AgentKey API key (ak_…).

Body

application/json
section
enum<string>
required

Section id: 10-K item (1A = Risk Factors, 7 = MD&A), 10-Q part/item (part1item2 = MD&A), or 8-K item (2-2 = Results of Operations).

Available options:
1,
1A,
1B,
1C,
2,
3,
4,
5,
6,
7,
7A,
8,
9,
9A,
9B,
9C,
10,
11,
12,
13,
14,
15,
part1item1,
part1item2,
part1item3,
part1item4,
part2item1,
part2item1a,
part2item2,
part2item3,
part2item4,
part2item5,
part2item6,
1-1,
1-2,
1-3,
1-4,
1-5,
2-1,
2-2,
2-3,
2-4,
2-5,
2-6,
3-1,
3-2,
3-3,
4-1,
4-2,
5-1,
5-2,
5-3,
5-4,
5-5,
5-6,
5-7,
5-8,
6-1,
6-2,
6-3,
6-4,
6-5,
6-6,
6-10,
7-1,
8-1,
9-1,
signature
url
string
required

Primary document URL on www.sec.gov (…/Archives/edgar/data///.htm).

fields
string[]

Projection: keep only these dotted paths of data, e.g. ["items.id", "items.text"].

format
enum<string>
default:text

Return the section as plain text or as the original HTML.

Available options:
text,
html
include_raw
boolean
default:false

Attach the raw upstream payload as raw (not a stable contract; truncated above 256 KB).

provider
string

Shorthand for routing.only = [provider].

routing
object

Provider routing override. order: try these providers first; only: restrict to these (equivalent to pinning); allow_fallbacks: false tries only the first eligible provider.

Response

Success envelope

Success envelope whose data is a Filing.

attempts
object[]
required
credits_charged
number
required

Credits charged for this call (the method's fixed price).

data
object
required

A regulatory filing (SEC EDGAR). Search methods fill the metadata; finance.filings.get fills text / sections for one document.

op
string
required

Method name.

op_version
integer
required

Method version that served the call.

provider
string
required

Provider that actually served the call.

request_id
string
required

Correlation id; quote it in support requests.

took_ms
integer
required
unsupported_fields
string[]
required

Output paths this provider structurally does not supply; such fields are null for a different reason than 'missing on this record'.

raw
any

Upstream payload, only with include_raw=true. Not a stable contract.

raw_truncated
boolean