API & Docs Metrics Charts

Dig into the details of how your developers are using your API and docs with Metrics charts πŸ•΅

So you've put in a lot of time and effort into building out beautiful documentation and an interactive developer hub for your API using ReadMe. Excellent!

Now it’s time to make sure that your developers are actually visiting your hub and taking advantage of all of the great information available to them. On top of that, you probably want to understand how your users interact with your API and use that combined knowledge to make your developer experience even better πŸ˜‰

With ReadMe’s API Metrics, you have reports on API call volume, endpoint usage, and errors that give you insights into your best use cases β€” and where developers might be getting stuck β€” at your fingertips. Plus, use the insights from your Doc Metrics to understand which guides are most popular, learn what terms and pages your devs are searching for most, and even dig into feedback on individual pages.

The Home page of your project dashboard highlights a snapshot of your Doc Metrics and API Metrics. Click View All to see more details, or navigate to the Metrics page in your project dashboard.

The Home page of your project dashboard highlights a snapshot of your Doc Metrics and API Metrics. Click View All to see more details, or navigate to the Metrics page in your project dashboard.

Where To Start

Here are a few questions to think about when looking at your Doc Metrics and API Metrics data β€” and how to look at them together to get even more powerful insights from your data. The Home page of your project dashboard provides a succinct overview of your metrics, but for the full picture, navigate to the Metrics section of your dashboard.

πŸš€ How is my API growing and performing?

  • API Calls + API Errors + Compare History

πŸ‘‹ Who’s using my API?

  • New Users: scroll down to view the feed + My Developers
  • Biggest Users: API Calls, grouped by User Agent

πŸ† What are my best API use cases?

  • Top Endpoints (usage) + Page Views (what your developers are reading)

πŸ›€ Are my docs getting users on the right track?

  • Search + Page Views + Page Quality
  • APIErrors over time

Using Metrics Charts πŸ“Š

Within each page of your Metrics, you can dive further into the data using various filters and charts.

  • πŸ—οΈ History: tracking trends over time is a key way to measure the impact of improvements and new API features. Your ReadMe plan includes 24 hours worth of API request and Try It data, and you can add additional API logs in the Upgrade Plan page of your project dashboard to see even more history. you'll have access to a certain amount of data history. Toggle between time periods in the upper right corner to drill down on usage spikes, pull metrics over time for planning cycles, or see how much variability you have week to week.
  • ⏳ Filters: dial into the answers you're looking for with filters specific to each chart to show, hide, or group the underlying data. These allow you to create custom views for the particular question you're investigating like breaking down API usage by method or tracking negative page votes over time.
  • πŸ“ˆ Chart Types: switch between line and bar charts to get the view of your data that's most helpful to you. Click the toggle to compare your data to the prior period (based on your chosen History window) to track trends over time.
  • βœ‚οΈ Shortcuts: think of these as ReadMe pro tips β€” we've put together one-click shortcuts to popular filter and history settings. Just check the bottom of each chart to see the pre-made shortcuts!

Understanding Your Doc Metrics πŸ“‘

Have you ever wondered if users are finding what they need in your hub? Doc Metrics give you that visibility to inform your content strategy and make sure your hub is as useful as possible for your developers.

Your Docs Metrics include:

  • πŸ‘€ Page Views: track usage of your hub over time, or Group By Path to identify your most popular pages. If you're curious if a page is being used (or if it's safe to sunset), use the Path dropdown to look up the metrics for that page specifically.
  • πŸ’Ž Page Quality: page voting is one of the best ways to hear directly from your users with an in-the-moment thumbs up, thumbs down, or comment. Tracking this feedback over time helps you ensure your hub is actually useful to developers. You can enable or disable page voting directly from the Page Quality page in your Metrics section (click the gear icon dropdown πŸ˜‰ ).
  • πŸ” Search: tracking common search terms is a great way to understand your users' mindset: what are they trying to do? What information are they having a hard time finding? Where are they getting stuck? In addition to tracking search volume over time, looking at your top search terms can help answer these questions. Just use the Top Search Terms shortcut for this chart!

Understanding Your API Metrics πŸ”—

Your API Metrics include:

  • ☎️ API Calls: measure total call volume to understand usage of your API. Use the Calls By Status shortcut to group calls by status code to see the breakdown of successful calls vs. errors over time.
  • πŸ” Top Endpoints: get visibility into usage of each endpoint in your API, so you can easily see which endpoints are most (or least) popular with developers. This data helps you prioritize support and improvements for your most important endpoints or support deprecation decisions for ones that aren't being used.
  • ⚠️ API Errors: see where your developers are running into trouble, and filter by endpoint or by status. Track errors over time, and spot an incident before it gets out of hand!
  • πŸ™‹β€β™€οΈ New Users: keep track of active users of your API and see how that’s changing over time β€” a key metric for many API and Platform teams to track and report on internally. You can also quickly spot spikes (or drops) in usage that might indicate a problem or outage your team should investigate.

In addition to the rich insights you can unlock using My Developers, you can also use API Metrics to answer key questions about how people are using your API:

  • Who are the heaviest users of your API?
  • Which endpoints are most heavily used? Which endpoints are least popular?
  • How are your error rates? Which endpoints are causing the most trouble?

You'll be able to apply these insights to make much more strategic decisions about your API. Here are a few examples:

  • Unique API users: determine if new or existing customers are fueling API usage and how this changes over time
  • Top API consumers: identify the top users and explore opportunities for upselling or endpoint improvements by observing how these power users interact with your API
  • API pain points: isolate endpoints that are causing the most trouble and identify opportunities for improvement