Code.gov API Routes and Data Fields

We have extensive Swagger documentation where you can test our API. You can find them at https://api.code.gov/docs.

Before you can actually try the docs, you need to obtain an API key. You can do so here. Once you obtain your API key, you can go to our Swagger documentation and use it by clicking on the Authorize button located at the top right of the Swagger documentation.

authorize button in docs

Remember to change the Schema to HTTPS. If this is not changed, you will receive an error when submitting the test request.