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: MADDOG Service API
description: 'Measured market statistics over plain HTTP, designed to be called by AI agents: a rolling Brooks range-breakout event with frozen measured reference rates and a pre-specified-model per-event calibrated estimate, Weis volume-price wave events with pre-registered win rates, options max pain computed from open interest alone, and estimated dealer gamma exposure. The Brooks read works around the clock on 24-hour instruments — including the Asia-close-to-US-open window that has no live session read anywhere else.
**One paid product.** The Brooks Events read and the Brooks backtest are covered by the same subscription and API key. There is no free key: a key is issued when checkout succeeds, and the first 3 days are a free trial on a card collected up front. An anonymous caller gets 1 first-look response before a key is required.
**Authentication** — send your API key (starts with `qd_`) in the `X-API-Key` header. One $99.9/month plan covers every endpoint, first 3 days free on a card collected at checkout. Self-serve checkout at https://maddog.finance. Card authentication (3-D Secure) requires the cardholder, so a person must complete the checkout — an AI agent cannot.
**Errors** are RFC 9457 `application/problem+json`. Every problem carries `error_code` (a stable string — branch on it, not on prose) and `retryable`. Access and billing errors additionally carry `available_actions` (machine-readable next steps, including the public pages that stay free) and `message_for_your_human` (a sentence to relay to your user verbatim). `retryable` is false on 401/402/403: those are credential or billing states and a second attempt returns the same answer.
Everything returned is descriptive statistics or measured historical frequency — not a forecast, not a buy or sell recommendation, not investment advice.
Interactive endpoint reference: https://maddog.finance/docs, which documents measured, including where the models fail.'
contact:
name: MADDOG
url: https://maddog.finance/
email: info@maddog.finance
version: 5.1.0
servers:
- url: https://api.maddog.finance
tags:
- name: Service
paths:
/:
get:
tags:
- Service
summary: Service self-description (no key required)
description: 'Plain JSON self-description: free-key access, paid access, public pages, pricing, symbol formats, and checkout. Start here if you arrived without context.'
operationId: getServiceInfo
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/health:
get:
tags:
- Service
summary: Liveness check
operationId: getHealth
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/mcp:
post:
tags:
- Service
summary: MCP endpoint (streamable HTTP, stateless)
description: 'Model Context Protocol endpoint: POST one JSON-RPC message per request, get application/json back — stateless, no session id, no SSE stream. Tools: price_action_read, close_curve, get_scoreboard, request_free_key. Connect from Claude Code with `claude mcp add --transport http maddog https://api.maddog.finance/mcp`, add the X-API-Key header once you have a key. Anonymous first-look and the free-key flow work without any key.'
operationId: mcp
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
description: API key, starts with qd_. Request a free key by email at POST /v1/access/free-key — no card, no account. Full access is $99.9/month with a 3-day free trial. Missing or invalid keys get a problem+json body with machine-readable free-key and checkout actions.
in: header
name: X-API-Key