Get visitor
GET https://datafa.st/api/v1/visitors/{visitorId}
Retrieve the full profile for one visitor: identity, session activity, completed goals, payment events, Identify profile, and conversion prediction. Use the
visitorId returned by List visitors or stored in the datafast_visitor_id cookie.This is the endpoint to call when you need journey context for support, sales, or enrichment — not for bulk exports.
Request
Path parameters
visitorIddatafast_visitor_id on endpoints that accept both names. Visitor UUID from List visitors or the browser cookie.Query parameters
websiteIddft_ account token on Website API routes. Omit with a df_ website key. Example: ?websiteId=665f0b3c4d2e1a0012345678.Example request
GET /api/v1/visitors/a3ab2331-989f-4cfa-91c6-2461c9e3c6bd
Use the UUID from List visitors or the
datafast_visitor_id cookie.Response
Returns a JSON object with
status: "success" and endpoint-specific fields in data (and pagination when the endpoint is paginated).Response fields
data.visitorIddatafast_visitor_id on endpoints that accept both names.data.identitydata.activity.visitCountdata.activity.pageViewCountdata.activity.timeSinceFirstVisitdata.activity.timeSinceCurrentVisitdata.activity.firstVisitAtdata.activity.lastVisitAtdata.activity.currentUrldata.activity.completedGoalsdata.activity.visitedPagesdata.profileuserId, metadata, and identifiedAt.data.predictionAuthentication
df_website API key: The website is inferred from the key. You do not need awebsiteIdquery parameter.dft_account token: Requiresanalytics:readpermission and?websiteId=on every request. The token must be allowed to access that website.
Read authentication and scopes for token creation, permission lists, and scoped tokens.
Errors
400 — Missing or invalid
visitorId (must be a UUID v4), or visitor flagged as a bot.404 — No pageviews found for this visitor on the authenticated website.
See API errors for the standard error envelope, auth failures, validation errors, permission errors, and rate limits.