---
title: "Get Share Stats"
method: GET
path: "/api/v1/personal/collections/{collection_id}/share/stats"
tags: ["Personal Rankings"]
---

# Get Share Stats

`GET /api/v1/personal/collections/{collection_id}/share/stats`

## Request

- Base URL: `https://app.aimrank.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.aimrank.io/api/v1/personal/collections/{collection_id}/share/stats`
- Auth: none declared

Get sharing statistics for a collection.

## Path parameters

- `collection_id` string, required

## Response `200`

Successful Response

- ShareStatsResponse
  - `share_code` string, nullable, required
  - `is_active` boolean, required
  - `created_at` string, date-time, nullable, required
  - `expires_at` string, date-time, nullable, required
  - `view_count` integer, required
  - `last_viewed_at` string, date-time, nullable, required
  - `days_until_expiry` integer, nullable, required

## Other responses

- `422`: Validation Error

---

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