Skip to main content

Overview

The User Analytics API retrieves comprehensive financial analytics and insights for a specific user based on their financial data. This API provides personalized financial metrics, spending patterns, investment analysis, and other PFM insights that can be displayed in your application interface.

Example Request

Authentication

This API requires Bearer token authentication:

Query Parameters

Response

Success Response (200 OK)

When the analytics data is successfully retrieved, the API returns comprehensive financial insights. Complete Response Examples: For detailed response structures across all analytics types (ETF, Mutual Funds, Equities, Deposits, Term Deposits, Recurring Deposits), access our comprehensive response folder: 👉 View All Analytics Sample Response Basic Response Structure:

Error Responses (400 Bad Request / 404 Not Found)

When the request fails due to authentication or data issues, the API returns specific error responses:

Error Handling

Supported FI Types

The fiType parameter accepts the following values:

Next Steps

After successfully retrieving analytics data:
  1. Parse the Response: Extract the analytics data and breakdown information for display in your application
  2. Handle Different FI Types: Use the breakdown array to show category-wise analytics
  3. Implement Caching: Consider caching analytics data to reduce API calls and improve performance
  4. Error Handling: Implement proper error handling for token expiry and retry logic

Security Considerations

  • Token Security: Handle session tokens securely and avoid logging them
  • HTTPS Only: Always use HTTPS when calling this API
  • Token Refresh: Implement proper token refresh logic when tokens expire
  • Rate Limiting: Be mindful of API rate limits and implement appropriate throttling
  • Encryption Support: This API supports encryption. When encryption is enabled for your integration, both request and response payloads will be encrypted. See API Encryption Guide for details.