API Overview
Welcome to MediaMelon's SmartSight Analytics API developer documentation. This guide outlines how to access the these APIs and use them to access real-time and historical data.
The MediaMelon SmartSight Analytics APIs provide programmatic access to all the data which is currently visualized in the Smartsight web portal. You can use these RESTful API endpoints to build custom dashboards, extract data for warehouse purposes, or ingest data into third-party tools. MediaMelon APIs can be easily integrated into your applications and provide HTTP response codes to indicate API errors. The APIs are secured via OAuth2 authentication.
There are 2 sets of MediaMelon APIs as mentioned down here :
SmartSight Metrics and Dimensions APIs
Metrics
Dimensions
SmartSight Smartquery APIs
Subscriber Insights
Prerequisites
To fetch data from the backend, Smarthsight Analytics API authenticates users via an OAuth Token. To obtain this token, you need these prerequisites:
Username - Your SmartSight username
Password - Your SmartSight password
Fetch Auth Token POST
POST
Updated SmartSight token for authentication based off Keycloak integration.
curl 'https://identity.mediamelon.com/realms/mediamelon/protocol/openid-connect/token'\
-x POST
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'username=<email-ID>' \
--data-urlencode 'password=<password>' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'client_id=smartsight-backend' \
--data-urlencode 'scope=openid'
Required request body parameters
username
string
A body parameter in form of a string with Smartsight Username value
password
string
A body parameter in form of a string with Smartsight Password value
grant_type
string
A body parameter in form of a string with "password" as value
client_id
string
A body parameter in form of a string set to smartsight-backend
scope
string
A body parameter in form of a string set to openid
Response
SmartSight Metrics and Dimensions API
This endpoint with combinations of path/query/body parameters will help you fetch the data in any combination (metrics and dimensions). Following dashboards use this API endpoint to fetch required data and present it on the platform :
KPIs Dashboard
Video Experience Dashboard/s
Ad Experience Dashboard/s
Content Insights
Content Analysis
Endpoint :
As of July 2025 /mm-apis/qbrData/vod endoints are deprecated. Please use session instead. We have maintained backward compatibility so you can still use the old API route. However we strongly suggest to move to /mm-apis/session queries as it provides access to a lot of new features.
For further information on how to fetch this data programmatically using API endpoints along with path/query/body parameters, refer to Video Experience and Ad Experience guides.
SmartSight Smartquery API
This endpoint with combinations of path/query/body parameters will help you fetch content insights, engagement behavior data. Following dashboards use this API endpoint to fetch required data and present it on the platform :
Content Paths
Subscriber Insight
Endpoint :
For further information on how to fetch data programmatically using above API endpoint along with path/query/body parameters, refer to Smartquery Insights guide.
Last updated