public apis
/
CategoriesMCPBlogRandomStar
Public APIs

A searchable directory of 2,000+ free public APIs, curated by the community and maintained with APILayer.

Powered byAPILayer

Popular

  • Weather APIs
  • Finance APIs
  • Crypto APIs
  • Geocoding APIs
  • Machine learning APIs
  • Games APIs

Directory

  • Categories
  • All APIs
  • MCP servers
  • FAQ
  • Stats
  • JSON API
  • llms.txt

APILayer

  • Browse the API suite ↗
  • Get a free API key ↗
  • APILayer blog ↗
  • Postman collection ↗
  • Discord community ↗

Project

  • public-apis on GitHub ↗
  • Contribute an API ↗
Public APIs · by APILayerData from public-apis (MIT)
  1. Home
  2. /Government
  3. /Code.gov
Government
Code.gov logo

Code.gov

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

Code.gov API is a free Government API that requires apiKey authentication, is served over HTTPS and has unconfirmed CORS support.

Authentication
apiKey
HTTPS
Yes
CORS
Unknown
Category
Government
Visit documentation ↗code.gov
APILayer

Unified API suite · now live

Geocode an address, validate an email, track a flight or pull stock data with one account, one dashboard and one API key.

Get your free API key→Free tier on every API

Code.gov API alternatives

City, Toronto Open Data logo

City, Toronto Open Data

Toronto (CA) City Open Data

No authHTTPSCORS
C

Colorado Information Marketplace

Colorado State Government Open Data

No authHTTPSCORS ?
City, Prague Open Data logo

City, Prague Open Data

Prague(CZ) City Open Data

No authNo HTTPSCORS ?
ContaCLT logo

ContaCLT

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

No authHTTPSCORS
City, New York Open Data logo

City, New York Open Data

New York (US) City Open Data

No authHTTPSCORS ?
Conversor IAE CNAE logo

Conversor IAE CNAE

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

apiKeyHTTPSNo CORS

Code.gov API FAQ

Is the Code.gov API free?

Yes. The Code.gov API is listed in the Government category of the public-apis directory, which only includes APIs that are free or have a free tier. Check its documentation for rate limits and paid plans.

Does the Code.gov API require an API key?

Yes. The Code.gov API uses apiKey authentication, so you need to register for credentials before making requests.

Can I call the Code.gov API from the browser?

CORS support for the Code.gov API is unknown. Test a request from the browser, and fall back to a server-side call if it is blocked.

Does the Code.gov API support HTTPS?

Yes. The Code.gov API is served over HTTPS, so it's safe to use in production.