Government & Open Data APIs
Free government and open data APIs: census and demographic statistics, public records, legislation, transport and environmental datasets from official sources worldwide.
63 tested APIs with full docs · 60 need no key · 167 more listed
Tested, with full documentation
We called each of these before publishing. Every page carries a working curl command, the real JSON response it returned, parameters and common errors.
ArcGIS Hub Search
Free ArcGIS Hub search API with no key: query datasets across thousands of government open data sites at once, with layer capabilities and download flags. Tested example included.
ArgentinaDatos
Free Argentine data API with no key: historical dollar exchange rates across all market types (blue, oficial, MEP), inflation and holidays. Tested example.
data.gov.au
Free Australian government open data API with no key: search 141,000+ datasets across federal, state and local agencies through the standard CKAN interface. Tested example included.
Autobahn App (Germany)
Free German motorway API with no key: roadworks, closures, traffic jams, webcams, service areas and lorry parking for every Autobahn, by road number. Tested example.
Bank Negara Malaysia
Free Bank Negara Malaysia API with no key: official ringgit exchange rates with buying, selling and middle rates, plus base rates and Islamic finance series. Tested example.
BrasilAPI
Free Brazilian public data API with no key: CEP postcode lookup, CNPJ company registry, banks, holidays, DDD area codes and more. Tested GET examples.
Callook.info
Free US amateur radio callsign lookup with no key: licensee name, address, grid square, coordinates, licence class and expiry from the FCC ULS database. Tested example.
Câmara dos Deputados (Brazil)
Free Brazilian Chamber of Deputies API with no key: deputies, parties, bills, votes, expense claims and committee membership, with HATEOAS links throughout. Tested example.
open.canada.ca
Free Canadian government open data API with no key: 47,000+ federal datasets with every text field mirrored in English and French. Tested curl example and live response.
CBS StatLine (Netherlands)
Free Statistics Netherlands API with no key: query StatLine tables with OData, filtering and paging server-side with $top, $filter and $select. Tested example included.
datos.gob.cl
Free Chilean government open data API with no key: 3,100+ datasets, many CC0, with daily-refresh cadences and organisation IDs that are agency codes. Tested example included.
CKAN (data.gov.uk)
Free CKAN API with no key: search and download thousands of government open datasets. The same API powers data.gov.uk and hundreds of portals. Tested example.
College Scorecard
US Department of Education College Scorecard API: 6,200+ institutions with costs, graduation rates, earnings after study and admissions data. Free key. Tested example.
Colorado Information Marketplace
Free Colorado state open data API with no key: enumerate every dataset on the portal with its owner, update times, provenance and approval history. Tested example included.
Congress.gov
Official Congress.gov API for US bills, amendments, members and committee reports back to 1973, with 429,000+ bills. Free key; DEMO_KEY works for testing. Tested example.
Congress Legislators
Free, key-free dataset of every current US member of Congress with cross-reference IDs to Bioguide, FEC, OpenSecrets, Wikipedia and more, plus full term history. Tested example.
CourtListener
Free CourtListener API: over 3,300 US courts, millions of opinions, PACER dockets and oral arguments. Read endpoints work without a key. Tested example included.
CSO Ireland PxStat
Free Central Statistics Office Ireland API with no key: census, population and economic tables as JSON-stat 2.0, addressed by matrix code. Tested curl example and live response.
dados.gov.pt
Free Portuguese open data API with no key: government datasets covering health, education, environment, transport and public spending via udata. Tested.
data.gouv.fr
Free French government open data API with no key: search tens of thousands of public datasets with metadata, resources and download links. Tested example.
Data USA
Free Data USA API with no key: Census, BLS and BEA figures pre-joined into queryable cubes with drilldowns by nation, state, county and metro. Tested example included.
Open Data DC
Free Washington DC open data catalogue as a DCAT-US 1.1 JSON feed: every city dataset with distributions, licences and ArcGIS service URLs. No key. Tested example included.
eCFR
Free eCFR API with no key: the entire US Code of Federal Regulations as structured data, with per-title amendment dates and full version history. Tested example included.
data.europa.eu
Free data.europa.eu API with no key: search 1.7M+ datasets from EU institutions and all member states, with multilingual metadata and licences. Tested.
FBI Wanted
Free FBI Wanted API with no key: most wanted fugitives, missing persons and case data with photos, descriptions and reward details. Tested curl example.
FCC Census Block Conversions
Free FCC API with no key: convert any latitude and longitude to its US Census block FIPS code, county, state and 2020 block population. Tested curl example and live response.
Federal Register
Free US Federal Register API with no key: executive orders, rules, notices and proposed regulations with full text search back to 1994. Tested curl example.
avoindata.suomi.fi
Free Finnish government open data API with no key: search national and municipal datasets in Finnish, Swedish and English through the standard CKAN interface. Tested example included.
UK Food Hygiene Ratings
Free UK Food Standards Agency API with no key: food hygiene ratings for every registered restaurant, cafe, takeaway and shop in the UK. Tested curl example.
GovData (Germany)
Free German open data API with no key: 156,000+ datasets harvested from all 16 federal states plus federal bodies, through the standard CKAN interface. Live example included.
GOV.UK Search
Free GOV.UK Search API with no key: search all UK government content — guidance, news, forms, statistics and services — with filtering and facets. Tested.
GovTrack
Free GovTrack API with no key: US senators and representatives, their roles, parties, districts and voting records across sessions of Congress. Tested.
India Postal PIN Code
Free India PIN code API with no key: look up post offices, district, state and delivery status for any Indian postal code, or search by name. Tested.
data.gov.ie
Free Irish government open data API with no key: 22,000+ datasets with EU high-value dataset flags and legislation references. Standard CKAN interface. Tested example included.
data.gov.il
Free Israeli government open data API with no key: around 1,200 curated datasets in Hebrew, including a flight feed refreshed every 15 minutes. Tested example included.
İBB Open Data (Istanbul)
Free Istanbul Metropolitan Municipality open data API with no key: 550+ city datasets on transport, water and urban services under İBB's own open licence. Live example included.
dati.gov.it
Free Italian open data API with no key: 65,000+ datasets, heavily municipal, on a CKAN mounted under /opendata. CORS is off, so call it server-side. Tested example included.
data.public.lu
Free Luxembourg open data API with no key: national datasets on the uData platform, with descriptions in French, German and English and rich per-dataset quality metrics. Tested example.
data.gov.my
Free Malaysian government data API with no key: weekly fuel prices, CPI, trade and dozens of national indicators as flat JSON arrays. Tested curl example and live response.
NASA POWER
Free NASA POWER API with no key: solar irradiance, temperature, wind and humidity data for any coordinates, daily or hourly, back to 1981. Tested example.
data.overheid.nl
Free Dutch government open data API with no key: 20,000+ datasets tagged with full EU DCAT-AP vocabulary URIs for language, access rights and authority. Tested example included.
NYC Open Data (311)
Free New York City 311 API with no key: every service request since 2010 with address, agency, status and coordinates, queryable with SoQL. Tested curl example included.
ONS (UK Statistics)
Free Office for National Statistics API with no key: UK census, population, inflation, employment and economic statistics as structured datasets. Tested.
opendata.swiss
Free Swiss open data API with no key: federal, cantonal and municipal datasets across transport, health, environment and statistics via CKAN. Tested.
OpenFEC
OpenFEC API for US campaign finance: 54,000+ candidates, committees, contributions and spending filings from the Federal Election Commission. Free key. Tested example.
OpenFEMA
Free OpenFEMA API with no key: every US federal disaster declaration since 1953 with county-level detail, plus assistance, claims and shelter datasets. Tested example included.
Paris Open Data
Free Paris open data API with no key: 490 city datasets on the Opendatasoft Explore v2.1 API, with per-field types and French descriptions returned in the catalogue itself. Tested example.
dane.gov.pl
Free Polish open data API with no key: thousands of government datasets covering statistics, health, transport and environment in JSON:API format. Tested.
Represent (Open North)
Free Canadian representative lookup with no key: find federal, provincial and municipal elected officials by postcode or point, with contact details and photos. Tested example.
Statistics Sweden (SCB)
Free Statistics Sweden API with no key: browse the SSD statistical database as a tree, then query any table for population, prices, housing and labour data. Tested example.
SEC EDGAR
Free SEC EDGAR API with no key: every US public company filing — 10-K, 10-Q, 8-K — plus structured XBRL financial data straight from the regulator. Tested.
Senado Federal (Brazil)
Free Brazilian Senate API with no key: every serving senator with photo, party, state and mandate details, served as JSON converted from an XSD-validated XML schema. Tested example.
Singapore Carpark Availability
Free live carpark availability API for Singapore with no key: lots free and total lots for every HDB car park, refreshed each minute. Tested curl example and real response.
data.gov.sg Datastore
Free Singapore government data API with no key: query any published dataset row by row through the CKAN datastore, with column types returned alongside the records. Tested example.
Socrata Discovery API
Free Socrata Discovery API with no key: search dataset metadata across thousands of US government open data portals in one query, with page-view popularity built in. Tested example.
datos.gob.es
Free Spanish government open data API with no key: a Linked Data API over the national catalogue, with EU frequency vocabularies and multi-value description arrays. Tested example.
City of Toronto Open Data
Free City of Toronto open data API with no key: 500+ municipal datasets covering transit, budget, permits, parks and services via a CKAN interface. Tested.
UK Parliament Members
Free UK Parliament Members API with no key: MPs and Lords, constituencies, party affiliation, contact details and voting records. Tested curl example.
UK Parliament Petitions
Free UK Parliament petitions API with no key: every open petition with signature counts, constituency and country breakdowns, plus government responses and debates. Tested example.
UK Police Data
Free UK Police API with no key: street-level crime data, police forces, neighbourhood teams and stop-and-search records by location and month. Tested example.
data.gov.ua
Free Ukrainian open data API with no key: 36,000+ datasets with a legal basis recorded on every record and file hashes on every resource. Tested example and live response.
Urban Observatory (Newcastle)
Free Newcastle Urban Observatory API with no key: hundreds of live building and city sensors streaming air quality, climate, occupancy and energy readings. Tested example.
USAspending
Free US federal spending API with no key: agency budgets, contracts, grants and award data covering trillions in government spending. Tested curl example.
Choosing between these Government & Open Data APIs
Government APIs are among the most reliable free data sources on the internet, because publishing them is usually a legal mandate rather than a commercial decision. They rarely disappear, rarely add paywalls, and the data is citable.
Coverage and quality vary enormously by country and agency. Some publish clean, versioned REST APIs; others expose a CSV download behind a form. The listings below link to each agency's official documentation.
More Government & Open Data APIs in the directory
167 further APIs in this category, of which 111 need no API key. These are catalogued from the public-API lists and link straight to each provider's own documentation — we have not tested them yet, so treat the auth and CORS flags as the upstream list's claim rather than ours. They are promoted to a full tested page as we work through them.
| API | What it does | Auth |
|---|---|---|
| 18F | Unofficial US Federal Government API Development | None |
| AcreLens | Land suitability scoring API for any US property: off-grid, rural, recreational, investment | Key |
| AI Law Tracker | AI regulation laws by jurisdiction (US, EU, global) as read-only JSON; free tier | Key |
| Api Colombia | Community driven API for Colombia Public Data | None |
| API Setu | An Indian Government platform that provides a lot of APIS for KYC, business, education & employment | NoneCORS |
| Apiverket | Swedish public data including companies, statistics, weather and transport | KeyCORS |
| Archive.org | The Internet Archive | None |
| Bank Negara Malaysia Open Data | Malaysia Central Bank Open Data | None |
| BCLaws | Access to the laws of British Columbia | None |
| Black History Facts | Contribute or search one of the largest black history fact databases on the web | KeyCORS |
| BotsArchive | JSON formatted details about Telegram Bots available in database | None |
| Brazil | Community driven API for Brazil Public Data | NoneCORS |
| Brazil Central Bank Open Data | Brazil Central Bank Open Data | None |
| Brazil CNPJ | Query Brazilian companies by CNPJ with full Receita Federal registry data, no key required | NoneCORS |
| Brazil Receita WS | Consult companies by CNPJ for Brazilian companies | None |
| Brazilian Chamber of Deputies Open Data | Provides legislative information in Apis XML and JSON, as well as files in various formats | None |
| BuildData | Canadian construction and development data from 17 cities | Key |
| CARTO | Location Information Prediction | Key |
| Census.gov | The US Census Bureau provides various APIs and data sets on demographics and businesses | None |
| City, Berlin | Berlin(DE) City Open Data | None |
| City, Gdańsk | Gdańsk (PL) City Open Data | None |
| City, Gdynia | Gdynia (PL) City Open Data | None |
| City, Helsinki | Helsinki(FI) City Open Data | None |
| City, Lviv | Lviv(UA) City Open Data | None |
| City, Nantes Open Data | Nantes(FR) City Open Data | Key |
| City, New York Open Data | New York (US) City Open Data | None |
| City, Prague Open Data | Prague(CZ) City Open Data | None |
| City, Toronto Open Data | Toronto (CA) City Open Data | NoneCORS |
| civicAPI | Provides live and historic election results for races across the world | NoneCORS |
| CNPJ Aberto | Search Brazilian companies by CNPJ | None |
| Code.gov | The primary platform for Open Source and code sharing for the U.S. Federal Government | Key |
| College ROI | Lifetime ROI of US colleges and majors, static JSON, CC BY 4.0 | NoneCORS |
| CollegeScoreCard.ed.gov | Data on higher education institutions in the United States | None |
| Conversor IAE CNAE | Spanish IAE/CNAE tax activity codes, 2009→2025 crosswalk and AEAT obligations | Key |
| CPFHub | Brazilian CPF lookup — returns full name, birth date, and gender for any CPF | KeyCORS |
| CrawlGraph | Backlink and domain-link data from Common Crawl's open web graph | Key |
| Data.gov | US Government Data | Key |
| Data.parliament.uk | Contains live datasets including information about petitions, bills, MP votes, attendance and more | None |
| DataStream | An open access platform for sharing Canadian water quality data | KeyCORS |
| Dedline.io API | Data for US state voter registration deadlines and details, for primaries and general elections | NoneCORS |
| Deutscher Bundestag DIP | This API provides read access to DIP entities (e.g. activities, persons, printed material) | Key |
| Dimdom | Polish real estate listings, agency profiles and TERYT geographic data | None |
| Disclosed Capitol | US congressional & executive-branch stock trade disclosures (STOCK Act + OGE) | Key |
| District of Columbia Open Data | Contains D.C. government public datasets, including crime, GIS, financial data, and so on | None |
| DistrictAPI | US school districts and schools by address, with enrollment and boundaries | KeyCORS |
| eCourtsIndia | Indian court case status, judgments, and hearing schedule API | KeyCORS |
| Enigma Public | Broadest collection of public data | KeyCORS |
| EOSL | Hardware end-of-sale and end-of-service-life dates by part number, source-linked | NoneCORS |
| EPA | Web services and data sets from the US Environmental Protection Agency | None |
| FastDOL | Federal enforcement records for US employers: OSHA, WHD, MSHA, EPA, NLRB, and more | KeyCORS |
| FEC | Information on campaign donations in federal elections | Key |
| Food Standards Agency | UK food hygiene rating data API | None |
| French Address Search | Address search via the French Government | None |
| Gazette Data, UK | UK official public record API | OAuth |
| Generate Link Preview (including checking for malicious links) | Fetches metadata from any URL passed to it, including Open Graph tags. | KeyCORS |
| GENESIS | Federal Statistical Office Germany | OAuth |
| Gun Policy | International firearm injury prevention and policy | Key |
| i6eal Open AI Data | Open datasets on AI policy, regulation and public-sector adoption in Germany and the EU | NoneCORS |
| Indian Mandi Prices | Free, keyless daily wholesale mandi prices for 5 Indian states, sourced from data.gov.in | NoneCORS |
| Indian Pincode | Free India PIN code lookup with GPS coordinates, 165k+ post offices, state & district data | NoneCORS |
| INEI | Peruvian Statistical Government Open Data | None |
| InfraNode | Unified German city open data: weather, air quality, EV chargers, transit, demographics | KeyCORS |
| Interpol Red Notices | Access and search Interpol Red Notices | None |
| Istanbul (İBB) Open Data | Data sets from the İstanbul Metropolitan Municipality (İBB) | None |
| Joshua Project | People groups of the world with the fewest followers of Christ | Key |
| K-Data Gate | Korean market data: K-beauty/K-food products, Naver trends, stocks, real estate, weather | Key |
| Kaggle | Create and interact with Datasets, Notebooks, and connect with Kaggle | Key |
| LinkPreview | Get JSON formatted summary with title, description and preview image for any requested URL | KeyCORS |
| LocalGov.jp | Japan grants and subsidies (central J-Grants + 1,916 municipalities) | NoneCORS |
| LottoLens PH | Fixed Philippine PCSO historical results and normal draw schedules | NoneCORS |
| Lowy Asia Power Index | Get measure resources and influence to rank the relative power of states in Asia | None |
| Microlink.io | Extract structured data from any website | NoneCORS |
| ModelPartFinder Error Codes | Lookup appliance and equipment error codes by brand and code, with recommended replacement parts | NoneCORS |
| MostExpensiveWatches | Documented luxury watch auction records, live listings, valuations and price indices | NoneCORS |
| Nasdaq Data Link | Stock market data | Key |
| National Park Service, US | Data from the US National Park Service | KeyCORS |
| Neotimo DGFiP Mirror | French DGFiP registry of certified e-invoicing platforms (Plateformes Agréées), searchable by SIRET | None |
| Nobel Prize | Open data about nobel prizes and events | NoneCORS |
| Onyx Bazaar | Free public leaderboard of x402 paid HTTP services indexed from Coinbase CDP discovery API | None |
| Open Data Minneapolis | Spatial (GIS) and non-spatial city data for Minneapolis | None |
| Open Government, ACT | Australian Capital Territory Open Data | None |
| Open Government, Argentina | Argentina Government Open Data | None |
| Open Government, Australia | Australian Government Open Data | None |
| Open Government, Austria | Austria Government Open Data | None |
| Open Government, Belgium | Belgium Government Open Data | None |
| Open Government, Canada | Canadian Government Open Data | None |
| Open Government, Colombia | Colombia Government Open Data | None |
| Open Government, Cyprus | Cyprus Government Open Data | None |
| Open Government, Czech Republic | Czech Republic Government Open Data | None |
| Open Government, Denmark | Denmark Government Open Data | None |
| Open Government, Estonia | Estonia Government Open Data | Key |
| Open Government, Finland | Finland Government Open Data | None |
| Open Government, France | French Government Open Data | Key |
| Open Government, Germany | Germany Government Open Data | None |
| Open Government, Greece | Greece Government Open Data | OAuth |
| Open Government, India | Indian Government Open Data | Key |
| Open Government, Indonesia | Indonesian Government Open Data | None |
| Open Government, Ireland | Ireland Government Open Data | None |
| Open Government, Italy | Italy Government Open Data | None |
| Open Government, Kazakhstan | Kazakhstan Government Open Data | None |
| Open Government, Korea | Korea Government Open Data | Key |
| Open Government, Lithuania | Lithuania Government Open Data | None |
| Open Government, Luxembourg | Luxembourgish Government Open Data | Key |
| Open Government, Malaysia | Malaysia Government Open Data | None |
| Open Government, Mexico | Mexican Statistical Government Open Data | None |
| Open Government, Mexico | Mexico Government Open Data | None |
| Open Government, Netherlands | Netherlands Government Open Data | None |
| Open Government, New South Wales | New South Wales Government Open Data | Key |
| Open Government, New Zealand | New Zealand Government Open Data | None |
| Open Government, Norway | Norwegian Government Open Data | NoneCORS |
| Open Government, Peru | Peru Government Open Data | None |
| Open Government, Poland | Poland Government Open Data | NoneCORS |
| Open Government, Portugal | Portugal Government Open Data | NoneCORS |
| Open Government, Queensland Government | Queensland Government Open Data | None |
| Open Government, Romania | Romania Government Open Data | None |
| Open Government, Saudi Arabia | Saudi Arabia Government Open Data | None |
| Open Government, Singapore | Singapore Government Open Data | None |
| Open Government, Slovakia | Slovakia Government Open Data | None |
| Open Government, Slovenia | Slovenia Government Open Data | None |
| Open Government, South Australian Government | South Australian Government Open Data | None |
| Open Government, Spain | Spain Government Open Data | None |
| Open Government, Sweden | Sweden Government Open Data | None |
| Open Government, Switzerland | Switzerland Government Open Data | None |
| Open Government, Taiwan | Taiwan Government Open Data | None |
| Open Government, Thailand | Thailand Government Open Data | Key |
| Open Government, UK | UK Government Open Data | None |
| Open Government, USA | United States Government Open Data | None |
| Open Government, Victoria State Government | Victoria State Government Open Data | None |
| Open Government, West Australia | West Australia Open Data | None |
| Open Scholarships | Free, openly-licensed directory of US scholarships and student aid from official sources | NoneCORS |
| openAFRICA | Large datasets repository of African open data | None |
| OpenCorporates | Data on corporate entities and directors in many countries | Key |
| OpenMercantil | Spanish company public data and BORME event timelines | NoneCORS |
| OpenRegistry | Real-time queries to 27 national company registries (UK, FR, DE, IT, ES, KR + 21 more) | OAuth |
| OpenSanctions | Data on international sanctions, crime and politically exposed persons | NoneCORS |
| Pan Africa Data | Macroeconomic and subnational income distribution data for all 54 African countries | Key |
| PeakMetrics | News articles and public datasets | Key |
| PolitiData | Canadian political financing, lobbying registrations and communications | Key |
| PRC Exam Schedule | Unofficial Philippine Professional Regulation Commission's examination schedule | NoneCORS |
| ProcureData | Canadian federal procurement contracts, tenders and awards | Key |
| Recreation Information Database | Recreational areas, federal lands, historic sites, museums, and other attractions/resources(US) | Key |
| Registrum | UK company data: profiles, directors, PSC, iXBRL-parsed financials, ECCTA status | Key |
| Represent by Open North | Find Canadian Government Representatives | None |
| Scoop.it | Content Curation Service | Key |
| Socrata | Access to Open Data from Governments, Non-profits and NGOs around the world | OAuthCORS |
| Sofiaplan | Access to urban research data for the Bulgarian capital Sofia | NoneCORS |
| Statistics of the World | Economic data for 218 countries — GDP, population, inflation, and 440+ indicators from IMF and World Bank | NoneCORS |
| Teleport | Quality of Life Data | None |
| Tilth | Free daily UK fertiliser price index across nine grades, CC BY 4.0 licensed | NoneCORS |
| Tollmint | Advertising, subscription, AI-disclosure and accessibility rules across the US, EU and UK | NoneCORS |
| Udemy Coupons, Courses & Instructors Data | Retrieve Udemy courses, coupons, instructors, and metadata | KeyCORS |
| UK Companies House | UK Companies House Data from the UK government | OAuth |
| Umeå Open Data | Open data of the city Umeå in northern Sweden | NoneCORS |
| UniDb | Data that helps people gain useful insight into universities in the United Kingdom | KeyCORS |
| Universities List | University names, countries and domains | None |
| University of Oslo | Courses, lecture videos, detailed information for courses etc. for the University of Oslo (Norway) | None |
| UPC database | More than 1.5 million barcode numbers from all around the world | Key |
| Urban Observatory | The largest set of publicly available real time urban data in the UK | None |
| US Federal Contracts & Grants | US federal contracts, grants, and agency spending data updated daily | NoneCORS |
| US Presidential Election Data by TogaTech | Basic candidate data and live electoral vote counts for top two parties in US presidential election | None |
| USA.gov | Authoritative information on U.S. programs, events, services and more | Key |
| USAspending.gov | US federal spending data | None |
| Voidly | Internet censorship measurements, incidents, and ISP-level blocking data across 126 countries | None |
| Warnely | Composite travel-safety scores for 180 countries (FCDO + US State + GPI + WGI + live incident wire), OpenAPI 3.1 spec, CC BY 4.0 | NoneCORS |
| Wikidata | Collaboratively edited knowledge base operated by the Wikimedia Foundation | OAuth |
| Wikipedia | Mediawiki Encyclopedia | None |
| Yelp | Find Local Business | OAuth |