APIs / Finance / SEC EDGAR

1 credit per call4 endpoints11 datapoints

SEC EDGAR API

SEC EDGAR API for company search, filings, XBRL financial facts and full-text search of filings since 2001 as JSON. 1 credit per successful call.

SEC EDGAR
GET/v1/sec-edgar/filings?company=AAPL&form=10-K&limit=5
{
  "success": true,
  "data": {
    "company": {
      "cik": "0000320193",
      "name": "Apple Inc.",
      "tickers": [
        "AAPL"
      ],
      "exchanges": [
        "Nasdaq"
      ],
      "entity_type": "operating",
      "sic": "3571",
      "sic_description": "Electronic Computers",
      "category": "Large accelerated filer",
      "fiscal_year_end": "0925",
      "state_of_incorporation": "CA",
      "ein": "942404110"
    },
    "form": "10-K",
    "count": 5,
    "items": [
      {
        "accession_number": "0000320193-26-000026",
        "form": "10-K",
        "filing_date": "2026-11-03",
        "report_date": "2026-09-26",
        "accepted_at": "2026-11-03T13:05:15.000Z",
        "size_bytes": 10902198,
        "is_xbrl": true,
        "primary_document": "aapl-20260926.htm",
        "primary_document_description": "10-K",
        "document_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/aapl-20260926.htm",
        "filing_index_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/0000320193-26-000026-index.htm"
      },
      {
        "accession_number": "0000320193-25-000079",
        "form": "10-K",
        "filing_date": "2025-10-31",
        "report_date": "2025-09-27",
        "accepted_at": "2025-10-31T10:01:26.000Z",
        "size_bytes": 9392337,
        "is_xbrl": true,
        "primary_document": "aapl-20250927.htm",
        "primary_document_description": "10-K",
        "document_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000079/aapl-20250927.htm",
        "filing_index_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000079/0000320193-25-000079-index.htm"
      },
      {
        "accession_number": "0000320193-24-000123",
        "form": "10-K",
        "filing_date": "2024-11-01",
        "report_date": "2024-09-28",
        "accepted_at": "2024-11-01T10:01:36.000Z",
        "size_bytes": 9759333,
        "is_xbrl": true,
        "primary_document": "aapl-20240928.htm",
        "primary_document_description": "10-K",
        "document_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/aapl-20240928.htm",
        "filing_index_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/0000320193-24-000123-index.htm"
      }
    ]
  },
  "meta": {
    "request_id": "req_c5190846f0ff49e1b2610ce93fb94a1e",
    "credits_charged": 1,
    "credits_remaining": 195
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of filings: the fields and shapes you will get, shortened to 3 items.

#accession_numberstringformstringfiling_datestringreport_datestringaccepted_atstringsize_bytesintegeris_xbrlbooleanprimary_documentstringprimary_document_descriptionstringdocument_urlurlfiling_index_urlurl
10000320193-26-00002610-K2026-11-032026-09-262026-11-03T13:05:15.000Z10902198trueaapl-20260926.htm10-Khttps://www.sec.gov/Archives/edgar/data/320193/000032019326000026/aapl-20260926.htmhttps://www.sec.gov/Archives/edgar/data/320193/000032019326000026/0000320193-26-000026-index.htm
20000320193-25-00007910-K2025-10-312025-09-272025-10-31T10:01:26.000Z9392337trueaapl-20250927.htm10-Khttps://www.sec.gov/Archives/edgar/data/320193/000032019325000079/aapl-20250927.htmhttps://www.sec.gov/Archives/edgar/data/320193/000032019325000079/0000320193-25-000079-index.htm
30000320193-24-00012310-K2024-11-012024-09-282024-11-01T10:01:36.000Z9759333trueaapl-20240928.htm10-Khttps://www.sec.gov/Archives/edgar/data/320193/000032019324000123/aapl-20240928.htmhttps://www.sec.gov/Archives/edgar/data/320193/000032019324000123/0000320193-24-000123-index.htm

Recorded from our API · 3 items shown · 11 datapoints per itemGET /v1/sec-edgar/filings?company=AAPL&form=10-K&limit=5

11 datapoints

Contact

  • document_urlurl
  • filing_index_urlurl

Other

  • accession_numberstring
  • formstring
  • filing_datestring
  • report_datestring
  • accepted_atstring
  • size_bytesinteger
  • is_xbrlboolean
  • primary_documentstring
  • primary_document_descriptionstring

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/sec-edgar/filings?company=AAPL&form=10-K&limit=5" \
  -H "X-API-Key: $API_KEY"

SEC EDGAR · 4 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/sec-edgar/company-facts
company+4 optional
ciknametaxonomyconceptlabeldescription+1 more
1 credit
GET/v1/sec-edgar/company-search
query+1 optional
ciknametickerexchange
1 credit
GET/v1/sec-edgar/filings
company+2 optional
companyformitems
1 credit
GET/v1/sec-edgar/full-text-search
query+4 optional
accession_numberformfile_typefile_descriptionfiling_dateperiod_ending+5 more
1 credit

Overview

About the SEC EDGAR API

What you can get

The SEC EDGAR API returns U.S. Securities and Exchange Commission (SEC) EDGAR data as JSON through 4 endpoints.

  • Company search: company-search takes a query (a ticker such as AAPL or BRK.B, a CIK or part of the name), with limit (1 to 100).
  • Filings: filings takes a company (ticker or CIK), with form (10-K, 10-Q, 8-K, 4 and so on) and limit (1 to 100). Filings come newest first and cover at least the last year or 1,000 filings.
  • Financial facts: company-facts takes a company, with concept (an XBRL concept such as Revenues, NetIncomeLoss or Assets), taxonomy (us-gaap, ifrs-full, dei or srt), period (all, annual or quarterly) and limit (1 to 200 periods per unit). Without a concept it lists every concept the company reports, with its latest value.
  • Full-text search: full-text-search takes a query (put a phrase in double quotes), with forms, start_date, end_date and page (100 results a page, up to page 100). It covers filings since 2001.

The recorded filings call for Apple's 10-Ks returns a company block with cik (0000320193), name, tickers, exchanges, sic_description ("Electronic Computers"), category ("Large accelerated filer"), fiscal_year_end, state_of_incorporation and ein, then items, each with accession_number, form, filing_date, report_date, accepted_at, size_bytes, is_xbrl, primary_document, document_url and filing_index_url. The newest, filed on 2026-11-03, covered the year to 2026-09-26. The recorded company-facts call for MSFT Revenues returns the concept's label and description, then units (USD in that recording), each with facts: value, start, end, fiscal_year, fiscal_period, form, filed, frame and accession_number.

How a call works

Find the company, then ask for its filings: GET /v1/sec-edgar/company-search?query=nvidia with your key in the X-API-Key header returns its cik and ticker (in the recording, CIK 0001045810, ticker NVDA on Nasdaq). filings and company-facts take either, for example GET /v1/sec-edgar/filings?company=AAPL&form=10-K&limit=5. Answers come from a cache for up to an hour. Every successful call costs 1 credit; failed calls cost nothing.

FinanceJSONRESTMCP

More finance APIs

Use cases

Give an analyst agent links to a company's latest 10-K and 10-Q documents

Use the SEC EDGAR API to give an analyst agent links to a company's latest 10-K and 10-Q documents

Chart a reported figure such as NetIncomeLoss across fiscal years from `company-facts`

Use the SEC EDGAR API to chart a reported figure such as NetIncomeLoss across fiscal years from `company-facts`

Resolve a ticker to its CIK, SIC industry and filer category

Use the SEC EDGAR API to resolve a ticker to its CIK, SIC industry and filer category

Find every 10-K that mentions a phrase within a filing-date range

Use the SEC EDGAR API to find every 10-K that mentions a phrase within a filing-date range

FAQ

Questions

Is this the official SEC EDGAR API?

No. Perceptlayer is an independent service and is not affiliated with the SEC. The SEC publishes EDGAR's JSON APIs for free, and asks each caller to stay under 10 requests a second and to send a User-Agent that names them. This API calls those public APIs on your behalf and adds one key for every source on Perceptlayer, a single response shape (tickers resolved to CIKs, document URLs built for you), a cache of up to an hour, and no charge for failed calls.

Where does the data come from?

From U.S. Securities and Exchange Commission (SEC) EDGAR. EDGAR content is public information the SEC lets anyone copy or redistribute; cite the SEC as the source when you publish it.

Why does a concept stop at an old year?

A company reports each line item under the XBRL concept it chooses, and can change concepts over time. In the recording, the newest annual MSFT `Revenues` facts came from a 10-K filed on 2010-07-30. Call `company-facts` without `concept` to list every concept the company reports with its latest value, then ask for the one it uses now.

How much does the SEC EDGAR API cost?

Each successful call costs one credit, and each page of full-text search results is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.

Should I build a SEC EDGAR scraper instead?

You can, but a SEC EDGAR scraper is code you maintain: page changes break it, requests get blocked, and SEC EDGAR's terms govern how you collect data. The SEC EDGAR API gives you 4 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the SEC EDGAR API with 100 free credits

No credit card. Failed calls are never billed.