Public data sources
/v1/sources is a directory of official public-data APIs you can query through SuperScraper with your API key. Each source is the publisher's own API (a government agency or registry operator), called live, under that publisher's rate limit and terms.
| Source id | Publisher | What you get |
|---|---|---|
sec-edgar | U.S. Securities and Exchange Commission | Filings index for one registrant (10-K, 10-Q, 8-K and more), by CIK or ticker |
census-acs | U.S. Census Bureau | American Community Survey 5-year estimates by state, county, place or ZIP code area |
fred | Federal Reserve Bank of St. Louis | Observations for one FRED economic time series |
gleif-lei | GLEIF | Legal Entity Identifier records, by LEI or name |
uk-companies-house | Companies House (UK) | Registered UK companies, by company number or name |
npi-nppes | CMS | US healthcare providers from the NPI Registry |
fdic-bankfind | FDIC | FDIC-insured banks and savings institutions: location, assets, deposits, branch count |
nws-alerts | NOAA National Weather Service | Active weather alerts by state, zone or point |
usgs-earthquakes | U.S. Geological Survey | Earthquake events by time window, magnitude or distance from a point |
Some publishers require a key. When a source's key is not configured on the service, the directory lists it with available: false and an unavailableReason, and a run answers 503 source_unavailable without calling the publisher.
Every row carries source_url and a _provenance object: source: "official", the publisher, dataset, license and retrieved_at. Rows are returned to you and not stored.
List the directory
GET /v1/sources
x-api-key: YOUR_KEYOptional query: category (public-records or economic-data). Free.
Read one source
GET /v1/sources/sec-edgarReturns the directory entry plus inputSchema (the params the source takes), outputFields and examples. Free.
Run a source
POST /v1/sources/sec-edgar/run
Content-Type: application/json
x-api-key: YOUR_KEY
{ "params": { "ticker": "AAPL", "forms": "10-K" }, "maxResults": 5 }| Field | Type | Required | Default | Description |
|---|---|---|---|---|
params | object | Yes | Source params, listed by GET /v1/sources/{id} | |
maxResults | number | No | 100 | Most rows to return, 1 to 1000 |
preview | boolean | No | false | Return at most 5 rows, free |
A run that returns rows costs 1 credit. A preview costs nothing.
Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_params | The params are missing or malformed for this source |
| 404 | source_not_found | No source with this id in the directory |
| 404 | record_not_found | The publisher has no record for the identifier you sent |
| 429 | source_rate_limited | The publisher's rate limit is in use; retry shortly |
| 502 | source_upstream_failed | The publisher did not answer |
| 503 | source_unavailable | The source needs a key that is not configured on this service |