Government

145 APIs

Government APIs publish official data: census figures, legislation, public spending, company registers, election results and city services. Many national and city portals run on platforms such as CKAN or Socrata, so once you know one, the others follow a familiar pattern. Check the licence on each dataset, since reuse terms differ by country and sometimes by dataset.

In the US, Census.gov, the Federal Register and USAspending.gov need no key, while Data.gov and FEC ask for one. The Open Government entries cover national portals from Australia to the UK, and city portals such as New York Open Data and Toronto Open Data publish local datasets. Expect updates to follow each agency's publishing cycle rather than real time.

AI Law Tracker

AI regulation laws by jurisdiction (US, EU, global) as read-only JSON; free tier

API keyHTTPSCORS ?
apipj

Brazilian company data by CNPJ from Receita Federal open data, incl. alphanumeric CNPJ; free tier

API keyHTTPSCORS
Ayes and Noes

UK House of Commons MPs, parties and recorded votes

No key HTTPSCORS
BCLaws

Access to the laws of British Columbia

No key HTTP onlyCORS ?
B
Bidledger

Every open public tender in the European Union, rebuilt daily from the official TED data

No key HTTPSCORS
Brazil

Community driven API for Brazil Public Data

No key HTTPSCORS
B
Brazil Receita WS

Consult companies by CNPJ for Brazilian companies

No key HTTPSCORS ?
CPFHub

Brazilian CPF lookup — returns full name, birth date, and gender for any CPF

API keyHTTPSCORS
Canada Service Map

Canadian public services, who handles them, official links and offices

No key HTTPSCORS
Census.gov

The US Census Bureau provides various APIs and data sets on demographics and businesses

No key HTTPSCORS ?
City, Berlin

Berlin(DE) City Open Data

No key HTTPSCORS ?
City, Gdańsk

Gdańsk (PL) City Open Data

No key HTTPSCORS ?
City, Gdynia

Gdynia (PL) City Open Data

No key HTTP onlyCORS ?
C
City, Lviv

Lviv(UA) City Open Data

No key HTTPSCORS ?
Code.gov

The primary platform for Open Source and code sharing for the U.S. Federal Government

API keyHTTPSCORS ?
ContaCLT

Brazilian payroll and labor calculations: net salary, INSS, IRRF, unemployment insurance

No key HTTPSCORS
Contratero

Spanish public tenders and awards from the official PLACSP platform, updated hourly

API keyHTTPSNo CORS
Conversor IAE CNAE

Spanish IAE/CNAE tax activity codes, 2009→2025 crosswalk and AEAT obligations

API keyHTTPSNo CORS
C
Crime Data

US police-reported incidents for 12 cities: radius search, stats, GeoJSON, MCP

API keyHTTPSCORS
Data USA

US Public Data

No key HTTPSCORS ?
D
Data.gov

US Government Data

API keyHTTPSCORS ?
D
Data.parliament.uk

Contains live datasets including information about petitions, bills, MP votes, attendance and more

No key HTTP onlyCORS ?
Deutscher Bundestag DIP

This API provides read access to DIP entities (e.g. activities, persons, printed material)

API keyHTTPSCORS ?
Disclosed Capitol

US congressional & executive-branch stock trade disclosures (STOCK Act + OGE)

API keyHTTPSNo CORS

Contains D.C. government public datasets, including crime, GIS, financial data, and so on

No key HTTPSCORS ?
DistrictAPI

US school districts and schools by address, with enrollment and boundaries

API keyHTTPSCORS
eCourtsIndia

Indian court case status, judgments, and hearing schedule API

API keyHTTPSCORS
Edgrapi

US government data as JSON: SAM.gov contract opportunities, USAspending awards, Grants.gov grants

API keyHTTPSCORS
EditalMD

Brazilian public procurement (PNCP) notices as Markdown with deadlines and requirements

No key HTTPSCORS
Election

Source-linked U.S. election and civic records with coverage limits

No key HTTPSCORS

Live US election results from official state feeds, statewide and by county; free tier

API keyHTTPSNo CORS
EPA

Web services and data sets from the US Environmental Protection Agency

No key HTTPSCORS ?
F
FastDOL

Federal enforcement records for US employers: OSHA, WHD, MSHA, EPA, NLRB, and more

API keyHTTPSCORS
FBI Wanted

Access information on the FBI Wanted program

No key HTTPSCORS ?
FEC

Information on campaign donations in federal elections

API keyHTTPSCORS ?
Federal Register

The Daily Journal of the United States Government

No key HTTPSCORS ?
FIRMSapi

Look up, search and validate US CBP FIRMS facility codes for ports, warehouses and FTZs

API keyHTTPSCORS
gankdat

UK & EU tenders, UK planning, UK sanctions, US exclusions, UK insolvency and incorporations as JSON

API keyHTTPSCORS
Global law

Legislation of 200+ countries as a dated history: find by citation, read as of a date, search

API keyHTTPSNo CORS
GovContractScout

US state & local government contracts: search, details, NAICS lookup and AI match scoring

API keyHTTPSCORS
G
Gun Policy

International firearm injury prevention and policy

API keyHTTPSCORS ?
India LGD Index

Free, keyless Indian states, districts, sub-districts and development blocks with LGD codes

No key HTTPSCORS
Indian Mandi Prices

Free, keyless daily wholesale mandi prices for 5 Indian states, sourced from data.gov.in

No key HTTPSCORS
Indian MSP Benchmarks

Statutory Minimum Support Prices and CACP production cost benchmarks across 28 Indian crops

No key HTTPSCORS
I
Indian Pincode

Free India PIN code lookup with GPS coordinates, 165k+ post offices, state & district data

No key HTTPSCORS
I
INEI

Peruvian Statistical Government Open Data

No key HTTP onlyCORS ?
Kurtaxe

German tourist tax (Kurtaxe) rates by municipality, each quoted from the municipal statute

No key HTTPSCORS
LocalGov.jp

Japan grants and subsidies (central J-Grants + 1,916 municipalities)

No key HTTPSCORS
Loupe

US case citations: does one exist, which case does it name, is the pin cite inside the opinion

No key HTTPSCORS
MORVS

Source-linked US regulatory and public records: SEC filings, enforcement actions, recalls

No key HTTPSCORS

French DGFiP registry of certified e-invoicing platforms (Plateformes Agréées), searchable by SIRET

No key HTTPSCORS ?
O
Obrasgov

Data on federally funded public works in Brazil, including projects, contracts and progress

No key HTTPSNo CORS
OpenMercantil

Spanish company public data and BORME event timelines

No key HTTPSCORS
OpenRegistry

Real-time queries to 80+ national company registries (UK, FR, DE, IT, ES, KR and more)

OAuthHTTPSCORS ?
OpenStates

US state legislature bills and lawmakers

API keyHTTPSCORS ?
Political Polls

Election vote-intention polls and averages by country, each poll with its release link

API keyHTTPSNo CORS
PourWire

New restaurant and bar liquor license applications in 7 US metros (TX, NY, Los Angeles)

No key HTTPSNo CORS
P
PRC Exam Schedule

Unofficial Philippine Professional Regulation Commission's examination schedule

No key HTTPSCORS
Radar CNPJ

Brazilian companies (CNPJ) lookup and search, with a market check by area and monitoring

No key HTTPSNo CORS
Regulations.gov

US federal rulemaking comments and dockets

API keyHTTPSCORS ?
Rent Limits

HUD Fair Market Rents by US ZIP; paid tiers add tax-credit and Section 8 limits

API keyHTTPSCORS
R
Right to Disconnect

Right-to-disconnect employment law by EU country: binding status, statute, and sanctions

No key HTTPSCORS
SchoolAPI

Every US public, charter and private school and district, with search and enrollment history

API keyHTTPSNo CORS

US CPSC product recall notices, filterable by product category; no key required

No key HTTPSCORS
Spatial India

District-level data for India: Census, NFHS-5, NCRB, RBI and more, reconciled onto one map

No key HTTPSCORS
SukuuData

Ghana's schools, 2026 SHS placement register and CSSPS choice validation

API keyHTTPSCORS
Tollmint

Advertising, subscription, AI-disclosure and accessibility rules across the US, EU and UK

No key HTTPSCORS
Travel Risk

Government travel advisories, disaster and conflict alerts and country risk scores

API keyHTTPSCORS
UK Companies House

UK Companies House Data from the UK government

OAuthHTTPSCORS ?
UK Public Tenders by Trade

Live open UK public sector tenders by trade from Find a Tender and Contracts Finder (OGL v3.0)

No key HTTPSCORS
U
US Per Diem

GSA lodging and M&IE per diem rates for US cities by ZIP, state and fiscal year

No key HTTPSCORS
U
USAspending.gov

US federal spending data

No key HTTPSCORS ?
Vergabeweiser

German public tenders and contract awards from open procurement data

No key HTTPSCORS
Veridion

US congressional stock-trade disclosures and the President's OGE reports, linked to each filing

No key HTTPSCORS
V
Vett

Screen names & companies against OFAC, PEP, watchlists & recalls

No key HTTPSCORS
VotePredictor

US election forecasts, congressional voting records and forecaster accuracy ratings

No key HTTPSCORS

US Department of State Visa Bulletin cutoff dates (EB/F charts) as open JSON (/paiqi.json)

No key HTTPSCORS

Built on the open public-apis/public-apis list by its contributors, licensed MIT. Free Public APIs is an independent project, not affiliated with the list's maintainers.

About Synced Nov 30, 2026

© 2026 Free Public APIs

Esc

Type to search every entry. ↑↓ to move, Enter to open.