---
title: "Get guest analytics for an album"
method: GET
path: "/events/{id}/analytics"
tags: ["Events"]
---

# Get guest analytics for an album

`GET /events/{id}/analytics`

## Request

- Base URL: `https://findme.photo/api/v1`
- URL: `https://findme.photo/api/v1/events/{id}/analytics`
- Auth: HTTP bearer

Returns guest visits, unique visitors, photo downloads and selfie searches for an album, as totals and per day, over a date window. `from` defaults to the album's creation date and `to` to today (UTC); both are inclusive. Requires a plan that includes analytics, otherwise `403 tier_not_eligible`. The `unique_visitors` total is the sum of the daily figures.

## Query parameters

- `from` string, date
- `to` string, date

## Response `200`

Analytics for the window.

- object
  - `data` EventAnalytics, required
    - `event_id` string, uuid, required
    - `window` object, required
      - `from` string, date-time, required: `{from}T00:00:00Z`
      - `to` string, date-time, required: `{to}T23:59:59Z`
    - `guest_visits` integer, required
    - `unique_visitors` integer, required: Sum of daily unique visitors.
    - `photos_downloaded` integer, required
    - `selfie_searches` integer, required
    - `daily` object[], required: Days in the window that have data. Order is not guaranteed.
      - `date` string, date, required
      - `views` integer, required
      - `unique_visitors` integer, required
      - `downloads` integer, required
      - `selfie_searches` integer, required
  - `meta` Meta, required
    - `request_id` string, required

## Other responses

- `400`: `invalid_request`: invalid id, query parameter, cursor or body. Validation failures list `details.issues`.
- `401`: `missing_or_invalid_token` (no or malformed `Authorization: Bearer fm_live_...` header) or `invalid_token` (unknown or revoked key).
- `403`: `tier_not_eligible`: the plan does not include API access (includes `upgrade_url`), or does not include the feature this endpoint needs.
- `404`: `not_found`: no such resource, or it is not yours, or (for albums) it is deleted.
- `429`: `rate_limited` (per-minute limit; `retry_after_seconds`) or `quota_exceeded` (monthly quota; `retry_after_seconds`, `resets_at`).
- `500`: `internal_error`: something failed on our side. Safe to retry reads; include `request_id` when reporting.

---

[API](https://skmtc.dev/findme/apis/findme-photo-api.md) · [All operations](https://skmtc.dev/findme/apis/findme-photo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/findme/apis/findme-photo-api/revisions/b68670b742a9?raw)
