Live Earnings Operator API
OPERATOR-ONLY endpoints (`x-audience: operator`), documented so the contract is on record. They need the ingest or operator token, not a subscriber key, and subscriber SDKs do not wrap them.
OPERATOR-ONLY endpoints (`x-audience: operator`), documented so the contract is on record. They need the ingest or operator token, not a subscriber key, and subscriber SDKs do not wrap them.
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/live-earnings-com:live-earnings-com-operator-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: Live Earnings Operator 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: Operator
description: 'OPERATOR-ONLY endpoints (`x-audience: operator`), documented so the
contract is on record. They need the ingest or operator token, not a
subscriber key, and subscriber SDKs do not wrap them.'
paths:
/api/live/{slug}/audio-ingest:
servers:
- url: https://stream.live-earnings.com
description: The PIPELINE origin, not the REST host. This route holds the call's speech-to-text session in process, so it is served only by the pipeline service; on the REST host it answers 503 by design.
x-audience: operator
post:
tags:
- Operator
operationId: postAudioChunk
summary: Send a chunk of call audio (operator console)
description: 'The HITM operator console posts the call''s audio here about every
500 ms: raw 16 kHz mono signed 16-bit little-endian PCM. The first
chunk opens the call''s speech-to-text session on the engine stored for
the call; finished turns are
attributed and published to subscribers as `attribution` / `unknown`
events.
A stray-capture guard suspends a call that sends audio with no speech
for too long, or for too long overall; while suspended every chunk gets
429. The console''s Start sends `?start=1`, which clears a suspension.'
security:
- ingestToken: []
parameters:
- $ref: '#/components/parameters/Slug'
- name: start
in: query
required: false
description: '`1` on the first chunk of a capture the operator just started: clears a suspension.'
schema:
type: string
enum:
- '1'
requestBody:
required: true
content:
audio/L16:
schema:
type: string
format: binary
example: (raw PCM bytes)
responses:
'200':
description: Chunk accepted.
content:
application/json:
schema:
type: object
required:
- ok
properties:
ok:
const: true
bytesIn:
type: integer
sessionTurns:
type: integer
description: 'Turns the engine session has started. Per engine session: it can restart at 0 when the session reconnects or is evicted.'
sessionFinals:
type: integer
description: Turns the engine session has finished (same scope as sessionTurns).
'400':
description: '`empty_chunk` — the body had no audio.'
content:
application/json:
schema:
$ref: '#/components/schemas/IngestError'
'401':
description: '`unauthorized` — missing or wrong operator/ingest token.'
content:
application/json:
schema:
$ref: '#/components/schemas/IngestError'
'429':
description: '`stt_suspended` — the stray-capture guard suspended this call.
`reason` is `no_speech` or `too_long`; `detail` says what to do.
Clear it with `?start=1` or a DELETE (the console''s Stop).
'
content:
application/json:
schema:
$ref: '#/components/schemas/IngestError'
'500':
description: '`stt_not_configured` — the server has no credentials for the call''s engine.'
content:
application/json:
schema:
$ref: '#/components/schemas/IngestError'
'502':
description: '`stt_connect_failed` — the engine session could not be opened.'
content:
application/json:
schema:
$ref: '#/components/schemas/IngestError'
'503':
description: '`stt_engine_unavailable` — the call''s engine setting could not be
read; the session keeps retrying the read, so a later chunk may
succeed. `stt_engine_not_available` — the stored engine is one this
build does not have; it will not fix itself (change the call''s
engine). On the REST host, where this route never runs, the 503
body is `WrongOriginError` instead.
'
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/IngestError'
- $ref: '#/components/schemas/WrongOriginError'
delete:
tags:
- Operator
operationId: stopAudioCapture
summary: Stop the call's capture (operator console Stop)
description: 'Closes the call''s speech-to-text session, clears a stray-capture suspension, and — if the call is live — marks it ended (subscribers then see `status: ended` on /meta).'
security:
- ingestToken: []
parameters:
- $ref: '#/components/parameters/Slug'
responses:
'200':
description: Stopped.
content:
application/json:
schema:
type: object
properties:
ok:
const: true
'401':
description: '`unauthorized` — missing or wrong operator/ingest token.'
content:
application/json:
schema:
$ref: '#/components/schemas/IngestError'
'503':
description: On the REST host, where this route never runs.
content:
application/json:
schema:
$ref: '#/components/schemas/WrongOriginError'
components:
schemas:
IngestError:
type: object
required:
- ok
- error
properties:
ok:
const: false
error:
type: string
enum:
- unauthorized
- empty_chunk
- stt_suspended
- stt_not_configured
- stt_connect_failed
- stt_engine_unavailable
- stt_engine_not_available
reason:
type: string
enum:
- no_speech
- too_long
description: On `stt_suspended` only.
detail:
type: string
WrongOriginError:
type: object
required:
- error
- route
description: A stream or other pipeline-only route reached on the REST host (https://live-earnings.com). Call it on https://stream.live-earnings.com instead.
properties:
error:
const: stateful_route_wrong_origin
route:
type: string
parameters:
Slug:
name: slug
in: path
required: true
schema:
type: string
pattern: ^[a-z0-9-]+$
description: Call slug — e.g., `nvda-q4-fy26`.
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.