Rayana AI Analyst API
The analyst API from Rayana AI — 8 operation(s) for analyst.
The analyst API from Rayana AI — 8 operation(s) for analyst.
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-analyst-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 Analyst 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: analyst
paths:
/v1/analyst/{symbol}/ask:
post:
tags:
- analyst
summary: Analyst Ask
description: 'A typed question about a ticker''s read (PHASE_1_10 §9, Elite). Internal
only: the website and the app call it for their Elite users, who are
counted and gated there (launch flag, 20 a day); there is no MCP tool or
customer-key access (decided 2026-11-07).
The guard sorts the question; only an on-topic question is answered, and
only in its neutral rewrite, from the read and its data. Other kinds come
back as a route (open another read, Compare, market context, or a short
refusal). Every question is logged without identity.
403 below Elite (staff keys excepted); 404 when the ticker has no such
read; 422 for an empty, over-long or malformed request; 502 when the guard
or the answer fails.'
operationId: analyst_ask_v1_analyst__symbol__ask_post
parameters:
- name: symbol
in: path
required: true
schema:
type: string
title: Symbol
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AnalystAskRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AnalystAskResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/analyst/search:
get:
tags:
- analyst
summary: Analyst Search
description: 'Typeahead over the tickers the AI analyst covers, best match first. Only
covered names appear, so every result can be opened (PHASE_1_10 §2). Free
tier; says nothing about whether a read exists yet.'
operationId: analyst_search_v1_analyst_search_get
parameters:
- name: q
in: query
required: false
schema:
type: string
default: ''
title: Q
- name: limit
in: query
required: false
schema:
type: integer
default: 8
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/SearchMatch'
title: Response Analyst Search V1 Analyst Search Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/analyst/shared:
get:
tags:
- analyst
summary: Analyst Shared
description: 'Tickers with a read in the last 30 days: the share pages for the
sitemap. Free tier; no dates.'
operationId: analyst_shared_v1_analyst_shared_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:
$ref: '#/components/schemas/AnalystSharedList'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/analyst/share/{symbol}:
get:
tags:
- analyst
summary: Analyst Share
description: 'The public teaser of a ticker''s latest read (the evergreen share page):
lean, conviction, the thesis''s first sentence and the section names. Free
tier and not counted: it is not the read. 404 when the ticker has none.'
operationId: analyst_share_v1_analyst_share__symbol__get
parameters:
- name: symbol
in: path
required: true
schema:
type: string
title: Symbol
- 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/AnalystShareTeaser'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/analyst/share/{symbol}/{analysis_date}:
get:
tags:
- analyst
summary: Analyst Share Dated
description: 'The teaser of the read filed on `analysis_date` (YYYY-MM-DD, US/Eastern):
the dated permalink a user shares. Same fields and rules as the latest.'
operationId: analyst_share_dated_v1_analyst_share__symbol___analysis_date__get
parameters:
- name: symbol
in: path
required: true
schema:
type: string
title: Symbol
- name: analysis_date
in: path
required: true
schema:
type: string
title: Analysis Date
- 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/AnalystShareTeaser'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/analyst/{symbol}/followups/{question_id}:
get:
tags:
- analyst
summary: Analyst Followup
description: 'The answer to one preset follow-up question about a ticker''s current read
(or the read filed on `analysis_date`). Questions: trend, break, macro,
smart_money, earnings, changed. Answered once per read and cached, so it is
the same for everyone.
Counted like opening the read (once per ticker per day), so a follow-up on a
read already opened today is free, and it is never a free way to a read.
404 for an unknown question or when there is no such read; 429 when the
allowance is used up; 502 when the answer can''t be produced.'
operationId: analyst_followup_v1_analyst__symbol__followups__question_id__get
parameters:
- name: symbol
in: path
required: true
schema:
type: string
title: Symbol
- name: question_id
in: path
required: true
schema:
type: string
title: Question Id
- name: analysis_date
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Analysis Date
- 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/AnalystFollowupResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/analyst/compare:
get:
tags:
- analyst
summary: Analyst Compare
description: 'Two tickers'' current AI analyst reads side by side (Pro tier and up): a
table of each read''s lean, conviction and section directions, and a short
descriptive comparison of where they agree and differ. It never says which
one is better. Cached per pair of reads, so it is the same for everyone and
(a, b) matches (b, a).
Opens both reads, generating one when a ticker has none (that can take
about half a minute each), and counts as two reads, once per ticker per
day: a ticker already opened today is free. Both must fit the allowance or
nothing is counted.
403 below Pro. 404 if either ticker is outside the covered universe; 422 for the same
ticker twice; 429 when the allowance can''t cover both; 502 when a read or
the comparison can''t be produced.'
operationId: analyst_compare_v1_analyst_compare_get
parameters:
- name: a
in: query
required: true
schema:
type: string
title: A
- name: b
in: query
required: true
schema:
type: string
title: B
- 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/AnalystCompareResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/analyst/read:
post:
tags:
- analyst
summary: Analyst Read
description: 'Open a ticker''s AI analyst read: the current one if it is fresh,
otherwise a new one generated now (Standard tier and up; it can take about
half a minute). Counts one read against the caller''s monthly allowance,
once per ticker per day.
404 if the ticker is outside the covered universe. 403 on the free tier
when the ticker has no current read: the free tier opens reads that have
already been generated (the most-followed names are read before the US
open). 429 when the allowance is used up.
With `analysis_date`, opens the read filed on that date as stored (the
dated permalink''s read): no generation, on any tier, counted the same way.
404 when no read was filed that day; 422 for a malformed date.
`books` is the caller''s book add-on: the books their tier may open that hold
the ticker, each at the snapshot their tier sees (Growth on its delay for the
free tier), and a count of higher-tier books that hold it. A dated read gets
the books as of its date.'
operationId: analyst_read_v1_analyst_read_post
parameters:
- name: X-API-Key
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Api-Key
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AnalystReadRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AnalystReadResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
AnalystFollowup:
properties:
ticker:
type: string
title: Ticker
analysis_date:
type: string
title: Analysis Date
version:
anyOf:
- type: integer
- type: 'null'
title: Version
question_id:
type: string
title: Question Id
question:
type: string
title: Question
answer:
type: string
title: Answer
basis:
items:
type: string
type: array
title: Basis
default: []
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
cached:
type: boolean
title: Cached
default: true
type: object
required:
- ticker
- analysis_date
- question_id
- question
- answer
title: AnalystFollowup
description: 'One preset follow-up answer about a read: impersonal and cached per read
version and question, so every caller sees the same answer.'
AnalystCompareRow:
properties:
key:
type: string
title: Key
label:
type: string
title: Label
a:
anyOf:
- type: string
- type: 'null'
title: A
b:
anyOf:
- type: string
- type: 'null'
title: B
type: object
required:
- key
- label
title: AnalystCompareRow
description: 'One side-by-side row, built in code from the two reads: lean,
conviction, then each section''s direction (POSITIVE / NEUTRAL / NEGATIVE /
NO_DATA).'
AnalystAskRequest:
properties:
question:
type: string
title: Question
analysis_date:
anyOf:
- type: string
- type: 'null'
title: Analysis Date
type: object
required:
- question
title: AnalystAskRequest
AnalystShareTeaser:
properties:
ticker:
type: string
title: Ticker
name:
type: string
title: Name
default: ''
analysis_date:
type: string
title: Analysis Date
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
lean:
anyOf:
- type: string
- type: 'null'
title: Lean
conviction:
anyOf:
- type: integer
- type: 'null'
title: Conviction
teaser:
type: string
title: Teaser
default: ''
sections:
items:
type: string
type: array
title: Sections
default: []
fresh:
type: boolean
title: Fresh
default: false
type: object
required:
- ticker
- analysis_date
title: AnalystShareTeaser
description: 'The public teaser of a read, for the share pages: the lean, conviction,
the thesis''s first sentence and the section names. Never the read itself
(that is opened, and counted, through POST /v1/analyst/read).'
AnalystBookEvent:
properties:
event_date:
anyOf:
- type: string
- type: 'null'
title: Event Date
action:
anyOf:
- type: string
- type: 'null'
title: Action
delta_weight_pct:
anyOf:
- type: number
- type: 'null'
title: Delta Weight Pct
reason:
anyOf:
- type: string
- type: 'null'
title: Reason
type: object
title: AnalystBookEvent
description: 'The newest public event for the ticker in one book, reason rewritten to
the public vocabulary (same window and rewrite as the book''s own feed).'
AnalystSharedList:
properties:
tickers:
items:
type: string
type: array
title: Tickers
type: object
required:
- tickers
title: AnalystSharedList
AnalystReadResponse:
properties:
read:
$ref: '#/components/schemas/TickerAnalystBrief'
quota:
$ref: '#/components/schemas/AnalystQuota'
books:
$ref: '#/components/schemas/AnalystBookContext'
default:
held_in: []
locked_count: 0
type: object
required:
- read
- quota
title: AnalystReadResponse
AnalystBookContext:
properties:
held_in:
items:
$ref: '#/components/schemas/AnalystBookHolding'
type: array
title: Held In
default: []
locked_count:
type: integer
title: Locked Count
default: 0
type: object
title: AnalystBookContext
description: 'The book add-on (PHASE_1_10 §4): built in code per caller, never seen by
the model. `locked_count` is how many books above the caller''s tier hold the
ticker: a count only, no names.'
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
AnalystCompare:
properties:
a:
type: string
title: A
b:
type: string
title: B
table:
items:
$ref: '#/components/schemas/AnalystCompareRow'
type: array
title: Table
summary:
type: string
title: Summary
contrasts:
items:
$ref: '#/components/schemas/AnalystContrast'
type: array
title: Contrasts
default: []
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
cached:
type: boolean
title: Cached
default: true
type: object
required:
- a
- b
- table
- summary
title: AnalystCompare
description: 'Two reads side by side (PHASE_1_10 §5.2): the code-built `table` and a
descriptive comparison, cached once per pair of read versions and the same
for everyone. Never names a winner.'
AnalystQuota:
properties:
metered:
type: boolean
title: Metered
period:
type: string
title: Period
used:
type: integer
title: Used
limit:
anyOf:
- type: integer
- type: 'null'
title: Limit
remaining:
anyOf:
- type: integer
- type: 'null'
title: Remaining
resets_on:
anyOf:
- type: string
- type: 'null'
title: Resets On
daily_limit:
anyOf:
- type: integer
- type: 'null'
title: Daily Limit
daily_remaining:
anyOf:
- type: integer
- type: 'null'
title: Daily Remaining
type: object
required:
- metered
- period
- used
title: AnalystQuota
description: 'The caller''s AI-analyst read allowance after this request. `metered`
is false for callers the API does not meter (the website meters per user).
A ticker counts once per US/Eastern day, whether its read was cached or new.'
AnalystAskResponse:
properties:
ticker:
type: string
title: Ticker
analysis_date:
type: string
title: Analysis Date
action:
type: string
title: Action
question:
anyOf:
- type: string
- type: 'null'
title: Question
answer:
anyOf:
- $ref: '#/components/schemas/AnalystAskAnswer'
- type: 'null'
notice:
anyOf:
- type: string
- type: 'null'
title: Notice
notice_text:
anyOf:
- type: string
- type: 'null'
title: Notice Text
message:
anyOf:
- type: string
- type: 'null'
title: Message
open_ticker:
anyOf:
- type: string
- type: 'null'
title: Open Ticker
compare_with:
anyOf:
- type: string
- type: 'null'
title: Compare With
type: object
required:
- ticker
- analysis_date
- action
title: AnalystAskResponse
description: 'One typed question about a read (PHASE_1_10 §9). `action` says what the
reader gets: `answer` (with `answer` and the neutral `question` that was
answered), `open_read` (`open_ticker`), `compare` (`compare_with`),
`market_context` or `refuse`, each with a short `message`. `notice` is
`personal` when the reader''s own situation was left out.'
AnalystBookHolding:
properties:
slug:
type: string
title: Slug
name:
type: string
title: Name
tier:
type: string
title: Tier
weight_pct:
anyOf:
- type: number
- type: 'null'
title: Weight Pct
side:
type: string
title: Side
default: long
rank:
anyOf:
- type: integer
- type: 'null'
title: Rank
held_since:
anyOf:
- type: string
- type: 'null'
title: Held Since
as_of:
anyOf:
- type: string
- type: 'null'
title: As Of
delayed_to:
anyOf:
- type: string
- type: 'null'
title: Delayed To
last_event:
anyOf:
- $ref: '#/components/schemas/AnalystBookEvent'
- type: 'null'
type: object
required:
- slug
- name
- tier
title: AnalystBookHolding
description: 'One book the caller''s tier may open that holds the ticker, at the
snapshot the caller is entitled to.'
AnalystAskAnswer:
properties:
answer:
type: string
title: Answer
basis:
items:
type: string
type: array
title: Basis
default: []
covered:
type: boolean
title: Covered
default: true
cached:
type: boolean
title: Cached
default: true
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
type: object
required:
- answer
title: AnalystAskAnswer
AnalystFollowupResponse:
properties:
followup:
$ref: '#/components/schemas/AnalystFollowup'
quota:
$ref: '#/components/schemas/AnalystQuota'
type: object
required:
- followup
- quota
title: AnalystFollowupResponse
AnalystCompareResponse:
properties:
compare:
$ref: '#/components/schemas/AnalystCompare'
read_a:
$ref: '#/components/schemas/TickerAnalystBrief'
read_b:
$ref: '#/components/schemas/TickerAnalystBrief'
quota:
$ref: '#/components/schemas/AnalystQuota'
type: object
required:
- compare
- read_a
- read_b
- quota
title: AnalystCompareResponse
SearchMatch:
properties:
ticker:
type: string
title: Ticker
name:
type: string
title: Name
default: ''
type: object
required:
- ticker
title: SearchMatch
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
TickerAnalystBrief:
properties:
ticker:
type: string
title: Ticker
analysis_date:
type: string
title: Analysis Date
lean:
anyOf:
- type: string
- type: 'null'
title: Lean
conviction:
anyOf:
- type: integer
- type: 'null'
title: Conviction
thesis:
anyOf:
- type: string
- type: 'null'
title: Thesis
sections:
anyOf:
- additionalProperties:
additionalProperties: true
type: object
type: object
- type: 'null'
title: Sections
evidence_for:
items:
type: string
type: array
title: Evidence For
default: []
evidence_against:
items:
type: string
type: array
title: Evidence Against
default: []
invalidation:
anyOf:
- type: string
- type: 'null'
title: Invalidation
changed_since_last:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Changed Since Last
version:
anyOf:
- type: integer
- type: 'null'
title: Version
model:
anyOf:
- type: string
- type: 'null'
title: Model
cost_usd:
anyOf:
- type: number
- type: 'null'
title: Cost Usd
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
cached:
type: boolean
title: Cached
default: true
type: object
required:
- ticker
- analysis_date
title: TickerAnalystBrief
AnalystContrast:
properties:
section:
type: string
title: Section
label:
type: string
title: Label
line:
type: string
title: Line
type: object
required:
- section
- label
- line
title: AnalystContrast
AnalystReadRequest:
properties:
symbol:
type: string
title: Symbol
analysis_date:
anyOf:
- type: string
- type: 'null'
title: Analysis Date
type: object
required:
- symbol
title: AnalystReadRequest