curl --request GET \
--url https://api.example.com/api/v1/forms/{formId}/analytics{
"totalSubmissions": 123,
"dailySubmissionRate": 123,
"last24HoursSubmissions": 123,
"timeSeriesData": [
{
"time": "<string>",
"submissions": 123
}
],
"timeRange": "<string>",
"plan": "<string>",
"weekOverWeekGrowth": 123,
"peakSubmissionHour": 123,
"browserStats": [
{
"name": "<string>",
"count": 123,
"percentage": 123
}
],
"locationStats": [
{
"name": "<string>",
"count": 123,
"percentage": 123
}
],
"error": "<string>"
}Retrieve detailed analytics for a specific form including submission metrics, time series data, and advanced insights.
curl --request GET \
--url https://api.example.com/api/v1/forms/{formId}/analytics{
"totalSubmissions": 123,
"dailySubmissionRate": 123,
"last24HoursSubmissions": 123,
"timeSeriesData": [
{
"time": "<string>",
"submissions": 123
}
],
"timeRange": "<string>",
"plan": "<string>",
"weekOverWeekGrowth": 123,
"peakSubmissionHour": 123,
"browserStats": [
{
"name": "<string>",
"count": 123,
"percentage": 123
}
],
"locationStats": [
{
"name": "<string>",
"count": 123,
"percentage": 123
}
],
"error": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/artistatbl/Mantlz/llms.txt
Use this file to discover all available pages before exploring further.
X-API-Key: your_api_key?apiKey=your_api_keyX-API-Key header.Show Available values
day - Hourly data for the last 24 hoursweek - Daily data for the last 7 daysmonth - Daily data for the last 30 daysSTANDARD or PRO.X-RateLimit-Limit: Maximum number of requests allowedX-RateLimit-Remaining: Number of requests remainingX-RateLimit-Reset: Unix timestamp when the rate limit resetscurl -X GET "https://api.mantlz.com/api/v1/forms/form_123/analytics?timeRange=week" \
-H "X-API-Key: your_api_key"
{
"totalSubmissions": 247,
"dailySubmissionRate": 12.35,
"last24HoursSubmissions": 18,
"timeSeriesData": [
{ "time": "Mon", "submissions": 32 },
{ "time": "Tue", "submissions": 28 },
{ "time": "Wed", "submissions": 35 },
{ "time": "Thu", "submissions": 41 },
{ "time": "Fri", "submissions": 38 },
{ "time": "Sat", "submissions": 15 },
{ "time": "Sun", "submissions": 18 }
],
"timeRange": "week",
"plan": "STANDARD"
}
{
"totalSubmissions": 247,
"dailySubmissionRate": 12.35,
"last24HoursSubmissions": 18,
"timeSeriesData": [
{ "time": "Mon", "submissions": 32 },
{ "time": "Tue", "submissions": 28 },
{ "time": "Wed", "submissions": 35 },
{ "time": "Thu", "submissions": 41 },
{ "time": "Fri", "submissions": 38 },
{ "time": "Sat", "submissions": 15 },
{ "time": "Sun", "submissions": 18 }
],
"timeRange": "week",
"plan": "PRO",
"weekOverWeekGrowth": 0.15,
"peakSubmissionHour": 14,
"browserStats": [
{ "name": "Chrome", "count": 142, "percentage": 0.575 },
{ "name": "Firefox", "count": 58, "percentage": 0.235 },
{ "name": "Safari", "count": 35, "percentage": 0.142 },
{ "name": "Edge", "count": 12, "percentage": 0.048 }
],
"locationStats": [
{ "name": "United States", "count": 128, "percentage": 0.518 },
{ "name": "United Kingdom", "count": 45, "percentage": 0.182 },
{ "name": "Canada", "count": 32, "percentage": 0.130 },
{ "name": "Germany", "count": 28, "percentage": 0.113 },
{ "name": "Australia", "count": 14, "percentage": 0.057 }
]
}
| Status Code | Error Message | Description |
|---|---|---|
| 400 | Invalid timeRange parameter | timeRange must be “day”, “week”, or “month” |
| 401 | Invalid or inactive API key | The provided API key is invalid or has been revoked |
| 403 | Analytics are only available with the STANDARD or PRO plan | User is on the FREE plan which doesn’t include analytics |
| 404 | Form not found | The form doesn’t exist or doesn’t belong to the user |
| 429 | Rate limit exceeded | Too many requests, wait for rate limit to reset |
| 500 | Internal server error | Server encountered an error processing the request |