The Digital.gov Content API provides machine-readable access to all of the content that makes up digital.gov.
To begin using this API, you will need to register for an API Key below.
After registration, you will need to provide this API key in the
x-api-key HTTP header with every API request.
|HTTP Header Name||Description|
|x-api-key||API key from api.data.gov. For sample purposes, you can use
The Digital.gov APIs might change from time to time. We will do our best to notify readers of any changes through our newsfeed and in this documentation page.
Taxonomy / Data APIs
HTTP Response Codes
The API will return one of the following responses:
|HTTP Response Code||Description|
|200||Successful. Data will be returned in JSON format.|
|400||Bad request. Verify the query string parmaters that were provided.|
|403||API key is not correct or was not provided.|
|4XX||Additional 400-level are caused by some type of error in the information submitted.|
OpenAPI Specification File
You can view the full details of this API in the OpenAPI Specification file available here: Open API specification file for the Digital.gov API