Rayana AI Trends API

The trends API from Rayana AI — 5 operation(s) for trends.

GitHub OpenAPI

Operations 5

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/rayana-ai:rayana-ai-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

rayana-ai-trends-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rayana AI Trends API
  description: 'Impersonal market-research data from the Rayana AI engine: rankings, signals, per-ticker scores, rotation, attention trends, and daily briefs. All content is computed once against broadcast model state and served identically to every caller.'
  version: 1.1.0
tags:
- name: Trends
paths:
  /v1/trends:
    get:
      tags:
      - Trends
      summary: Trends
      description: 'The attention leaderboard: latest virality snapshot, VScore desc, with

        the full decomposition (intensity/breadth/slope/vramp/sources).'
      operationId: trends_v1_trends_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 40
          title: Limit
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrendsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/trends/sources:
    get:
      tags:
      - Trends
      summary: Trend Sources
      description: Per-source reach in the latest heat batch — which sources are loud today.
      operationId: trend_sources_v1_trends_sources_get
      parameters:
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SourceBreadthRow'
                title: Response Trend Sources V1 Trends Sources Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/trends/heat:
    get:
      tags:
      - Trends
      summary: Trend Heat
      description: Latest per-(ticker, source) attention contributions (the heat matrix).
      operationId: trend_heat_v1_trends_heat_get
      parameters:
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SourceHeatRow'
                title: Response Trend Heat V1 Trends Heat Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/trends/search:
    get:
      tags:
      - Trends
      summary: Trends Search
      description: Rising/Breakout consumer search queries from the latest internet-search day.
      operationId: trends_search_v1_trends_search_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 24
          title: Limit
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SearchTrendRow'
                title: Response Trends Search V1 Trends Search Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/trends/video:
    get:
      tags:
      - Trends
      summary: Trends Video
      description: Rising video-view velocity, ticker-resolved videos only.
      operationId: trends_video_v1_trends_video_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 15
          title: Limit
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VideoTrendRow'
                title: Response Trends Video V1 Trends Video Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TrendRow:
      properties:
        ticker:
          type: string
          title: Ticker
        viral_score:
          anyOf:
          - type: number
          - type: 'null'
          title: Viral Score
        intensity:
          anyOf:
          - type: number
          - type: 'null'
          title: Intensity
        breadth:
          anyOf:
          - type: number
          - type: 'null'
          title: Breadth
        slope:
          anyOf:
          - type: number
          - type: 'null'
          title: Slope
        vramp:
          anyOf:
          - type: number
          - type: 'null'
          title: Vramp
        distinct_days:
          anyOf:
          - type: integer
          - type: 'null'
          title: Distinct Days
        distinct_sources:
          anyOf:
          - type: integer
          - type: 'null'
          title: Distinct Sources
        source_list:
          anyOf:
          - type: string
          - type: 'null'
          title: Source List
      type: object
      required:
      - ticker
      title: TrendRow
    VideoTrendRow:
      properties:
        title:
          type: string
          title: Title
        channel:
          anyOf:
          - type: string
          - type: 'null'
          title: Channel
        link:
          anyOf:
          - type: string
          - type: 'null'
          title: Link
        views:
          anyOf:
          - type: integer
          - type: 'null'
          title: Views
        published_date:
          anyOf:
          - type: string
          - type: 'null'
          title: Published Date
        age_hours:
          anyOf:
          - type: number
          - type: 'null'
          title: Age Hours
        velocity_vph:
          anyOf:
          - type: number
          - type: 'null'
          title: Velocity Vph
        velocity_score:
          anyOf:
          - type: number
          - type: 'null'
          title: Velocity Score
        ticker:
          anyOf:
          - type: string
          - type: 'null'
          title: Ticker
        company_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Company Name
      type: object
      required:
      - title
      title: VideoTrendRow
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    SearchTrendRow:
      properties:
        query:
          type: string
          title: Query
        value:
          anyOf:
          - type: string
          - type: 'null'
          title: Value
        section:
          anyOf:
          - type: string
          - type: 'null'
          title: Section
        day:
          anyOf:
          - type: string
          - type: 'null'
          title: Day
      type: object
      required:
      - query
      title: SearchTrendRow
    SourceHeatRow:
      properties:
        ticker:
          type: string
          title: Ticker
        source:
          type: string
          title: Source
        intensity:
          anyOf:
          - type: number
          - type: 'null'
          title: Intensity
        days_active:
          anyOf:
          - type: integer
          - type: 'null'
          title: Days Active
        recent_age:
          anyOf:
          - type: number
          - type: 'null'
          title: Recent Age
        last_score:
          anyOf:
          - type: number
          - type: 'null'
          title: Last Score
      type: object
      required:
      - ticker
      - source
      title: SourceHeatRow
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SourceBreadthRow:
      properties:
        source:
          type: string
          title: Source
        tickers:
          type: integer
          title: Tickers
        avg_intensity:
          anyOf:
          - type: number
          - type: 'null'
          title: Avg Intensity
        max_intensity:
          anyOf:
          - type: number
          - type: 'null'
          title: Max Intensity
      type: object
      required:
      - source
      - tickers
      title: SourceBreadthRow
    TrendsResponse:
      properties:
        asof:
          anyOf:
          - type: string
          - type: 'null'
          title: Asof
        truncated:
          type: boolean
          title: Truncated
          default: false
        count:
          type: integer
          title: Count
        leaders:
          items:
            $ref: '#/components/schemas/TrendRow'
          type: array
          title: Leaders
      type: object
      required:
      - count
      - leaders
      title: TrendsResponse