Advanced API analytics — beta

Nadles
3 min readMay 10, 2024

TL;DR: API providers on Nadles can now enjoy the beta version of analytics and run free-form SQL queries on HTTP request logs and usage records. Scroll down for examples.

Having a versatile analytics solution is absolutely crucial for API providers in many cases:

  1. Observability: know per-customer usage patterns of your API.
  2. Metrics: make data-driven business decisions and steer your sales process.
  3. Dispute resolution: have a proof of each amount billed to customers.
  4. Early problem detection: fix issues before they hit hard.

But how to build analytics that is flexible enough to support all these use cases and not force users to deal with an entangled UI to configure filters and aggregations?

Nadles stores a lot of information about each request and response: HTTP headers, status codes, protocols, request methods, URLs, query strings, various timestamps, usage of billable metrics incurred by the request, etc.

So we asked ourselves: what could be the first step in offering the most flexible analytics for APIs? What would enable each API provider to tailor analytics to their needs?

The answer we found is: SQL. The query language that is being used for data retrieval all over the world.

Using SQL you can do whatever you need: calculate metrics, sort, filter by any arbitrary expressions, group, slice, etc. Every developer is familiar with it and knows how to get the needed results.

But how can you run SQL queries on your HTTP logs?

Well, if you’re using Nadles — that’s trivial.

Nadles analytics page

Nadles API gateway collects lots of statistics and we provide you with an interface to query this data, in order to get answers to all your questions regarding your API products.

Examples

Who were the most active users last month?

Most active users last month

At what hour of the day does my API get the most traffic?

Hour of the day with the highest traffic

Any customers stopped using my API recently?

Customers who made no requests in the last 48 hours

Conclusion

The first iteration of Nadles analytics already allows you to get valuable insights about various aspects of your API’s performance.

That is on top of the world’s most versatile monetization engine which easily takes over secondary and repetitive tasks so that you can focus on the hardest and the most rewarding part — sales and marketing.

Sign up on www.nadles.com to become an early adopter of Nadles analytics and get a chance to request features that you need.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Nadles
Nadles

Written by Nadles

We help API-first companies deliver their products to customers within minutes by taking over secondary tasks that you otherwise have to repeat for every API.

No responses yet

Write a response