fetchValidateFrameAnalytics
Analytics for the mini appGroup: Frame APIsUse this when you need: Analytics for the mini app.
Usage
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
frameUrl | string | ✅ | URL of the mini app to fetch analytics for |
analyticsType | FetchValidateFrameAnalyticsAnalyticsTypeEnum | ✅ | Type of analytics to fetch |
start | string | ✅ | - |
stop | string | ✅ | - |
aggregateWindow | FetchValidateFrameAnalyticsAggregateWindowEnum | ❌ | - |
Response
Returns aRequestArgs object.
Error Handling
Tips
- Provide a viewerFid when supported to respect mutes/blocks and include
viewer_context. - Keep requests scoped (e.g., use
limit) to improve latency. - Cache results where sensible.

