Data.gov has 130,000+ datasets (as of November 3, 2014) many of which are designed for application developers. In previous columns, I’ve showcased some of the great applications built using federal APIs. Have you wondered where the idea for an app came from?
Some developers start with an idea and then look for the API that best fits the idea. For example, a developer may want to create an app that alerts users of unsafe bus or limousine companies. Possible users are conference planners or tourist services. The developer could start with Data.gov and search through the catalog for Department of Transportation (DOT) datasets. Fortunately, DOT has the perfect API: The SaferBus API. This API provides safety records for motor coaches, school buses, limousines, mini-buses, and vans. The API also gives the city and state of the carrier company so the developer could add a mapping feature to the app.
Other apps are built by brainstorming around an established API. Another set of DOT APIs concerning transportation safety is the Federal Railroad Administration’s (FRA) Safety Data APIs. FRA collects reports on incidents involving rail crossings and highways. There is much detail reported by the API including location information, weather conditions, and a narrative of the accident. A developer could create an app that uses a smartphone’s built-in GPS (Global Positioning System) to warn users of nearby dangerous railroad crossings. This app could even estimate the probability of a railroad accident based on current weather conditions using past accident data in similar weather.
Sometimes developers have a great idea and the federal data source exists, but is not available as an API. In these cases, a developer can contact the federal agency and demonstrate how his or her app idea can benefit the public. Once agencies see a need for open access to a data source, another API could be added to Data.gov’s growing list of datasets.
*API – Application Programming Interface. How software programs and databases share data and functions with each other. Check out APIs in Government for more information. Each week in “The API Briefing,” I will showcase government APIs and the latest API news and trends. Visit this blog every week to learn how government APIs are transforming government and improving government services for the American people. If you have ideas for a topic or have questions about APIs, please contact me via email.