What User-Agent to send to the SEC EDGAR API

Send a User-Agent that names you or your company and gives a contact email, for example "Acme Analytics admin@acme.example". The SEC's fair-access page asks automated tools to declare themselves this way; requests with a missing or generic browser-like agent are often answered with HTTP 403 instead of data. Set it once on your HTTP client and every call to sec.gov and data.sec.gov carries it.

Try it free US Company Filings Brief API — SEC EDGAR in one call · $0.01 / call

Good and bad values

User-AgentWhy
Acme Analytics admin@acme.exampleGood: who you are and how to reach you
Jane Doe jane.doe@example.comGood for a personal project
python-requests/2.32Bad: the library default says nothing about you
Mozilla/5.0 (Windows NT 10.0...)Bad: pretending to be a browser
MyBotBad: no contact details

Set it in your tool

# curl
curl -H "User-Agent: Acme Analytics admin@acme.example" \
  https://data.sec.gov/submissions/CIK0000320193.json

# Python
import requests
s = requests.Session()
s.headers.update({"User-Agent": "Acme Analytics admin@acme.example"})
data = s.get("https://data.sec.gov/submissions/CIK0000320193.json", timeout=20).json()

// Node 18+
const res = await fetch("https://data.sec.gov/submissions/CIK0000320193.json", {
  headers: { "User-Agent": "Acme Analytics admin@acme.example" },
});

n8n and browser code

Fixing a 403

  1. Print the headers you actually send. Some HTTP clients drop custom headers on redirects.
  2. Check the header name is exactly User-Agent and the value includes an email.
  3. Slow down. Going over 10 requests per second can also get you refused for a while, even with a good User-Agent.
  4. Make sure the URL is right: the CIK in data.sec.gov paths is 10 digits with leading zeros.

Or let a service handle the SEC side

Our Company Filings Brief calls EDGAR with its own declared User-Agent and paces its requests. You send {"company": "AAPL"} and get the profile, latest 10-K figures and recent filings with links. It costs $0.01 per call, paid with x402 in USDC on Base; the listing page has 5 free tries a day.

If you only make a few SEC calls yourself, setting the header is all you need, and the SEC data stays free.

The product

Questions

Do I need to register my User-Agent with the SEC?

No. There's no sign-up. You declare it in the header on each request.

Should I use my personal email?

Use one you read. A team or project address is fine; the point is that the SEC can contact whoever runs the tool.

Does the Host header matter?

The SEC's sample shows one, but HTTP clients like requests, curl and fetch set Host for you automatically.

Related

Updated 2026-12-01