Finance · head-to-head
Fed Treasury vs SEC EDGAR Data
Fiscal Data is the U.S. Department of the Treasury's open REST API for federal financial datasets — debt, revenue, spending, interest rates, and savings bonds — maintained by the Bureau of the Fiscal Service. Every endpoint supports field selection, filtering, sorting, and pagination, and returns JSON by default with CSV or XML available via the format parameter. No registration or API key is required, and a live Origin-header probe confirmed CORS is enabled (Access-Control-Allow-Origin: *).
SEC EDGAR's data.sec.gov REST APIs serve JSON-formatted company filing histories and XBRL financial-statement facts (10-K, 10-Q, 8-K, and more) extracted from filings submitted to the U.S. Securities and Exchange Commission. No authentication or API key is required, but the SEC's fair-access policy requires a descriptive User-Agent header identifying the requester and caps traffic at 10 requests per second — requests without one are rejected with a 403. A live probe confirmed CORS is enabled (Access-Control-Allow-Origin: *) once that header is set.
| Fed Treasury | SEC EDGAR Data | |
|---|---|---|
| Authentication | None | None |
| Pricing | free | free |
| Formats | JSON, XML, CSV | JSON |
| CORS | yes | yes |
| HTTPS | Yes | Yes |
Fed Treasury supports 3 response formats, while SEC EDGAR Data offers fewer — pick Fed Treasury for more integration flexibility.