MarketIntell Proof API
Public, no-auth verifiable track-record proof endpoints
Public, no-auth verifiable track-record proof endpoints
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-proof-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 Proof 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: Proof
description: Public, no-auth verifiable track-record proof endpoints
paths:
/v1/proof/polymarket:
get:
operationId: getProofPolymarket
summary: Polymarket bot on-chain record
tags:
- Proof
security: []
description: 'Public, no-auth, live on-chain record of the Polymarket bot wallet. Wins/losses are scored only from on-chain resolutions: REDEEM payouts (wins/partial-wins) plus markets gamma-api reports `closed` whose un-redeemed position resolved worthless (counted as losses). `unresolved_positions` are markets with cash deployed but not yet resolved — NOT scored, and they MAY become losses. The `methodology_note` field states this explicitly; the numbers are NOT a clean win rate. 5-minute CDN cache. Falls back to a degraded snapshot (claiming no win rate) if the upstream data API is unreachable.'
responses:
'200':
description: Polymarket proof snapshot (honest, gamma-resolved)
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
wallet:
type: string
polymarket_profile_url:
type: string
format: uri
redeemed_wins:
type: integer
description: Markets resolved via a winning/partial REDEEM (pnl > 0).
redeemed_losses:
type: integer
description: Markets resolved via REDEEM with a net loss (pnl < 0).
resolved_losses_unredeemed:
type: integer
description: Markets gamma reports `closed` whose position was never redeemed → resolved worthless. Losses invisible to a redeem-only tally.
unresolved_positions:
type: integer
description: Markets with cash deployed but not yet resolved. NOT scored — may be future losses.
net_realized_pnl:
type: number
description: Net realized PnL across ALL resolved markets (incl. unredeemed losses).
net_unrealized_pnl:
type: number
description: Net cash on unresolved markets (not settled; may resolve to a loss).
methodology_note:
type: string
description: Scoring methodology disclosure. States that unredeemed positions are not yet scored and may be losses, so the numbers are not a clean win rate.
resolution_source_gamma:
type: boolean
description: True when gamma-api was used to classify unredeemed closed markets as losses; false in degraded mode (losses may be undercounted).
net_pnl_usd:
type: number
description: Alias of net_realized_pnl.
wins:
type: integer
description: Alias of redeemed_wins.
losses:
type: integer
description: redeemed_losses + resolved_losses_unredeemed.
open_positions:
type: integer
description: Alias of unresolved_positions.
open_realized_pnl_usd:
type: number
description: Alias of net_unrealized_pnl.
snapshot_at:
type: string
format: date-time
total_cash_deployed_usd:
type: number
markets_touched:
type: integer
last_resolved:
type: array
items:
type: object
open_positions_detail:
type: array
items:
type: object
/v1/proof/summary:
get:
operationId: getProofSummary
summary: Platform-wide headline numbers
tags:
- Proof
security: []
description: Public, no-auth headline accuracy numbers (n, hit rate, Wilson 95% CI, avg PnL) over closed signals. Same shape as `/v1/leaderboard` but in the public proof namespace. 5-minute CDN cache. Stubs are excluded.
parameters:
- name: window
in: query
schema:
type: string
enum:
- 30d
- 90d
- 180d
default: 30d
- name: domain
in: query
schema:
type: string
enum:
- crypto
- us_equities
- india_stocks
- name: limit
in: query
schema:
type: integer
default: 20
minimum: 1
maximum: 100
description: Accepted/validated for parity with /trades; not used by summary.
responses:
'200':
description: Headline numbers
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
window:
type: object
description: LeaderboardWindow rollup.
window_days:
type: integer
domain:
type: string
nullable: true
computed_at:
type: string
format: date-time
'400':
description: Invalid query parameter
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
/v1/proof/trades:
get:
operationId: getProofTrades
summary: Recent closed signals (sanitized)
tags:
- Proof
security: []
description: Public, no-auth list of the last N closed signals with sanitized fields only (no PII, no broker details, no order payloads). 5-minute CDN cache. Stubs are excluded.
parameters:
- name: window
in: query
schema:
type: string
enum:
- 30d
- 90d
- 180d
default: 30d
- name: domain
in: query
schema:
type: string
enum:
- crypto
- us_equities
- india_stocks
- name: limit
in: query
schema:
type: integer
default: 20
minimum: 1
maximum: 100
responses:
'200':
description: Sanitized closed signals
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
window_days:
type: integer
domain:
type: string
nullable: true
count:
type: integer
trades:
type: array
items:
type: object
properties:
id:
type: string
domain:
type: string
token:
type: string
direction:
type: string
enum:
- long
- short
timeframe:
type: string
entry_at:
type: string
format: date-time
nullable: true
exit_at:
type: string
format: date-time
nullable: true
entry_price:
type: number
exit_price:
type: number
nullable: true
stop_loss:
type: number
take_profits:
type: array
items:
type: number
net_pnl_pct:
type: number
nullable: true
exit_reason:
type: string
nullable: true
created_at:
type: string
format: date-time
computed_at:
type: string
format: date-time
'400':
description: Invalid query parameter
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
/v1/proof/calibration:
get:
operationId: getProofCalibration
summary: Platform calibration table
tags:
- Proof
security: []
description: 'Public, no-auth platform-wide calibration: confidence bucket → realized win rate, sample size, Wilson 95% CI, and edge in percentage points (realized_wr − raw confidence). 5-minute CDN cache.'
parameters:
- name: window
in: query
schema:
type: string
enum:
- 30d
- 90d
- 180d
default: 30d
- name: domain
in: query
schema:
type: string
enum:
- crypto
- us_equities
- india_stocks
responses:
'200':
description: Calibration table
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
window_days:
type: integer
domain:
type: string
nullable: true
buckets:
type: array
items:
type: object
properties:
conf_bucket:
type: string
raw_conf_mid:
type: number
sample_size:
type: integer
realized_wr:
type: number
realized_avg_pnl:
type: number
wr_ci95:
type: array
items:
type: number
nullable: true
description: Wilson 95% CI [lo, hi], null when sample_size = 0.
edge_pp:
type: number
total_signals:
type: integer
computed_at:
type: string
format: date-time
'400':
description: Invalid query parameter
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