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: Crosstabs Public Aggregate Statistics Contingency API
version: 1.0.0
description: 'Existing free, accountless endpoints for aggregate integer frequency counts. No respondent-row upload or private project APIs are defined here. All inferential tables require 2–12 rows and columns, rectangular shape, positive row/column margins, and grand total ≤ 1000000000000. Fractional/weighted cells are rejected. These are ordinary independent-frequency methods, not survey-design inference. Source: lib/api/contingency-handler.ts and app/api/v1 route handlers. Unknown /api paths return HTTP 404 JSON with error, code=endpoint_not_found, hint and documentation; HEAD returns the same status without a body. API schema version is separate from application and PyPI package versions. Public REST v1 compatibility policy: breaking changes use a new major URL prefix rather than silently changing /api/v1. Additive response fields may be introduced; clients should tolerate unknown fields. Current v1 endpoints are not deprecated and have no scheduled sunset. If a deprecation is scheduled, the public changelog and developer documentation will publish the affected endpoints, migration guidance and planned dates. This policy is not an availability SLA or a promise of indefinite service. See https://www.crosstabs.com/changelog and https://www.crosstabs.com/developers for published changes and migration guidance.'
contact:
name: Crosstabs support
email: support@crosstabs.com
url: https://www.crosstabs.com/support
servers:
- url: https://www.crosstabs.com
security: []
tags:
- name: Contingency
paths:
/api/v1/contingency:
options:
operationId: optionsContingency
summary: Read CORS preflight policy
responses:
'204':
description: Empty response. Allows any origin, GET/POST/OPTIONS, and the Content-Type request header.
headers:
Access-Control-Allow-Origin:
schema:
type: string
const: '*'
Access-Control-Allow-Methods:
schema:
type: string
const: GET, POST, OPTIONS
Access-Control-Allow-Headers:
schema:
type: string
const: Content-Type
tags:
- Contingency
externalDocs:
description: Examples, statistical limits, MCP and local CLI setup
url: https://www.crosstabs.com/developers
x-crosstabs-interfaces:
description: Informational Crosstabs extension, not an agent-manifest standard. MCP uses its own initialization, tools/list and tools/call protocol rather than the REST schemas below.
openapi: https://www.crosstabs.com/openapi.json
documentation: https://www.crosstabs.com/developers
publicAggregateMcp:
url: https://www.crosstabs.com/api/headless-mcp
transport: Streamable HTTP
toolCount: 5
tools:
- search
- fetch
- get_headless_capabilities
- analyze_crosstab
- render_crosstab
maxPostBytes: 16384
requestsPerMinutePerProcessClient: 60
dataBoundary: Fixed public evidence and bounded aggregate counts only; no respondent rows or private projects.
mcpSetup: https://www.crosstabs.com/mcp
localPackage: https://pypi.org/project/crosstabs/1.5.1/
evidence: https://www.crosstabs.com/evidence.json
localCli:
package: crosstabs==1.5.1
install: pip install crosstabs==1.5.1
command: crosstabs-headless
transport: stdio
dataBoundary: Local project processing; the AI client has its own data policies.