---
title: "Top reels by velocity for the dashboard \"Trending right now\" teaser."
method: GET
path: "/api/v1/analytics/reels/trending"
tags: ["Analytics"]
---

# Top reels by velocity for the dashboard "Trending right now" teaser.

`GET /api/v1/analytics/reels/trending`

## Request

- Base URL: `https://api.avatarfactory.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avatarfactory.io/api/v1/analytics/reels/trending`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

<br/>Visibility: own reels + reels of global ("AvatarFactory Verified")<br/>accounts (admins see all), posted within the last `hours`, ordered by<br/>views_per_hour. A brand-new user with no followed accounts still sees<br/>the global Verified set.

## Query parameters

- `limit` integer
- `hours` integer
- `verified_only` boolean

## Response `200`

OK

- TrendingReelsResponse
  - `rows` ReelTableRow[]
    - `account_followers` integer, nullable, required
    - `account_id` integer, nullable, required
    - `account_is_real` boolean
    - `account_picture_url` string, nullable
    - `account_username` string, nullable, required
    - `af_components` object, nullable
    - `af_score` integer, nullable
    - `caption` string, required
    - `category_name` string, nullable, required
    - `comments` integer, nullable, required
    - `engagement_rate` number, required
    - `has_transcript` boolean
    - `id` integer, required
    - `is_favorite` boolean
    - `is_outperformer` boolean
    - `likes` integer, nullable, required
    - `outperform_ratio` number, nullable
    - `posted_at` string, date-time, nullable, required
    - `reel_shortcode` string, required
    - `reel_url` string, nullable, required
    - `thumbnail_url` string, nullable, required
    - `video_url` string, nullable
    - `views` integer, nullable, required
    - `views_per_hour` number, required

## Other responses

- `422`: Unprocessable Entity

---

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