Skip to main content

For Developers

Software developers and researchers can use these APIs and data feeds to help people find useful government information.

Questions and Feedback

USA.gov uses GitHub repositories to maintain the documentation for most of our APIs and data feeds.  Using GitHub, you can easily provide feedback to us and ask questions using each repository's issue tracker.  You can also email us any questions you might have regarding our APIs.

APIs and Data Feeds from USA.gov

USA.gov offers a variety of APIs and data feeds to help developers access and expose quality government information and services from their own websites and applications.  Currently, these APIs include:

Corporate Consumer Contact API
This API returns a manually curated list of contact information for consumer-related corporations.
Style:  RESTful API
Return Format:  JSON, JSONP, XML

DigitalGov Search API (formerly USASearch)
Provides DigitalGov Search customers with results. This API is only available for use on official government websites. Sign in is required.  Once you login, you can find the API documentation under the "activate" menu.
Style:  RESTful API (requires DigitalGov Search account)
Return Format:  JSON, JSONP, XML

Federal Agency Directory API 
This API contains directory information about federal agencies, such as contact methods, in English and Spanish.
Style:  RESTful API
Return Format:  JSON, JSONP, XML

Federal Mobile Product API
This API contains native and hybrid apps, responsive sites, and mobile websites from across the government, in English and Spanish.
Style:  RESTful API
Return Format:  JSON, JSONP

Go.USA.gov API
Go.USA.gov is a URL shortener for government employees. The API can shorten, preview, and show clicks on short URLs.
Style:  RESTful API
Return Format:  JSON, JSONP, XML, plain text

Government Jobs API
This API returns job openings across the federal government, and includes all current openings posted on USAJobs.gov that are open to the public and located in the United States. It also includes some state and local government jobs.
Style:  RESTful API
Return Format:  JSON

List of Non-.gov URLs in Our Search
We search across all federal, state, local, tribal, and territorial government websites. Most government websites end in .gov or .mil, but many do not. This is a list of all government URLs that do not end in .gov or .mil.
Style:  JSON, TXT file

Social Media Registry API 
The Social Media Registry is an official source of information about federal government social media accounts.
Style:  RESTful API
Return Format:  HTML5, JSON, XML

Share This Page:

Do you have a question?

Ask a real person any government-related question for free. They'll get you the answer or let you know where to find it.

Top