ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiAnalytics

Get daily visitor trend for the last N days

GET
/api/v1/analytics/trend

Authorization

bearer

Query Parameters

days?number

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Response Body

Visitor trend fetched successfully

Example Request
curl -X GET 'http://localhost:3001/api/v1/analytics/trend'
Example Response
Empty