MarketIntell Signals API
Trade signals (entry/stop/TP setups), stats, calibration, and benchmarks
Trade signals (entry/stop/TP setups), stats, calibration, and benchmarks
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/marketintell-ai:marketintell-ai-signals-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: MarketIntell Signals API
version: 0.1.0
description: 'AI-powered market intelligence with tier-aware Mastra agents and a deterministic analytical pipeline across crypto, US equities, and India stocks. REST, MCP, OpenAI-compatible, async workflow, and batch transports share one evidence/provenance/recovery contract.
**Rate limits (per minute / per day):**
- Free: 60 / 25
- Builder: 120 / 50,000
- Pro: 300 / 2,000
- Enterprise: 1,000 / unlimited
MCP has a separate per-key bucket (default 30/min, env `MCP_RATE_LIMIT_MAX`). 429 responses include `Retry-After` and machine-readable recovery fields.
**Self-registration (agents):** `POST /v1/auth/challenge` returns a SHA-256 proof-of-work challenge; submit the solved nonce to `POST /v1/auth/signup`. Follow `/.well-known/oauth-protected-resource` to the authorization-server `agent_auth` block, or read `/auth.md`.'
contact:
name: MarketIntell
email: support@marketintell.ai
url: https://marketintell.ai/contact
license:
name: Proprietary
url: https://marketintell.ai/terms
termsOfService: https://marketintell.ai/terms
x-api-lifecycle:
stability: stable
versioning: Major versions are encoded in the URL path (currently /v1). Additive fields do not change the major version.
deprecation_notice_days: 90
deprecation_header: Deprecation (RFC 9745)
sunset_header: Sunset (RFC 8594)
migration_link_relation: successor-version
servers:
- url: https://api.marketintell.ai
description: Production
- url: http://localhost:3848
description: Local development
security:
- BearerAuth: []
- ApiKeyHeader: []
tags:
- name: Signals
description: Trade signals (entry/stop/TP setups), stats, calibration, and benchmarks
paths:
/v1/signals:
get:
operationId: getSignals
summary: List trade signals
tags:
- Signals
description: Paginated list of trade signals (entry/stop/take-profit setups). Each entry is enriched with `valid_for_minutes`, `time_to_exit_minutes` (entered signals only), and broker `actions` (deep links + order-payload URL). Requires both `read` and `signals` scopes. Opt-in `include_calibration=true` inlines the matching calibration bucket per signal; `include_risk_caveats=true` appends upcoming macro-event caveats.
parameters:
- name: limit
in: query
schema:
type: integer
default: 50
minimum: 1
maximum: 200
- name: offset
in: query
schema:
type: integer
default: 0
minimum: 0
maximum: 10000
- name: token
in: query
schema:
type: string
description: Filter by token symbol.
- name: direction
in: query
schema:
type: string
enum:
- long
- short
- name: timeframe
in: query
schema:
type: string
enum:
- 15m
- 1H
- 4H
- name: status
in: query
schema:
type: string
enum:
- queued
- live
- entered
- closed
- cancelled
- name: domain
in: query
schema:
type: string
enum:
- crypto
- us_equities
- india_stocks
- name: since
in: query
schema:
type: string
format: date-time
- name: include_calibration
in: query
schema:
type: string
enum:
- 'true'
- 'false'
description: When `true`, inline `calibration_bucket` (conf_bucket, sample_n, wr, avg_pnl) per signal.
- name: include_risk_caveats
in: query
schema:
type: string
enum:
- 'true'
- 'false'
description: When `true`, append `risk_caveats[]` (upcoming macro events within 14d).
responses:
'200':
description: Enriched trade signals
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
count:
type: integer
limit:
type: integer
offset:
type: integer
signals:
type: array
items:
type: object
properties:
id:
type: string
token:
type: string
domain:
type: string
direction:
type: string
enum:
- long
- short
timeframe:
type: string
enum:
- 15m
- 1H
- 4H
entry_price:
type: number
stop_loss:
type: number
take_profits:
type: array
items:
type: number
suggested_leverage:
type: number
status:
type: string
enum:
- queued
- live
- entered
- closed
- cancelled
valid_until:
type: string
format: date-time
valid_for_minutes:
type: integer
time_to_exit_minutes:
type: integer
nullable: true
actions:
type: object
description: Broker deep links + order-payload URL.
calibration_bucket:
type: object
nullable: true
description: Present only when include_calibration=true.
risk_caveats:
type: array
items:
type: object
description: Present only when include_risk_caveats=true.
/v1/signals/attribution:
get:
operationId: getSignalsAttribution
summary: Filter-pipeline rejection breakdown
tags:
- Signals
description: 'Operational metrics: which signal-pipeline filters reject the most candidates over the last `window_ms` (default 24h), plus an optional `recent` tail for deep-dive debugging. Read-only; requires `read` and `signals` scopes. No PII surfaced.'
parameters:
- name: window_ms
in: query
schema:
type: integer
default: 86400000
minimum: 60000
maximum: 2592000000
description: Lookback window in ms (1m min, 30d max).
- name: recent
in: query
schema:
type: integer
default: 50
minimum: 0
maximum: 500
description: Number of recent rejection events to include (0 = none).
responses:
'200':
description: Attribution summary + recent events
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
summary:
type: object
description: Per-filter rejection counts and rates.
recent:
type: array
items:
type: object
/v1/signals/exit-reasons:
get:
operationId: getSignalsExitReasons
summary: Exit-reason breakdown
tags:
- Signals
description: Aggregate counts of user-tagged exit reasons across closed/cancelled signals. Requires `read` and `signals` scopes.
parameters:
- name: since
in: query
schema:
type: string
format: date-time
- name: direction
in: query
schema:
type: string
enum:
- long
- short
- name: timeframe
in: query
schema:
type: string
enum:
- 15m
- 1H
- 4H
responses:
'200':
description: Exit-reason counts
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
description: Map of exit_reason → count.
/v1/signals/stats:
get:
operationId: getSignalsStats
summary: Win-rate / PnL stats breakdown
tags:
- Signals
description: Aggregate signal performance broken down by direction, token, and timeframe, plus rolled-up totals (win rate, avg PnL). Optional `token` narrows all breakdowns to a single token. Requires `read` and `signals` scopes.
parameters:
- name: since
in: query
schema:
type: string
format: date-time
- name: domain
in: query
schema:
type: string
enum:
- crypto
- us_equities
- india_stocks
- name: token
in: query
schema:
type: string
responses:
'200':
description: Stats breakdown
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
since:
type: string
totals:
type: object
properties:
n:
type: integer
wins:
type: integer
losses:
type: integer
wr:
type: number
avg_pnl:
type: number
by_direction:
type: object
by_token:
type: object
by_timeframe:
type: object
/v1/signals/calibration:
get:
operationId: getSignalsCalibration
summary: Calibration buckets
tags:
- Signals
description: Per-bucket realized win rate + sample size for the calibration table. With `aggregate=platform` the dimensions collapse to a single rolled-up view keyed by confidence bucket (used by the public track-record page). Requires `read` and `signals` scopes.
parameters:
- name: aggregate
in: query
schema:
type: string
enum:
- platform
description: When `platform`, return confidence-bucket rollup instead of per-dimension rows.
- name: token
in: query
schema:
type: string
- name: timeframe
in: query
schema:
type: string
enum:
- 15m
- 1H
- 4H
- name: direction
in: query
schema:
type: string
enum:
- long
- short
responses:
'200':
description: Calibration buckets
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
aggregate:
type: string
enum:
- platform
count:
type: integer
buckets:
type: array
items:
type: object
properties:
conf_bucket:
type: string
sample_n:
type: integer
wr:
type: number
avg_pnl:
type: number
/v1/signals/calibration/refresh:
post:
operationId: postSignalsCalibrationRefresh
summary: Recompute calibration table (admin)
tags:
- Signals
description: Force a full recompute of the calibration table. Admin scope only.
responses:
'200':
description: Number of buckets updated
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
buckets_updated:
type: integer
'403':
description: Missing admin scope
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
/v1/signals/direction-bias:
get:
operationId: getSignalsDirectionBias
summary: Structural direction-bias monitor
tags:
- Signals
description: 'Diagnostic: per-source long/short skew and per-source realized-return quality from the unified signal ledger. Returns the threshold bands so clients don''t need to hardcode the magic numbers. Requires `read` scope only (aggregate counts, no per-user data).'
parameters:
- name: lookback_days
in: query
schema:
type: integer
default: 7
minimum: 1
maximum: 30
responses:
'200':
description: Skew + quality with thresholds
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
skew:
type: object
description: Per-source skew + threshold band.
quality:
type: object
description: Per-source realized-return quality + thresholds.
/v1/signals/benchmark:
get:
operationId: getSignalsBenchmark
summary: Forward-benchmark for one metric
tags:
- Signals
description: Latest snapshot plus history for a single forward-benchmark metric at a given window. Requires `read` and `signals` scopes.
parameters:
- name: metric
in: query
required: true
schema:
type: string
description: Benchmark metric id (see supported metrics; 400 if unknown).
- name: window_days
in: query
schema:
type: integer
default: 7
minimum: 1
maximum: 90
- name: history
in: query
schema:
type: integer
default: 30
minimum: 0
maximum: 90
description: Number of historical snapshots to include (0 = none).
responses:
'200':
description: Metric snapshot + history
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
metric:
type: string
window_days:
type: integer
latest:
type: object
nullable: true
history:
type: array
items:
type: object
'400':
description: Unknown or missing metric
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
/v1/signals/benchmark/latest:
get:
operationId: getSignalsBenchmarkLatest
summary: Latest snapshot for every benchmark metric
tags:
- Signals
description: 'One-shot: the most recent snapshot for every forward-benchmark metric at the given window. Requires `read` and `signals` scopes.'
parameters:
- name: window_days
in: query
schema:
type: integer
default: 7
minimum: 1
maximum: 90
responses:
'200':
description: Latest snapshots
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
window_days:
type: integer
items:
type: array
items:
type: object
/v1/signals/benchmark/recompute:
post:
operationId: postSignalsBenchmarkRecompute
summary: Force benchmark recompute (admin)
tags:
- Signals
description: Force a forward-benchmark snapshot run. With `window_days` only that window is recomputed; otherwise all windows are. Admin scope only.
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
window_days:
type: integer
minimum: 1
maximum: 90
responses:
'200':
description: Recompute results
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
results:
type: array
items:
type: object
'403':
description: Missing admin scope
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
/v1/signals/scan:
post:
operationId: postSignalsScan
summary: Trigger a signal scan cycle (admin)
tags:
- Signals
description: Run the unified scanner once and write any signals it produces. Empty body is valid (defaults apply). Admin scope only.
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
max_tokens:
type: integer
minimum: 1
maximum: 50
description: Accepted for back-compat; no longer honored by the unified scanner.
responses:
'200':
description: Scan cycle result
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
scores_produced:
type: integer
signals_written:
type: integer
filter_vetoes:
type: integer
pricing_failures:
type: integer
skipped:
type: integer
errors:
type: integer
disabled_by_flag:
type: boolean
'403':
description: Missing admin scope
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
/v1/signals/{id}:
get:
operationId: getSignalsId
summary: Get a single signal
tags:
- Signals
description: Single trade signal (enriched, with risk caveats) plus its lifecycle event log. Requires `read` and `signals` scopes.
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Signal + events
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
signal:
type: object
events:
type: array
items:
type: object
'404':
description: Signal not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
/v1/signals/{id}/order-payload:
get:
operationId: getSignalsIdOrderPayload
summary: Broker-neutral order payload
tags:
- Signals
description: Bracket-order payload (entry/stop/take-profits) derived from the signal, ready for conversion to broker-native shapes. No `qty` is returned — position sizing is the caller's account-relative decision. Includes `signal_status` and an `expired` flag. Requires `read` and `signals` scopes.
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Order payload
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
payload:
type: object
description: Bracket-order shape (no qty).
signal_status:
type: string
expired:
type: boolean
'404':
description: Signal not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
/v1/signals/{id}/cancel:
post:
operationId: postSignalsIdCancel
summary: Cancel a signal (admin)
tags:
- Signals
description: Mark a queued/live/entered signal as cancelled. 400 if the signal is already closed/cancelled. Admin scope only.
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Signal cancelled
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
id:
type: string
status:
type: string
enum:
- cancelled
'400':
description: Already closed/cancelled
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
'404':
description: Signal not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
components:
schemas:
ErrorEnvelope:
type: object
required:
- success
- error
properties:
success:
type: boolean
enum:
- false
error:
type: string
description: Human-readable error message
code:
type: string
description: Stable machine-readable error code, when present
request_id:
type: string
description: Correlation id from the X-Request-ID header
retry_after_ms:
type: integer
description: Suggested back-off for 429 responses (mirrors the Retry-After header in ms)
securitySchemes:
BearerAuth:
type: http
scheme: bearer
ApiKeyHeader:
type: apiKey
in: header
name: X-API-Key