metrix · API reference
Guides Trend Finder Reference Map

TikTok · Instagram trend intelligence

The signal layer for what's about to pop.

A read-first REST API over a live velocity engine — momentum, acceleration and breakouts across creators, sounds, hashtags and videos in 24 niches. Every route below is mounted under /api/v1 behind Bearer-token auth.

Live endpoints
Route groups
Base URL
api.metrix.ac
Auth
Bearer token
Rate limit
300/min

How a request flows

Request lifecycle

middleware order — auth runs innermost, so the logger captures even rejected calls

Client
Authorization: Bearer <key>
CORS
origin allowlist
RequestLogger
writes api_request_log, never blocks
ApiKey auth
SHA-256 hash → client lookup, or admin shortcut
Route handler
reads request.state.client

Tier ladder

require_tier(min) gates premium reads

0freeauthenticated shared reads
1starter · basicstandard reads
2growth · proaffinity recompute, group refresh

Access & limits

how each route is protected

sharedBearer key required; shared catalog/data without a per-resource tenant gate
clientBearer key required; caller-owned resources enforce client_id
tierrequire_tier("pro") minimum level
adminADMIN_API_KEY shortcut → is_admin flag
va-scoperequire_scope("va"); key locked to /va/*
limits300/min per-IP · LLM 5/min · VA 30/min · recs 10/min

Conventions

PaginationOpaque base-64 cursor (wins over offset) on all feed/trending/search routes; responses carry has_more + next_cursor.
WindowsVelocity windows are 6h · 24h · 72h · 7d; search uses its own 1h/12h scale and resolves to nearest.
Size tiersnano · micro · mini · small · medium · large · xl — audience buckets used across velocity/trending filters.
OwnershipModels & topic-groups are per-client. The niche registry exposes canonical, caller-owned, and legacy topics; foreign-private topic IDs fail closed as 404.
No fabricationEmpty result sets return empty — the API never invents rows to fill a page.