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.
openapi: 3.2.0
info:
title: Live Earnings Sections API
version: 1.1.0
description: 'REST endpoints for live, attributed earnings-call transcripts.
REST endpoints are served from `https://live-earnings.com`. The
streaming endpoints (SSE) are served from
`https://stream.live-earnings.com` — see `asyncapi.yaml`. Calling a
stream on the REST host returns 503 `stateful_route_wrong_origin`.
Auth uses a long-lived subscriber key (`ek_…`) scoped to exactly one
`call_slug`; cross-call use returns 401.
- **Server-side:** send `Authorization: Bearer ` on any endpoint,
streams included.
- **Browsers** (`EventSource` cannot set headers): exchange the key for
a short-lived session token with
`POST /api/live/{slug}/session-token` (`Authorization: Bearer `),
then open streams with `?t=`. The token lasts 2 hours
and covers one call. An invalid or expired `t` returns 401 and never
falls back to another credential.
- `?token=` in the query string still works but is DEPRECATED:
keys in URLs leak into access logs, browser history and `Referer`.'
contact:
name: Live Earnings
url: https://live-earnings.com
servers:
- url: https://live-earnings.com
description: REST endpoints. Streams are in asyncapi.yaml, on https://stream.live-earnings.com.
security:
- bearerAuth: []
- queryToken: []
tags:
- name: Sections
description: Phase boundaries (section accordion data).
paths:
/api/live/{slug}/sections:
get:
tags:
- Sections
operationId: getSections
summary: Phase-transition boundaries for section navigation
description: 'Returns the list of `phase_transition` events for the call, in
chronological order. Each carries a `triggerTurnId` you can use
to scroll the transcript to the exact bubble that opened the
section. The array order is authoritative: do not re-sort by
`seq`. A section added after the call (a late Q&A repair) is
stored with a higher `seq` than the sections that follow it, and
its successor''s `fromPhase` keeps the value stored before the
repair.'
parameters:
- $ref: '#/components/parameters/Slug'
responses:
'200':
description: Section list
content:
application/json:
schema:
type: object
required:
- sections
properties:
sections:
type: array
items:
type: object
required:
- fromPhase
- toPhase
- triggerTurnId
- seq
properties:
fromPhase:
$ref: '#/components/schemas/Phase'
toPhase:
$ref: '#/components/schemas/Phase'
triggerTurnId:
type: string
seq:
type: integer
publishedAt:
type: string
format: date-time
'401':
$ref: '#/components/responses/Unauthorized'
components:
parameters:
Slug:
name: slug
in: path
required: true
schema:
type: string
pattern: ^[a-z0-9-]+$
description: Call slug — e.g., `nvda-q4-fy26`.
schemas:
Error:
type: object
required:
- error
properties:
error:
type: string
enum:
- unauthorized
- forbidden
- invalid_range
- not_found
- call_not_found
- internal_error
Phase:
type: string
description: 'A section of the call. Sections follow the call forward (opening, IR
introduction, prepared remarks, `qa`, `closing`), but the CEO''s and
CFO''s prepared remarks (`ceo_remarks`, `cfo_remarks`) come in EITHER
order — most calls are CEO-first — so `ceo_remarks` → `cfo_remarks` is
a normal transition.
'
enum:
- unknown
- operator_opening
- ir_intro
- cfo_remarks
- ceo_remarks
- qa
- closing
responses:
Unauthorized:
description: Missing, invalid, or wrong-scope token
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: ek_*
ingestToken:
type: http
scheme: bearer
description: The operator token (LIVE_EARNINGS_OPERATOR_TOKEN — what the operator console sends) or the server-side ingest token (LIVE_EARNINGS_INGEST_TOKEN — the capture rig). Never a subscriber key.
queryToken:
type: apiKey
in: query
name: token
description: DEPRECATED — the subscriber key in the query string (keys in URLs leak into logs). Still accepted. Browsers should mint a session token via POST /api/live/{slug}/session-token and use `?t=` on streams instead.