Rayana AI Rotation API
The rotation API from Rayana AI — 4 operation(s) for rotation.
The rotation API from Rayana AI — 4 operation(s) for rotation.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/rayana-ai:rayana-ai-rotation-api"
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.
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: 3.2.0
info:
title: Rayana AI Rotation 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: rotation
paths:
/v1/rotation:
get:
tags:
- rotation
summary: Rotation
description: 'The persisted rotation series: latest per-cluster quadrant/rank rows
(with deltas), rank trajectories, and quadrant-crossing events.
``include_trajectory=false`` and ``events_limit`` trim the two blocks that
carry 80% of the bytes; both default to the full payload, so the web view
and every existing caller are untouched.'
operationId: rotation_v1_rotation_get
parameters:
- name: days
in: query
required: false
schema:
type: integer
default: 45
title: Days
- name: include_trajectory
in: query
required: false
schema:
type: boolean
default: true
title: Include Trajectory
- name: events_limit
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Events 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/RotationResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/rotation/laggards:
get:
tags:
- rotation
summary: Laggards
description: 'Members trailing a firing cluster''s leader — catch-up candidates,
widest gap first.'
operationId: laggards_v1_rotation_laggards_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/ClusterLaggardRow'
title: Response Laggards V1 Rotation Laggards Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/rotation/discovered:
get:
tags:
- rotation
summary: Discovered
description: 'Latest unsupervised cluster-discovery cohorts (dynamic formations the
structural taxonomy misses).'
operationId: discovered_v1_rotation_discovered_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/DiscoveredClusterRow'
title: Response Discovered V1 Rotation Discovered Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/rotation/members:
get:
tags:
- rotation
summary: Members
description: Structural cluster membership (what's inside each rotation row).
operationId: members_v1_rotation_members_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: object
additionalProperties:
$ref: '#/components/schemas/ClusterMembersEntry'
title: Response Members V1 Rotation Members Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ClusterMembersEntry:
properties:
members:
items:
type: string
type: array
title: Members
default: []
leads:
items:
type: string
type: array
title: Leads
default: []
note:
anyOf:
- type: string
- type: 'null'
title: Note
type: object
title: ClusterMembersEntry
ClusterLaggardRow:
properties:
cluster_name:
type: string
title: Cluster Name
ticker:
type: string
title: Ticker
leader:
anyOf:
- type: string
- type: 'null'
title: Leader
leader_move_10d:
anyOf:
- type: number
- type: 'null'
title: Leader Move 10D
leader_catalyst:
anyOf:
- type: string
- type: 'null'
title: Leader Catalyst
cluster_move_10d:
anyOf:
- type: number
- type: 'null'
title: Cluster Move 10D
gap_10d:
anyOf:
- type: number
- type: 'null'
title: Gap 10D
lag_z:
anyOf:
- type: number
- type: 'null'
title: Lag Z
participation:
anyOf:
- type: number
- type: 'null'
title: Participation
also_surfaced:
anyOf:
- type: boolean
- type: 'null'
title: Also Surfaced
snapshot_date:
anyOf:
- type: string
- type: 'null'
title: Snapshot Date
type: object
required:
- cluster_name
- ticker
title: ClusterLaggardRow
DiscoveredClusterRow:
properties:
snapshot_date:
anyOf:
- type: string
- type: 'null'
title: Snapshot Date
cluster_uid:
type: string
title: Cluster Uid
label:
anyOf:
- type: string
- type: 'null'
title: Label
label_source:
anyOf:
- type: string
- type: 'null'
title: Label Source
structural_match:
anyOf:
- type: string
- type: 'null'
title: Structural Match
is_new:
anyOf:
- type: boolean
- type: 'null'
title: Is New
size:
anyOf:
- type: integer
- type: 'null'
title: Size
cohesion:
anyOf:
- type: number
- type: 'null'
title: Cohesion
members:
items:
type: string
type: array
title: Members
default: []
type: object
required:
- cluster_uid
title: DiscoveredClusterRow
ClusterMomentumRow:
properties:
id:
anyOf:
- type: integer
- type: 'null'
title: Id
recorded_at:
anyOf:
- type: string
- type: 'null'
title: Recorded At
snapshot_date:
anyOf:
- type: string
- type: 'null'
title: Snapshot Date
asof:
anyOf:
- type: string
- type: 'null'
title: Asof
cluster_name:
type: string
title: Cluster Name
n_members:
anyOf:
- type: integer
- type: 'null'
title: N Members
mom_5d:
anyOf:
- type: number
- type: 'null'
title: Mom 5D
mom_20d:
anyOf:
- type: number
- type: 'null'
title: Mom 20D
mom_60d:
anyOf:
- type: number
- type: 'null'
title: Mom 60D
rs_ratio:
anyOf:
- type: number
- type: 'null'
title: Rs Ratio
rs_mom:
anyOf:
- type: number
- type: 'null'
title: Rs Mom
quadrant:
anyOf:
- type: string
- type: 'null'
title: Quadrant
rank:
anyOf:
- type: integer
- type: 'null'
title: Rank
rank_pct:
anyOf:
- type: number
- type: 'null'
title: Rank Pct
breadth:
anyOf:
- type: number
- type: 'null'
title: Breadth
cohesion:
anyOf:
- type: number
- type: 'null'
title: Cohesion
rank_prev:
anyOf:
- type: integer
- type: 'null'
title: Rank Prev
quadrant_prev:
anyOf:
- type: string
- type: 'null'
title: Quadrant Prev
rank_delta:
anyOf:
- type: integer
- type: 'null'
title: Rank Delta
type: object
required:
- cluster_name
title: ClusterMomentumRow
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
RotationResponse:
properties:
latest:
items:
$ref: '#/components/schemas/ClusterMomentumRow'
type: array
title: Latest
asof:
anyOf:
- type: string
- type: 'null'
title: Asof
prior_date:
anyOf:
- type: string
- type: 'null'
title: Prior Date
trajectory:
items:
$ref: '#/components/schemas/ClusterTrajectory'
type: array
title: Trajectory
events:
items:
$ref: '#/components/schemas/ClusterRotationEvent'
type: array
title: Events
snapshots:
items:
type: string
type: array
title: Snapshots
type: object
required:
- latest
- trajectory
- events
- snapshots
title: RotationResponse
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ClusterTrajectory:
properties:
cluster:
type: string
title: Cluster
series:
items:
$ref: '#/components/schemas/ClusterTrajectoryPoint'
type: array
title: Series
type: object
required:
- cluster
- series
title: ClusterTrajectory
ClusterTrajectoryPoint:
properties:
date:
type: string
title: Date
rank:
anyOf:
- type: integer
- type: 'null'
title: Rank
type: object
required:
- date
title: ClusterTrajectoryPoint
ClusterRotationEvent:
properties:
date:
type: string
title: Date
cluster:
type: string
title: Cluster
from:
anyOf:
- type: string
- type: 'null'
title: From
to:
anyOf:
- type: string
- type: 'null'
title: To
flow:
type: string
title: Flow
type: object
required:
- date
- cluster
- flow
title: ClusterRotationEvent