v46

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-011274550.0 KB
Healthcare Providers

Get Provider Directory Analytics

Returns page-view analytics (total views, unique visitors, daily breakdown) for a provider's public directory listing.

get/v1/providers/{providerId}/analytics

Path parameters

providerIdstring required

The provider _id

Query parameters

timeRange7 | 30 | 90

Preset number of days (ignored when startDate/endDate are provided)

startDatestring

Custom range start (YYYY-MM-DD)

endDatestring

Custom range end (YYYY-MM-DD)

Response

Default Response

totalViewsinteger
uniqueVisitorsinteger
{"stackTrail":"paths:/v1/providers/{providerId}/analytics:get:responses:200:content:application/json:schema:properties:timeRange","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/v1/providers/{providerId}/analytics:get:responses:200:content:application/json:schema:properties:customStartDate","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/v1/providers/{providerId}/analytics:get:responses:200:content:application/json:schema:properties:customEndDate","oasType":"schema","type":"unknown"}
providerNamestring
providerSlugstring