FreetierapisFree APIs you can call right now

Code.gov API

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

Docs link checked Measured by usFrom the public-apis list
Our call
Not called yet
Key
API key
Docs link
Gone

We haven't called Code.gov ourselves, so this is the public-apis listing plus our check of its docs link. Show Government APIs we did call

Code.gov docsMore Government APIs

Come back to see anything that changed: answers, keys, browser access, rate limits.

We haven't called Code.gov ourselves. Below is what the public-apis list says, plus our check of its docs link. Government APIs we did call and that answered: Brazil and Federal Register.

Change log Measured by us

No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.

What the list says From the public-apis list

Category
Government
Auth
API key
CORS
Not recorded
Docs link
code.gov returned 404 (page gone) on 2026-11-06 Measured

Code.gov is listed in Government. Code.gov needs an API key: you register with the provider and send the key with each request. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.

The list has 102 Government APIs: 70 need no key, 28 need an API key and 4 use OAuth, and 20 of them are marked as allowing browser calls. 15 others have the same setup, such as BuildData, City, Nantes Open Data and Data.gov. If you'd rather not sign up for anything, Brazil and Federal Register need no key and answered our test call (all no-key Government APIs).

Code.gov and other Government APIs

FactCode.gov (this page)BrazilFederal RegisterApi ColombiaAyes and Noes
Key needed From the public-apis listAPI keyNo keyNo keyNo keyNo key
CORS, as listed From the public-apis listNot recordedYesNot recordedNot recordedYes
Our test call Measured by usNot tested1,116 ms408 msNot testedNot tested
Browser call Measured by us—AllowedAllowed——
Docs link Measured by usgoneAnsweredAnsweredAnsweredAnswered

All 102 Government APIs

Questions

Does Code.gov need an API key?

Code.gov needs an API key: you register with the provider and send the key with each request.

Can I call Code.gov from JavaScript in the browser?

It isn't recorded. Try a request from the browser console before relying on it.

Where are the Code.gov docs?

At https://code.gov. When we checked, the link returned 404 (page gone).

What are some alternatives to Code.gov?

Other Government APIs in the list include BuildData, City, Nantes Open Data, Data.gov and Deutscher Bundestag DIP.

Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.

Report a problem with this page