Product Demos Pricing Docs Black Friday: Lifetime deal for $129 → Log in Start free →

HomeDocsAnalytics API

Analytics API

Views, submissions and conversion for a form over a trailing window, with a day-by-day breakdown. The same numbers power the Analytics page in your dashboard.

Requires a bearer token; the form must be in the token's workspace.

Get form analytics

GET /forms/{form}/analytics
Query parameter Type Description
period 7 | 30 | 90 Number of trailing days to report, including today. Default 30. Any other value returns 422.
curl "https://rapidform.com/api/v1/forms/42/analytics?period=7" \
  -H "Authorization: Bearer $RAPIDFORM_API_KEY"
{
    "data": {
        "period_days": 7,
        "views": 1840,
        "submissions": 92,
        "conversion_rate": 5.0,
        "daily": [
            { "date": "2026-08-29", "views": 210, "submissions": 9 },
            { "date": "2026-08-30", "views": 265, "submissions": 14 },
            { "date": "2026-08-31", "views": 248, "submissions": 11 },
            { "date": "2026-09-01", "views": 301, "submissions": 17 },
            { "date": "2026-09-02", "views": 277, "submissions": 15 },
            { "date": "2026-09-03", "views": 290, "submissions": 13 },
            { "date": "2026-09-04", "views": 249, "submissions": 13 }
        ]
    }
}
Field Type Description
period_days integer The window that was reported (7, 30 or 90).
views integer Times the form was loaded in the window — hosted page and embeds combined.
submissions integer Submissions received in the window.
conversion_rate number submissions / views × 100, rounded to one decimal. 0 when there are no views.
daily array One entry per day, oldest first, ending today. Days with no activity are included with zeros.
daily[].date date YYYY-MM-DD in UTC.
daily[].views integer Views that day.
daily[].submissions integer Submissions that day.

Views are counted per page load, not per unique visitor. Responds 404 if the form is not in this key's workspace.

Black Friday Lifetime Business plan $129 $348/yr 63% OFF 48 spots left · ends Nov 30