Welcome to the PeakMetrics API
The PeakMetrics API provides programmatic access to media intelligence data, including workspaces, mentions, and narratives across multiple channels. Base URL:https://api.peakmetrics.com
API Version: 2.0.0
Core Concepts
Workspaces
A Workspace defines a segment of the media ecosystem you’re interested in analyzing and is comprised of all related mentions. Typical workspaces represent:- A company (e.g., “Home Depot”)
- A key executive
- An industry or topic (e.g., “Artificial Intelligence”)
- A group of sources or geographic region
Mentions
A Mention is a piece of content written by an author, promoted by a publisher, and released on a domain as part of a channel. Mentions are the fundamental data units in PeakMetrics.Narratives
Narratives are AI-generated groupings of related mentions that share a common theme or topic. Each narrative includes:- AI-generated title and summary
- Mention count and sentiment analysis
- Relevancy scoring
- User-assigned tags
Channels
PeakMetrics monitors content across multiple channels:- News
- Social media (Twitter, Facebook, Instagram, Threads, Bluesky)
- Video platforms (YouTube, TikTok)
- Discussion platforms (Reddit, Telegram)
- International platforms (VK, Weibo)
- Blogs and discussions
Authentication
All API endpoints (except/access/token) require authentication using Bearer tokens with JWT format.
Getting an Access Token
First, obtain an access token using your credentials:Using the Token
Include the token in the Authorization header for all subsequent requests:Rate Limits & Pagination
- Workspaces: No explicit limit
- Narratives: Maximum 1000 per request (use
limitandoffsetfor pagination) - Mentions: Maximum 50 per request (use
limitandoffsetfor pagination)
Quick Start
- Authenticate and get an access token
- Retrieve your workspaces
- Query mentions or narratives for a specific workspace
- Filter by date range, channels, or other criteria
