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 Market data 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: Market Data
paths:
/v1/domestic-futures:
get:
tags:
- Market Data
summary: Mainland futures directory (free, no key)
description: Search all configured mainland futures products and delivery contracts. No key or credits required. Use a returned symbol in /v1/brooks/{symbol}.
operationId: listDomesticFutures
parameters:
- name: q
in: query
required: false
schema:
anyOf:
- type: string
maxLength: 80
- type: 'null'
title: Q
- name: exchange
in: query
required: false
schema:
anyOf:
- type: string
maxLength: 12
- type: 'null'
title: Exchange
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
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