Home / Companies / Moesif / Blog / Post Details
Content Deep Dive

How to Display the Number of API Calls a Customer Made vs Plan Limits in your SaaS app

Blog post from Moesif

Post Details
Company
Date Published
Author
Kay Ploesser
Word Count
1,020
Language
English
Hacker News Points
-
Summary

Moesif offers a robust Management API that provides customers with advanced monitoring and analytics capabilities for their APIs. This API allows users to retrieve data such as the number of requests made by specific users over a period, using tools like cURL and Node.js. Access to the Management API requires a paid subscription, as it is not available for users on the free plan, and it does not support CORS, limiting direct browser access. Users must generate a management API token with specific scopes to authenticate requests. The API uses Elasticsearch DSL for flexible searching and filtering, enabling users to query metrics like total API calls made by a specific user in the last 30 days. By leveraging Node.js, one can set up a proxy server to interact with the Management API, enhancing integration with other analytics tools. Moesif offers a 14-day free trial for new users to explore its capabilities.