Viral Outliers Trends API

The Trends API from Viral Outliers — 1 operation(s) for trends.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/viraloutliers-com:viraloutliers-com-trends-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

viraloutliers-com-trends-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Viral Outliers Agent Trends API
  version: 1.0.0
  description: 'Search viral outlier posts, pull profile stats, generate transcripts and crawl social profiles on demand. Prepaid credit billing with a hard stop at zero. Human docs: https://viraloutliers.com/docs'
servers:
- url: https://viraloutliers.com
tags:
- name: Trends
paths:
  /api/v1/trends:
    post:
      operationId: niche_trends
      summary: What's Trending in a Niche
      description: 'Returns the top overperforming posts in a niche over a recent window (default one week), plus a breakdown of which content types are driving the trend and which creators are represented. Filter by keyword and platform. Great as the first call in a content-research loop: see what''s hot, then deep-dive or remix the winners.


        Cost: 2 credits per call.'
      security:
      - apiKey: []
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '401':
          description: Invalid or revoked API key (or, on free skills, no key sent); code key_suspended means the key was suspended when its account was claimed by the email owner and can be reactivated in Settings
        '402':
          description: Payment required. Without an API key (billable skills only) the code is payment_required and error.payment.checkoutUrl (or, when no link is configured, error.payment.pageUrl at https://viraloutliers.com/api-access) buys a key without an account; with a key it is insufficient_credits and error.payment points at create_topup_link.
        '429':
          description: Rate limited
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  description: Niche keyword over captions/titles/handles.
                platforms:
                  type: array
                  items:
                    type: string
                  description: '"tiktok" | "instagram" | "youtube".'
                categoryId:
                  type: string
                  description: 'Niche filter: a category id from list_categories (covers its subtree). More precise than a keyword: it scopes to the creators categorized in that niche.'
                timeFrame:
                  type: string
                  description: '"one_week" (default) up to "all_time".'
                limit:
                  type: number
                  description: Top posts to return, clamped 1–50 (default 20).
              required: []
      tags:
      - Trends
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: 'API key (so_live_…) from Settings → API Keys, as "Authorization: Bearer so_live_…" or the x-api-key header.'
x-provenance:
  method: harvested
  publisher: Viral Outliers
  source: https://viraloutliers.com/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)