Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: Wealthnow Execution API
version: '2.179'
description: 'Self-serve market data API tools, real-time where licensed: market data, fundamentals, options flow, credit, intraday tape, earnings transcripts, and an explainable ML signal ensemble. Authenticate with your Wealthnow API key via the `X-API-Key` header (or `Authorization: Bearer `). Calls are metered in credits and gated by plan tier. This is the curated public tool surface (no admin, deprecated, or data_pending_v1 shells). MCP `/mcp` serves these same tools: the default profile''s `tools/list` shows your callable operations as individual tools or product menus (`_tools`). `search_tools` finds any tool in this catalogue and `call_tool` runs one by name. The `profile=directory` profile shows individual operations without menus, search_tools or call_tool. `catalog=full` (tools/list params or `?catalog=full`) lists this whole live surface.'
contact:
url: https://firm.wealthnow.io
servers:
- url: https://firm.wealthnow.io
security:
- ApiKeyAuth: []
- BearerAuth: []
tags:
- name: Execution
paths:
/api/v3/execution/liquidity_daily/{ticker}:
get:
operationId: execution_liquidity_daily
x-wealthnow-min-plan: pro
summary: 'DAILY TRADING LIQUIDITY FROM THE CONSOLIDATED TAPE: one row per session for one…'
description: 'Available on the Pro plan and above. DAILY TRADING LIQUIDITY FROM THE CONSOLIDATED TAPE: one row per session for one stock, regular hours (prints from 09:30:00 to before 16:00:00 ET: the opening cross is included, the closing cross is not): trade count, volume in shares (odd lots included), dollar volume, VWAP, average and median trade size and the odd-lot share. Corrected and cancelled prints are excluded. About 4,200 US-listed stocks a session; history from 2026-09-02, each session built the next morning. Spreads, quoted depth and the session''s low and high are not served (withheld_fields and withheld_reason say why). A session the tape did not record is null with trades_status not_recorded, never a zero. Rows newest first; start/end bound the window (at most 366 days, default the month to the newest session). data_through, is_stale. Use it to size an order against real traded volume or compare turnover and trade sizes across names.'
tags:
- Execution
parameters:
- name: ticker
in: path
required: true
schema:
type: string
- name: start
in: query
required: false
schema:
type: string
description: First session, YYYY-MM-DD
description: First session, YYYY-MM-DD
- name: end
in: query
required: false
schema:
type: string
description: Last session, YYYY-MM-DD; default the newest held
description: Last session, YYYY-MM-DD; default the newest held
- name: limit
in: query
required: false
schema:
type: integer
description: Sessions, newest first
default: 20
minimum: 1
maximum: 260
description: Sessions, newest first
responses:
'200':
description: 'Success: a FIRM response envelope; the tool-specific fields vary by endpoint.'
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
X-Credits-Cost:
$ref: '#/components/headers/X-Credits-Cost'
X-Credits-Remaining:
$ref: '#/components/headers/X-Credits-Remaining'
X-Credits-Receipt:
$ref: '#/components/headers/X-Credits-Receipt'
X-Credits-Settlement:
$ref: '#/components/headers/X-Credits-Settlement'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/FirmResponse'
examples:
live:
summary: Live response to GET /api/v3/execution/liquidity_daily/AAPL?limit=3, captured 2026-11-22 (read-only, production data); rows trimmed to 2. Spreads, depth and the session range are withheld (withheld_fields, withheld_reason).
value:
ok: true
timestamp: '2026-11-22T04:23:03.981591+00:00'
ticker: AAPL
permno: 14593
identity:
permno: 14593
keyed_on: PERMNO
matched_on: GVKEY_IID
identity_verified: true
symbol: AAPL
company_name: APPLE INC
security_class: common
dataset: liquidity_daily
window:
start: '2026-10-19'
end: '2026-11-19'
start_defaulted: true
freshness:
data_through: '2026-11-19'
data_through_basis: the newest session the tape holds for any stock
history_from: '2026-09-02'
cadence: each session, built the next morning
stale_after: 4
stale_after_unit: sessions
age: 1
is_stale: false
as_of: '2026-11-22T04:23:03.981585+00:00'
units:
volume_shares: shares in the session's uncorrected prints, odd lots included
dollar_volume_usd: 'US dollars: the sum of price x size over those prints'
vwap_usd: volume-weighted average price of those prints
odd_lot_share: fraction of the session's prints that were odd lots, 0 to 1
note: 'Regular hours: prints from 09:30:00 to before 16:00:00 ET, so the opening cross is included and the closing cross and the extended sessions are not. Corrected and cancelled prints are excluded. A session can be rebuilt when a late part of the vendor''s files arrives; known_from says when the served build was made.'
withheld_fields:
- spread_avg_usd
- spread_avg_bps
- spread_median_bps
- spread_min_usd
- spread_max_usd
- mid_avg_usd
- depth_avg_shares
- bid_depth_avg_shares
- ask_depth_avg_shares
- quote_imbalance_avg
- venues_quoting
- nbbo_quote_count
- low_usd
- high_usd
- trade_price_avg_usd
withheld_reason: 'Spreads, depth, quote imbalance and venues are withheld: they are measured on single-venue quotes, not the consolidated best bid and offer, and read wider than the market. The session''s low, high and average print price are withheld: they include prints that do not set the market''s range. Served again when measured correctly.'
n: 3
n_total: 24
truncated: true
rows:
- date: '2026-11-19'
trades_status: recorded
trade_count: 700181
volume_shares: 28389530
dollar_volume_usd: 9921403429.203245
vwap_usd: 349.474017
trade_size_avg_shares: 40.545989
trade_size_median_shares: 14.0
odd_lot_share: 0.654481
session_build: complete
known_from: '2026-11-20T21:49:44Z'
- date: '2026-11-18'
trades_status: recorded
trade_count: 592057
volume_shares: 21743282
dollar_volume_usd: 7683659370.75949
vwap_usd: 353.380838
trade_size_avg_shares: 36.724982
trade_size_median_shares: 6.0
odd_lot_share: 0.707231
session_build: complete
known_from: '2026-11-20T17:11:08Z'
as_of: '2026-11-22T04:23:03.981585+00:00'
data_through: '2026-11-19'
is_stale: false
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/ScopeDenied'
'404':
$ref: '#/components/responses/UnknownTicker'
'422':
$ref: '#/components/responses/ValidationError'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/Unavailable'
'504':
$ref: '#/components/responses/Timeout'
/api/v3/execution/twap_plan/{ticker}:
get:
operationId: twap_plan
x-wealthnow-min-plan: pro
summary: Even-slice arithmetic scenario for a requested quantity and duration
description: Available on the Pro plan and above. Even-slice arithmetic scenario for a requested quantity and duration. Preserves whole shares and the full time window. No liquidity, market-calendar, execution-cost, or fill guarantee.
tags:
- Execution
parameters:
- name: ticker
in: path
required: true
schema:
type: string
- name: qty
in: query
required: false
schema:
type: integer
default: 100
minimum: 1
maximum: 10000000
- name: minutes
in: query
required: false
schema:
type: integer
default: 60
minimum: 1
maximum: 390
responses:
'200':
description: 'Success: a FIRM response envelope; the tool-specific fields vary by endpoint.'
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
X-Credits-Cost:
$ref: '#/components/headers/X-Credits-Cost'
X-Credits-Remaining:
$ref: '#/components/headers/X-Credits-Remaining'
X-Credits-Receipt:
$ref: '#/components/headers/X-Credits-Receipt'
X-Credits-Settlement:
$ref: '#/components/headers/X-Credits-Settlement'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/FirmResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/ScopeDenied'
'404':
$ref: '#/components/responses/UnknownTicker'
'422':
$ref: '#/components/responses/ValidationError'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/Unavailable'
'504':
$ref: '#/components/responses/Timeout'
/api/v3/execution/vwap_plan/{ticker}:
get:
operationId: vwap_plan
x-wealthnow-min-plan: pro
summary: Historical volume-weighted quantity scenario for one ticker and a completed…
description: Available on the Pro plan and above. Historical volume-weighted quantity scenario for one ticker and a completed XNYS session. Uses every observed minute of that session; missing or conflicting evidence returns unavailable. Defaults to the last completed session. Not a forecast, cost estimate, or executable order.
tags:
- Execution
parameters:
- name: ticker
in: path
required: true
schema:
type: string
- name: qty
in: query
required: false
schema:
type: integer
default: 100
minimum: 1
maximum: 10000000
- name: reference_date
in: query
required: false
schema:
type: string
description: Completed session date, YYYY-MM-DD
description: Completed session date, YYYY-MM-DD
- name: minutes_per_slice
in: query
required: false
schema:
type: integer
default: 30
minimum: 1
maximum: 60
responses:
'200':
description: 'Success: a FIRM response envelope; the tool-specific fields vary by endpoint.'
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
X-Credits-Cost:
$ref: '#/components/headers/X-Credits-Cost'
X-Credits-Remaining:
$ref: '#/components/headers/X-Credits-Remaining'
X-Credits-Receipt:
$ref: '#/components/headers/X-Credits-Receipt'
X-Credits-Settlement:
$ref: '#/components/headers/X-Credits-Settlement'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/FirmResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/ScopeDenied'
'404':
$ref: '#/components/responses/UnknownTicker'
'422':
$ref: '#/components/responses/ValidationError'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/Unavailable'
'504':
$ref: '#/components/responses/Timeout'
components:
headers:
X-Credits-Remaining:
description: Your credit balance after this call settled. Omitted while the settlement is pending.
schema:
type: integer
example: 884
X-Error-Code:
description: The specific `error_code` when the body supplies one; otherwise the body's `error` code.
schema:
type: string
example: unknown_ticker
X-RateLimit-Reset:
description: When the current window resets, as a Unix timestamp in seconds.
schema:
type: integer
example: 1790139660
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
minimum: 1
example: 42
X-RateLimit-Remaining:
description: Requests left in the current window.
schema:
type: integer
minimum: 0
example: 29
X-RateLimit-Limit:
description: Requests your plan allows per rate-limit window.
schema:
type: integer
example: 30
X-Credits-Receipt:
description: Id of the credit reservation this call was metered against.
schema:
type: string
format: uuid
example: 6f1d2c3b-4a59-4e8d-9c7b-1a2b3c4d5e6f
X-Credits-Cost:
description: 'Credits this call cost once settled: the tool''s price when delivered, 0 when refunded (every non-2xx answer is refunded). Omitted while the settlement is pending.'
schema:
type: integer
minimum: 0
example: 1
X-Request-ID:
description: This request's id. Every error body repeats it as `request_id`; quote it when you contact support.
required: true
schema:
type: string
example: 0f3c9a2b7d4e4f1a9b6c5d8e2a1f7c30
X-Credits-Settlement:
description: '`consumed`: delivered and charged. `refunded`: not charged. `pending`: not confirmed yet; cost and balance are omitted and the call settles shortly.'
schema:
type: string
enum:
- consumed
- refunded
- pending
example: consumed
responses:
UnknownTicker:
description: 'No data source lists this ticker, active or delisted: the market-data listing and the security master both say it does not exist. `param` names the parameter. Not billed. Best-effort: it is answered only when the route itself found nothing, and after 20 lookups of new symbols per API key per minute the route''s own answer stands.'
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
X-Error-Code:
$ref: '#/components/headers/X-Error-Code'
X-Credits-Cost:
$ref: '#/components/headers/X-Credits-Cost'
X-Credits-Remaining:
$ref: '#/components/headers/X-Credits-Remaining'
X-Credits-Receipt:
$ref: '#/components/headers/X-Credits-Receipt'
X-Credits-Settlement:
$ref: '#/components/headers/X-Credits-Settlement'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
unknown_ticker:
summary: 'No data source lists this ticker, active or delisted: the market-data listing and the security master both say it does not exist'
value:
ok: false
error: unknown_ticker
detail: '''ZZZZQX'' is not a symbol in Wealthnow''s coverage of US-listed stocks, ETFs and ADRs, current or delisted: neither the market-data listing nor the security master knows it. Foreign listings (VOD.L, 7203.T) and index symbols (SPX) are outside this coverage; use the US ticker or ADR where there is one, or find the company by name with fundamentals_search. This call was not billed.'
param: ticker
ticker: ZZZZQX
request_id: 0f3c9a2b7d4e4f1a9b6c5d8e2a1f7c30
doc_url: https://app.wealthnow.io/docs/api-reference#error-responses
Unavailable:
description: The data could not be served completely right now; retry later. Not billed.
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
X-Error-Code:
$ref: '#/components/headers/X-Error-Code'
X-Credits-Cost:
$ref: '#/components/headers/X-Credits-Cost'
X-Credits-Remaining:
$ref: '#/components/headers/X-Credits-Remaining'
X-Credits-Receipt:
$ref: '#/components/headers/X-Credits-Receipt'
X-Credits-Settlement:
$ref: '#/components/headers/X-Credits-Settlement'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
paid_data_unavailable:
summary: The data could not be served completely right now; retry later
value:
ok: false
error: paid_data_unavailable
detail: a complete usable response was not available; this request is not billable
request_id: 0f3c9a2b7d4e4f1a9b6c5d8e2a1f7c30
doc_url: https://app.wealthnow.io/docs/api-reference#error-responses
ScopeDenied:
description: 'This API key is limited to some products and this tool is not one of them. `product` names the tool''s product and `scopes` the key''s products. An upgrade does not change it: use a key whose scopes include the product, or change this key''s scopes. Not billed.'
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
X-Error-Code:
$ref: '#/components/headers/X-Error-Code'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
scope_denied:
summary: This API key is limited to some products and this tool is not one of them
value:
ok: false
error: scope_denied
detail: this API key is limited to market_data, fundamentals, so it cannot call 'congressional'. Use a key whose scopes include 'congressional', or change this key's scopes under Developers, API Keys at https://app.wealthnow.io. This call was not billed.
product: congressional
scopes:
- market_data
- fundamentals
request_id: 0f3c9a2b7d4e4f1a9b6c5d8e2a1f7c30
doc_url: https://app.wealthnow.io/docs/api-reference#error-responses
RateLimited:
description: Your plan's rate limit is spent for this window. Retry after `Retry-After` seconds. Not billed.
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
X-Error-Code:
$ref: '#/components/headers/X-Error-Code'
Retry-After:
$ref: '#/components/headers/Retry-After'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
rate_limited:
summary: Your plan's rate limit is spent for this window
value:
ok: false
error: rate_limited
detail: plan 'free' rate limit (30/min) exceeded
request_id: 0f3c9a2b7d4e4f1a9b6c5d8e2a1f7c30
doc_url: https://app.wealthnow.io/docs/api-reference#error-responses
Timeout:
description: The request ran past the server's time budget; retry. Not billed.
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
X-Error-Code:
$ref: '#/components/headers/X-Error-Code'
X-Credits-Cost:
$ref: '#/components/headers/X-Credits-Cost'
X-Credits-Remaining:
$ref: '#/components/headers/X-Credits-Remaining'
X-Credits-Receipt:
$ref: '#/components/headers/X-Credits-Receipt'
X-Credits-Settlement:
$ref: '#/components/headers/X-Credits-Settlement'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
request_timeout:
summary: The request ran past the server's time budget; retry
value:
ok: false
error: request_timeout
detail: request exceeded the 22s time limit; retry, or narrow the request
request_id: 0f3c9a2b7d4e4f1a9b6c5d8e2a1f7c30
doc_url: https://app.wealthnow.io/docs/api-reference#error-responses
PaymentRequired:
description: 'Your plan does not include this tool, you are out of credits, or your workspace''s spend cap paused its keys. `plan_required` names the plan that unlocks the tool; `usage_exceeded` means the credit balance is spent; `spend_cap_reached` means the key is paused until the cap resets or is raised: `detail` names the cap and the reset, `cap_usd` and `resets_at` (ISO 8601) carry them, and `doc_url` links pricing and credits. Not billed.'
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
X-Error-Code:
$ref: '#/components/headers/X-Error-Code'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
plan_required:
summary: Your plan does not include this tool, you are out of credits, or your workspace's spend cap paused its keys
value:
ok: false
error: plan_required
detail: 'your plan ''free'' does not include ''news_sentiment'': upgrade to Starter to access it. Manage your plan at https://app.wealthnow.io'
request_id: 0f3c9a2b7d4e4f1a9b6c5d8e2a1f7c30
doc_url: https://app.wealthnow.io/docs/api-reference#error-responses
BadRequest:
description: 'The request is malformed, for example a ticker that is not a symbol: `invalid_ticker`, refused before any credit is reserved, with `param` naming the parameter. Not billed.'
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
X-Error-Code:
$ref: '#/components/headers/X-Error-Code'
X-Credits-Cost:
$ref: '#/components/headers/X-Credits-Cost'
X-Credits-Remaining:
$ref: '#/components/headers/X-Credits-Remaining'
X-Credits-Receipt:
$ref: '#/components/headers/X-Credits-Receipt'
X-Credits-Settlement:
$ref: '#/components/headers/X-Credits-Settlement'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
invalid_ticker:
summary: 'The request is malformed, for example a ticker that is not a symbol: `invalid_ticker`, refused before any credit is reserved, with `param` naming the parameter'
value:
ok: false
error: invalid_ticker
detail: 'The ticker ''$$$'' is malformed: send 1 to 24 letters or digits, with a share-class or exchange separator where the symbol has one (AAPL, BRK.B, BRK-B, VOD.L). This call was not billed.'
param: ticker
ticker: $$$
request_id: 0f3c9a2b7d4e4f1a9b6c5d8e2a1f7c30
doc_url: https://app.wealthnow.io/docs/api-reference#error-responses
ValidationError:
description: A parameter is missing, out of range or the wrong type; `param` names it. Not billed.
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
X-Error-Code:
$ref: '#/components/headers/X-Error-Code'
X-Credits-Cost:
$ref: '#/components/headers/X-Credits-Cost'
X-Credits-Remaining:
$ref: '#/components/headers/X-Credits-Remaining'
X-Credits-Receipt:
$ref: '#/components/headers/X-Credits-Receipt'
X-Credits-Settlement:
$ref: '#/components/headers/X-Credits-Settlement'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
validation:
summary: A parameter is missing, out of range or the wrong type; `param` names it
value:
ok: false
error: validation
detail: 'invalid ''limit'': Input should be greater than or equal to 1 (query.limit)'
param: limit
request_id: 0f3c9a2b7d4e4f1a9b6c5d8e2a1f7c30
doc_url: https://app.wealthnow.io/docs/api-reference#error-responses
Unauthorized:
description: Missing or invalid API key.
headers:
X-Request-ID:
$ref: '#/components/headers/X-Request-ID'
X-Error-Code:
$ref: '#/components/headers/X-Error-Code'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
unauthorized:
summary: Missing or invalid API key.
value:
ok: false
error: unauthorized
detail: 'invalid or missing API key. Send your key as ''Authorization: Bearer <key>'' (recommended), the ''X-API-Key'' header, or a ''?api_key=<key>'' query param. Get a key + docs at https://app.wealthnow.io/docs/quickstart'
request_id: 0f3c9a2b7d4e4f1a9b6c5d8e2a1f7c30
doc_url: https://app.wealthnow.io/docs/api-reference#error-responses
schemas:
Error:
type: object
description: The body of every error. `error` is a stable machine-readable code, `detail` says what went wrong, `param` names the parameter to fix when one is at fault, and `doc_url` links the error table (for `spend_cap_reached`, the pricing page). `scope_denied` adds `product` and `scopes`; `spend_cap_reached` adds `cap_usd` and `resets_at`. `?shape=firm` adds a short `message`.
required:
- ok
- error
- detail
properties:
ok:
type: boolean
const: false
error:
type: string
description: Machine-readable error code, snake_case.
examples:
- unknown_ticker
error_code:
type: string
description: Specific typed refusal code, when present; also carried by X-Error-Code.
detail:
type: string
description: What went wrong, in words.
message:
type: string
description: Short summary (`?shape=firm` only).
param:
type: string
description: The request parameter at fault, when one is.
doc_url:
type: string
format: uri
description: The documented error table.
request_id:
type: string
description: Same as the X-Request-ID header.
product:
type: string
description: '`scope_denied`: the product the tool belongs to.'
scopes:
type: array
items:
type: string
description: '`scope_denied`: the products this API key may call.'
cap_usd:
type:
- number
- 'null'
description: '`spend_cap_reached`: the workspace''s spend cap in USD.'
resets_at:
type:
- string
- 'null'
format: date-time
description: '`spend_cap_reached`: when the cap resets (ISO 8601, UTC).'
additionalProperties: true
FirmResponse:
type: object
description: Standard success envelope. Every endpoint returns `ok` + `timestamp`; the remaining fields are the tool-specific payload (hence additionalProperties).
properties:
ok:
type: boolean
timestamp:
type: string
format: date-time
required:
- ok
additionalProperties: true
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
BearerAuth:
type: http
scheme: bearer