{
    "version" : "https://jsonfeed.org/version/1",
    "content" : "news",
    "type" : "single",
    "title" : "API Analytics |Digital.gov",
    "description": "API Analytics",
    "home_page_url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/","feed_url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/2013/03/12/api-analytics/index.json","item" : [
    {"title" :"API Analytics","summary" : "Similar to website analytics, API analytics focus on reliably reporting the metrics which are most useful to its stakeholders. There are a many ways of collecting, reporting, and consuming API analytics but all revolve around the industry–accepted norm that some form of analytics are crucial to any API program. The most basic metrics will track","date" : "2013-03-12T13:11:57-04:00","date_modified" : "2025-01-27T19:42:55-05:00","authors" : {"gray-brooks" : "Gray Brooks"},"topics" : {
        
            "analytics" : "Analytics",
            "application-programming-interface" : "Application programming interface",
            "software-engineering" : "Software engineering"
            },"branch" : "bc-archive-content-3",
      "filename" :"2013-03-12-api-analytics.md",
      
      "filepath" :"news/2013/03/2013-03-12-api-analytics.md",
      "filepathURL" :"https://github.com/GSA/digitalgov.gov/blob/bc-archive-content-3/content/news/2013/03/2013-03-12-api-analytics.md",
      "editpathURL" :"https://github.com/GSA/digitalgov.gov/edit/bc-archive-content-3/content/news/2013/03/2013-03-12-api-analytics.md","slug" : "api-analytics","url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/2013/03/12/api-analytics/","content" :"\u003cdiv class=\"image\"\u003e\n  \u003cimg\n    src=\"https://s3.amazonaws.com/digitalgov/_legacy-img/2014/08/250-x-86-API-letter-blocks-23575697-Hemera-Technologies-PhotoObjects.net-Thinkstock-87667306.jpg\"\n    alt=\"Children\u0026#39;s building blocks letters spelling A P I.\"/\u003e\u003c/div\u003e\n\n\n\u003cp\u003eSimilar to website analytics, API analytics focus on reliably reporting the metrics which are most useful to its stakeholders. There are a many ways of collecting, reporting, and consuming API analytics but all revolve around the industry–accepted norm that some form of analytics are crucial to any API program. The most basic metrics will track the number of API registrations and the number of API requests, but as important as understanding how much an API is used is understanding how it is used.\u003c/p\u003e\n\u003cp\u003eA first step in any analytics program is always to begin a list of what metrics are desired and why. Basic metrics begin to tell the story of how popular an API but \u003ca href=\"http://blog.programmableweb.com/2012/08/02/the-api-measurement-secret-know-what-metrics-matter/\"\u003efurther metrics offer much more\u003c/a\u003e. By using more advanced analytics, you can begin to understand which parts of your data are more popular and why.\u003c/p\u003e\n\u003cp\u003eDepending on how your \u003ca href=\"/preview/gsa/digitalgov.gov/bc-archive-content-3/2013/03/12/how-to-make-apis-an-overview/\" title=\"How to Make APIs—An Overview\"\u003eAPI is generated\u003c/a\u003e, you may have different options for analytics. The more complex and mature the API, the more advanced the potential integration. At the most basic level, basic queries against server logs will enable a baseline of information. By working with the technical team, you can explore more complex options, many of which \u003ca href=\"http://www.apievangelist.com/2011/06/23/api-ecosystem-tracking-with-statsd-and-graphite/\"\u003emay be free and open source\u003c/a\u003e. Their integration into the system, just like any other functionality, may require a cost–benefit analysis of the development hours versus the capability delivered. Alternatively, several third party service providers \u003ca href=\"http://apievangelist.com/2012/06/15/roundup-of-20-api-service-providers-in-2012/\"\u003esuch as 3Scale, Apigee, Atmosphere, and Mashery\u003c/a\u003e provide API management platforms which can be placed on top of your API catalog without any technical integration. These are then able to provide numerous services, including but not limited to robust analytics.\u003c/p\u003e\n\u003cp\u003eAt this stage, it is important to view the entire API process as discrete stages and to focus on analytics specific to each one. This mindset opens the door to \u003ca href=\"http://blog.programmableweb.com/2011/07/13/whats-next-for-apis-performance-tuning/\"\u003eperformance optimizations\u003c/a\u003e but more fundamentally, equips your team to respond to the needs and wants of your developers. Engaging those who are using your API to debug their usage and otherwise support them will promote greater adoption and help you to understand the role of APIs for your agency in ways that complement the power of analytics. \u003ca href=\"http://www.apievangelist.com/2011/03/31/api-metrics-and-analytics/\"\u003eAs one analyst notes\u003c/a\u003e, “API owners should be measuring every aspect of their API and its community, and be constantly reassessing their strategy based upon what is going on in real–time.” The same author later \u003ca href=\"http://www.apievangelist.com/2012/09/18/simple-api-developer-tracking-framework/\"\u003earticulated one straightforward strategy\u003c/a\u003e for doing just this. NPR’s API program also \u003ca href=\"http://blog.programmableweb.com/2010/09/15/metrics-for-content-apis-an-npr-case-study/\"\u003eprovides a fully fleshed–out model\u003c/a\u003e for not just the collecting of API analytics but the thorough and practical use of those metrics. Your team should review the common use cases and potential areas for improvement that best fit your agency and construct a model to iterate as your program matures.\u003c/p\u003e\n"}
  ]
}
