Finance · head-to-head
IG vs SEC EDGAR Data
IG's trading API layers REST order execution and Lightstreamer-based streaming onto the same CFD, spread-betting, and forex engine behind IG's own platform, authenticated with an API key generated from a live account (a linked demo account then lets you sandbox trades risk-free). There's no separate API fee — access is included with any account and gated only by IG's standard per-key usage quotas, not a metered price. A live probe of the real API host (api.ig.com) returned `Access-Control-Allow-Origin: *` even on an error response, confirming CORS is open — correcting the previously-recorded `unknown`.
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.
| IG | SEC EDGAR Data | |
|---|---|---|
| Authentication | API Key | None |
| Pricing | free | free |
| Formats | JSON, WebSocket | JSON |
| CORS | yes | yes |
| HTTPS | Yes | Yes |
SEC EDGAR Data needs no API key, while IG requires API Key — pick SEC EDGAR Data to start without signup.