{"openapi":"3.0.3","info":{"title":"Filings Oracle (WickedAPI)","version":"1.0.0","description":"Real-time SEC EDGAR alerts for agents. 8-K material events classified by item and category, Form 4 insider trades parsed to one row per transaction, and Schedule 13D/13G, 10-K and 10-Q filings, ingested within about a minute of SEC acceptance. Every row traces to a real SEC filing - nothing is inferred or fabricated.\n\n**Access - both work on every paid endpoint:**\n1. **API key** - `x-api-key` header.\n2. **x402 pay-per-call** - no signup: call with no key, receive a 402 for $0.002/request in USDC on base, pay via an x402 client, get 200 + data."},"servers":[{"url":"https://filings.wickedapi.com"}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"Envelope":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object"},"meta":{"type":"object","required":["timestamp"],"properties":{"timestamp":{"type":"string","format":"date-time"}},"additionalProperties":true}}}}},"paths":{"/health":{"get":{"operationId":"get_health","summary":"Liveness check","description":"Liveness check.","tags":["Meta"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"502":{"description":"Upstream/database failure - real error, never fabricated data"}},"security":[]}},"/v1/status":{"get":{"operationId":"get_v1_status","summary":"Service catalog","description":"Service catalog.","tags":["Filings"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"502":{"description":"Upstream/database failure - real error, never fabricated data"}},"security":[]}},"/v1/freshness":{"get":{"operationId":"get_v1_freshness","summary":"Proof of real-time: seconds since the last successful SEC poll, age of the newest filing, median and p95 ingest lag (from SEC acceptance time) over the last 200 live filings, last successful poll per form type, and rows stored","description":"Free. Proof of real-time: seconds since the last successful SEC poll, age of the newest filing, median and p95 ingest lag (from SEC acceptance time) over the last 200 live filings, last successful poll per form type, and rows stored.\n\n**Example:** `/v1/freshness`","tags":["Filings"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"502":{"description":"Upstream/database failure - real error, never fabricated data"}},"security":[]}},"/v1/latest-preview":{"get":{"operationId":"get_v1_latest_preview","summary":"The 10 most recent filings across all form types (form, company, ticker, filed_at only)","description":"Free. The 10 most recent filings across all form types (form, company, ticker, filed_at only). Full structured data, filtering and cursors need /v1/filings.\n\n**Example:** `/v1/latest-preview`","tags":["Filings"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"502":{"description":"Upstream/database failure - real error, never fabricated data"}},"security":[]}},"/v1/filings":{"get":{"operationId":"get_v1_filings","summary":"Structured SEC filings feed (8-K, Form 4, Schedule 13D/13G, 10-K, 10-Q), ingested within about a minute of SEC acceptance","description":"Structured SEC filings feed (8-K, Form 4, Schedule 13D/13G, 10-K, 10-Q), ingested within about a minute of SEC acceptance. Filter by form, ticker, CIK or 8-K item; page with a cursor, or long-poll with wait= to receive the next filing the moment it lands.\n\n**Example:** `/v1/filings?form=8-K&item=5.02&days=1`","tags":["Filings"],"parameters":[{"name":"form","in":"query","required":false,"description":"Optional. Comma list: 8-K, 4, SCHEDULE 13D, SCHEDULE 13G, 10-K, 10-Q (amendments included). Default all.","schema":{"type":"string"}},{"name":"ticker","in":"query","required":false,"description":"Optional. Ticker symbol, e.g. NVDA.","schema":{"type":"string"}},{"name":"cik","in":"query","required":false,"description":"Optional. SEC CIK number.","schema":{"type":"string"}},{"name":"item","in":"query","required":false,"description":"Optional. 8-K item number, e.g. 5.02 (executive change) or 2.02 (earnings).","schema":{"type":"string"}},{"name":"days","in":"query","required":false,"description":"Optional. Look back N days (default 2, max 90). Ignored when since is set.","schema":{"type":"number"}},{"name":"since","in":"query","required":false,"description":"Optional. Cursor from a previous response (meta.cursor): returns only filings stored after it, oldest first.","schema":{"type":"number"}},{"name":"wait","in":"query","required":false,"description":"Optional. With since: hold the request up to N seconds (max 25) until a new filing arrives.","schema":{"type":"number"}},{"name":"limit","in":"query","required":false,"description":"Optional. Max rows (default 50, max 200).","schema":{"type":"number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"402":{"description":"Payment required - pay per call via x402 (USDC on Base)."},"502":{"description":"Upstream/database failure - real error, never fabricated data"}},"security":[{"ApiKeyAuth":[]},{}],"x-402":{"scheme":"exact","network":"base","price":"$0.002","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x63EbccD826b874CE988e6498eAabB6Bd47AfC8A4"}}},"/v1/8k-events":{"get":{"operationId":"get_v1_8k_events","summary":"8-K material-event alerts classified into categories an agent can act on: earnings, exec_change, material_agreement, acquisition_disposition, bankruptcy, delisting, cybersecurity, auditor_or_restatement, control_change, financing, restructuring_impairment, shareholder_vote, governance, reg_fd, other_events","description":"8-K material-event alerts classified into categories an agent can act on: earnings, exec_change, material_agreement, acquisition_disposition, bankruptcy, delisting, cybersecurity, auditor_or_restatement, control_change, financing, restructuring_impairment, shareholder_vote, governance, reg_fd, other_events. Each event lists every item with its official label.\n\n**Example:** `/v1/8k-events?category=bankruptcy&days=7`","tags":["Filings"],"parameters":[{"name":"category","in":"query","required":false,"description":"Optional. One of the category names above. Default all.","schema":{"type":"string"}},{"name":"ticker","in":"query","required":false,"description":"Optional. Ticker symbol.","schema":{"type":"string"}},{"name":"days","in":"query","required":false,"description":"Optional. Look back N days (default 2, max 90). Ignored when since is set.","schema":{"type":"number"}},{"name":"since","in":"query","required":false,"description":"Optional. Cursor from meta.cursor of a previous response.","schema":{"type":"number"}},{"name":"wait","in":"query","required":false,"description":"Optional. With since: long-poll up to N seconds (max 25).","schema":{"type":"number"}},{"name":"limit","in":"query","required":false,"description":"Optional. Max rows (default 50, max 200).","schema":{"type":"number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"402":{"description":"Payment required - pay per call via x402 (USDC on Base)."},"502":{"description":"Upstream/database failure - real error, never fabricated data"}},"security":[{"ApiKeyAuth":[]},{}],"x-402":{"scheme":"exact","network":"base","price":"$0.002","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x63EbccD826b874CE988e6498eAabB6Bd47AfC8A4"}}},"/v1/insider-trades":{"get":{"operationId":"get_v1_insider_trades","summary":"Form 4 insider transactions parsed to one row per trade: insider, role and title, security, code (P purchase, S sale, A grant ...), shares, price, dollar value, shares owned after, direct/indirect, and whether it was under a 10b5-1 plan","description":"Form 4 insider transactions parsed to one row per trade: insider, role and title, security, code (P purchase, S sale, A grant ...), shares, price, dollar value, shares owned after, direct/indirect, and whether it was under a 10b5-1 plan. Defaults to open-market buys and sells only.\n\n**Example:** `/v1/insider-trades?side=buy&min_value=100000&exclude_10b5_1=true`","tags":["Filings"],"parameters":[{"name":"ticker","in":"query","required":false,"description":"Optional. Issuer ticker symbol.","schema":{"type":"string"}},{"name":"side","in":"query","required":false,"description":"Optional. buy or sell (open-market purchases / sales).","schema":{"type":"string"}},{"name":"min_value","in":"query","required":false,"description":"Optional. Minimum trade value in USD.","schema":{"type":"number"}},{"name":"owner","in":"query","required":false,"description":"Optional. Case-insensitive substring of the insider's name.","schema":{"type":"string"}},{"name":"role","in":"query","required":false,"description":"Optional. director, officer or 10pct_owner.","schema":{"type":"string"}},{"name":"all_codes","in":"query","required":false,"description":"Optional. true to include grants, option exercises, tax withholding and gifts (default false: open-market P and S only).","schema":{"type":"string"}},{"name":"exclude_10b5_1","in":"query","required":false,"description":"Optional. true to drop trades made under a pre-arranged 10b5-1 plan.","schema":{"type":"string"}},{"name":"days","in":"query","required":false,"description":"Optional. Look back N days (default 7, max 90). Ignored when since is set.","schema":{"type":"number"}},{"name":"since","in":"query","required":false,"description":"Optional. Cursor from meta.cursor of a previous response.","schema":{"type":"number"}},{"name":"wait","in":"query","required":false,"description":"Optional. With since: long-poll up to N seconds (max 25).","schema":{"type":"number"}},{"name":"limit","in":"query","required":false,"description":"Optional. Max rows (default 50, max 200).","schema":{"type":"number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"402":{"description":"Payment required - pay per call via x402 (USDC on Base)."},"502":{"description":"Upstream/database failure - real error, never fabricated data"}},"security":[{"ApiKeyAuth":[]},{}],"x-402":{"scheme":"exact","network":"base","price":"$0.002","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x63EbccD826b874CE988e6498eAabB6Bd47AfC8A4"}}},"/v1/insider-summary":{"get":{"operationId":"get_v1_insider_summary","summary":"Insider activity rollup for one ticker over a window: open-market buy and sell counts and dollar totals, net flow, distinct buyers and sellers, a cluster-buying flag (three or more insiders buying), and the largest trades","description":"Insider activity rollup for one ticker over a window: open-market buy and sell counts and dollar totals, net flow, distinct buyers and sellers, a cluster-buying flag (three or more insiders buying), and the largest trades.\n\n**Example:** `/v1/insider-summary?ticker=NVDA&days=30`","tags":["Filings"],"parameters":[{"name":"ticker","in":"query","required":true,"description":"Required. Issuer ticker symbol.","schema":{"type":"string"}},{"name":"days","in":"query","required":false,"description":"Optional. Window in days (default 30, max 90).","schema":{"type":"number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"402":{"description":"Payment required - pay per call via x402 (USDC on Base)."},"502":{"description":"Upstream/database failure - real error, never fabricated data"}},"security":[{"ApiKeyAuth":[]},{}],"x-402":{"scheme":"exact","network":"base","price":"$0.002","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x63EbccD826b874CE988e6498eAabB6Bd47AfC8A4"}}},"/v1/filing":{"get":{"operationId":"get_v1_filing","summary":"One filing by accession number, with its parsed items or insider transactions and the SEC document link","description":"One filing by accession number, with its parsed items or insider transactions and the SEC document link.\n\n**Example:** `/v1/filing?accession=0001731122-26-001341`","tags":["Filings"],"parameters":[{"name":"accession","in":"query","required":true,"description":"Required. SEC accession number, e.g. 0001731122-26-001341.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"402":{"description":"Payment required - pay per call via x402 (USDC on Base)."},"502":{"description":"Upstream/database failure - real error, never fabricated data"}},"security":[{"ApiKeyAuth":[]},{}],"x-402":{"scheme":"exact","network":"base","price":"$0.002","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x63EbccD826b874CE988e6498eAabB6Bd47AfC8A4"}}}}}