Blog/Finance and markets
10 min read

How to Use the SEC EDGAR API for Filings

Search SEC filings from an agent or script and organize the filing details and document links for review.

How to Use the SEC EDGAR API for Filings

Build a filing review queue from a company or search term. Paste this into your agent:

Set up https://monid.ai/SKILL.md, then use the SEC EDGAR filing search to find filings for my company, form type, and date range. Organize the returned filing details and document links for review.

One prompt starts the filing search.

Developers building a research agent often start a SEC EDGAR API search by opening filing pages, copying links and assembling a queue by hand. The search described here defaults to 20 items, so a developer needs to choose a limit and decide what to review rather than treating one response as a complete research project.

A browser is useful for inspecting an individual document, but repeated searches leave the input, the date range and the retrieved links scattered across tabs. A script needs those choices in a form it can repeat, and a researcher needs enough context to find the source again.

This guide shows how to send a filing search through Monid, the OpenRouter for agent tools, and organize the described filing details for review. We will choose inputs, inspect the price and build a repeatable handoff from search to document review.

The endpoint description identifies five useful pieces of filing metadata: company, form type, filing date, accession number and a direct document link. These are described return details, not a sample result: this guide uses free inspection and does not present invented filing rows or JSON keys.

How to use the SEC EDGAR API with Monid

Use Monid to pass a company, CIK or text query and optional filters to api.kadec0.xyz /v1/sec-edgar. An endpoint is the address of a callable tool; here it is a search over filing documents, not an instruction to interpret their financial significance.

Step 1. Set up your agent or CLI

Get a key at app.monid.ai and give your agent the setup instruction below. The agent quickstart explains the setup workflow.

set up https://monid.ai/SKILL.md

For a terminal workflow, install the CLI and add your key. The CLI quickstart covers the same setup for a human operator.

npm install -g @monid-ai/cli
monid keys add -k <your-api-key> -l main

Keep the key out of source files and shared examples. Once setup is complete, discovery and inspection let you examine the tool before you authorize a paid search.

Search the catalog and inspect the matching tool. These commands show the current input options and price without executing a filing search.

monid discover -q "sec edgar api"
monid inspect -p api.kadec0.xyz -e /v1/sec-edgar

The inspected schema accepts query parameters, not a JSON request body. It requires at least one of q, company or cik; type, dateRange and maxItems are optional. The schema describes maxItems as a string and gives it a default of "20". Select a smaller value for an initial search so the review queue stays manageable.

Start with a named company and one filing type. This example asks for up to five 10-K results, using the exact parameter names and string values declared by inspection:

monid run -p api.kadec0.xyz -e /v1/sec-edgar -w \
  --query '{"company":"Apple Inc","type":"10-K","maxItems":"5"}'

Running the command is a paid action. Replace the company with the entity you actually need and confirm the result against its document link before adding it to your research. A name is a practical starting point; a CIK is useful when the identifier is already known and a name alone is ambiguous.

Step 4. Review the returned details

Read the search response and save the filing details your review process needs. The inspected description identifies the company, form type, filing date, accession number and direct document link; it does not specify JSON property names, so map the actual response after your own call instead of assuming keys.

Keep the original response alongside your extracted queue. The original gives you the context needed to revisit a mapping decision if your processing code changes. A document link is a path to the source, not a substitute for reading the document itself.

Why organize filing searches before review

A filing queue separates discovery from interpretation: first identify the documents to examine, then read and assess them. That separation makes it easier to show another reviewer which source supported a finding and to return to the same document later.

Give each search a clear purpose

Choose a research question before choosing filters. A company overview starts with a named company and a form type; a disclosure search starts with q and a phrase relevant to the question. The endpoint description supports full-text search, so the text query is a way to discover documents containing a subject, not an assertion that every match answers your question.

Write the search inputs beside the saved output: the query or identifier, form type, date range, requested limit and date of retrieval. These are records of your own process. They help explain why two review queues differ even when they concern the same company.

Keep company identity distinct from the filing

A company name, a CIK and an accession number serve different roles in the workflow. The first two are search inputs supported by the schema; the accession number is one of the details the endpoint description says it returns. Keep the identifier and the document reference with the result instead of relying only on a company name in a spreadsheet.

A separate business entity search can help with a broader entity lookup when the name in your source material needs clarification. Resolve the entity first, then put the identifier you intend to search into the filing request. Do not merge records merely because two names look alike.

The 3 ways to get filings into a workflow

The right route depends on whether the next consumer is a person reading a document or a program managing a repeatable queue. Monid provides a callable search under one key and balance, while a manual review can start with a browser and a direct document.

Choose the route for the task

RouteBilling or workBest fitLimitation
Monid filing searchPer callAn agent or script that needs search and document referencesSearch results still need review and storage
Browser reviewManual workReading a small number of known documentsCopying searches and links is repetitive
Your own retrieval codeDevelopment and maintenanceA workflow requiring direct control of processingYou own the implementation and its upkeep

The table compares workflow responsibilities rather than claiming a measured speed or accuracy difference. For a one-off reading task, the extra setup of an integration is a decision to weigh against simply opening the source. For recurring work, preserve inputs and results so the search can be repeated consistently.

Connect search to a review process

An agent can perform the discover, inspect and run sequence, then pass the response to a reviewer or a storage step. Decide who approves execution and how many searches are allowed before starting a batch. That boundary matters because discovery is free while a search is a paid call.

A filing search is also distinct from a Form 4 research workflow. The insider trading API guide covers that narrower filing use case. Use it when the question is specifically about insider transactions rather than general filing discovery.

Treat the described metadata as a map for building a review queue, not as evidence that any particular filing was returned. Monid inspection describes the following details, but does not supply response field names or a sample response for this endpoint.

Interpret the described return details

Described detailHow to use it in review
CompanyAssociate a document with the entity you intended to research.
Form typeSeparate documents by the kind of filing requested.
Filing datePlace the document in the period you are reviewing.
Accession numberKeep a document reference alongside your notes.
Direct document linkOpen the source document for the actual review.

This is a description of the endpoint's stated return details, not a table of results. After a real call, examine the response structure and record the actual keys, nested objects and values before building an automated parser. Do not assume a row count or fabricate a missing field.

Design a useful handoff

Create one queue entry per document you decide to review, and carry the source link and the search inputs with it. Add your own review status separately from source data: for example, a document can be awaiting review or already reviewed. Those labels describe your workflow, not the filing itself.

If your agent produces a summary, retain the source reference beside it. A summary without the document link makes it harder to check a quotation or understand its context. The reviewer should open the actual document before using the summary as a basis for a decision.

Use dates and limits deliberately

The optional dateRange input uses the format YYYY-MM-DD..YYYY-MM-DD. Set both boundaries when a research assignment has a defined period, and preserve them with the output so a later search can use the same scope.

The requested maxItems controls the size of the initial search request. It does not establish that the returned documents cover every filing relevant to the question. If your task depends on completeness, define a separate completeness check in your review process rather than treating a small limit as a census.

How to control the cost of filing searches

The inspected filing search is priced at $0.05 per call, Verified 2026-11-28. Discovery and inspection are free; running the search is the paid step. The listed billing shape is per call, so plan the number of searches before sending a batch.

Decide how many searches you need

Start with one company or one text query and a small item limit. Review whether the search answers the intended discovery question before expanding to additional companies, forms or periods. That approach gives the human reviewer a manageable first queue and lets the developer check the response mapping before using it in a larger process.

A limit on items is a review control, not a promise of a different per-call price. The catalog describes a fixed call price; it does not describe an item-based price for this endpoint. Record the number of calls in your own job log so the cost of repeated monitoring is visible to its owner.

Handle empty or failed searches explicitly

Keep an empty response, a failed request and an unreviewed result separate in your job log. They answer different operational questions: whether the search returned entries, whether a request completed, and whether a person has assessed the documents.

The inspection does not establish how empty results or failures are charged. Do not build a budget around an assumed refund or retry rule. Inspect current pricing and use the actual run record when deciding whether to retry.

When to use another route

Use a direct SEC source workflow when you need control over retrieval beyond the search and metadata described here. This is the Monid blog, and the search discussed here is supplied by api.kadec0.xyz; Monid routes the call to that provider.

The endpoint description covers searching filings and returning document references. It does not describe a finished diligence report, an interpretation of a filing, or a guarantee that a short result list is complete. Your application and reviewer are responsible for those downstream steps.

If the task is to read a single known filing, opening its source document is a direct route. If the task requires a specialized dataset or a different form of processing, select a tool for that job instead of assuming a general filing search supplies it. The value of the search is the structured handoff into a workflow, not a replacement for that workflow.

Keep the provider dependency visible

Record the provider and endpoint in your integration inventory along with the query you sent. This gives the team a clear place to inspect the input schema and price when maintaining the job. It also makes it easier to distinguish a search issue from a later parsing or review issue.

Which tool for which job?

Browse the finance tools catalog for related tools, and use the CLI to inspect the search described in this guide. The same inspected tool serves several search inputs; they are different uses of one endpoint, not separate products.

Use caseBest endpointWhy?
Find filings for a known companyapi.kadec0.xyz /v1/sec-edgarcompany is a declared search input; per call, Verified 2026-11-28, $0.05
Search filing text for a subjectapi.kadec0.xyz /v1/sec-edgarq is a declared full-text query; per call, Verified 2026-11-28, $0.05
Search with a known CIKapi.kadec0.xyz /v1/sec-edgarcik is a declared search input; per call, Verified 2026-11-28, $0.05

Conclusion

You now have a way to specify a company, text query or CIK, narrow a filing search and organize its described document references through Monid. Keep the search inputs with the response and review the source documents before drawing conclusions; a repeatable queue makes the next research pass easier to trace.

FAQ

Is the SEC EDGAR filing search free?

Discovering and inspecting the tool is free; executing the filing search is priced per call. The listed price is $0.05 per call, Verified 2026-11-28.

What do I need to install?

You can install the Monid CLI for a terminal workflow or set up the Monid skill in an agent. Both routes need a Monid key for execution.

Do I need to write code to search filings?

No, an agent can follow the setup prompt and carry out the search. A script is useful when you want to control how results are stored and reviewed.

How many filings can I request?

The inspected maxItems parameter is a string with a default of "20". Choose a smaller value for the first request; the inspected schema does not state a maximum.

Can I search by company or CIK?

Yes, the inspected input schema accepts company or cik, as well as a full-text q. It requires at least one of those three inputs.

Are failed or empty searches charged?

The inspected details do not specify the billing treatment for failed or empty searches. Use the actual run record when accounting for a request.

Can I schedule a filing search?

A script or agent can repeat the search on a schedule you manage. Store the query and the results for each execution so a reviewer can trace the queue back to its inputs.

Published November 2026.

sec edgar apisec filingsfinancial research