Overview
The CF Benchmarks REST passthrough lets you query the CF Benchmarks REST API using your existing Kalshi API credentials. Requests are authenticated the same way as any other Kalshi Trade API call, so you do not need a separate CF Benchmarks API key. Send a request to the/cfbenchmarks endpoint and the path and query string are forwarded to CF Benchmarks. The upstream response is returned wrapped in a standard Kalshi data envelope.
Access
The passthrough requires an authenticated Kalshi Trade API request, and it is available only to accounts with the appropriate entitlement. If you receive an authorization error and believe you should have access, contact Kalshi.Base URL and Path Mapping
Use the production Trade API base URL (see API Environments for all hosts and the demo environment):/cfbenchmarks/, including the query string, is forwarded to the CF Benchmarks REST API at https://www.cfbenchmarks.com/api/v1/.
| Kalshi request | Forwarded to |
|---|---|
GET /trade-api/v2/cfbenchmarks/values?id=BRTI | https://www.cfbenchmarks.com/api/v1/values?id=BRTI |
Authentication
Authenticate with standard Kalshi API key request signing. See API Keys and Quick Start: Authenticated Requests for the full signing flow. As with all Trade API endpoints, sign the request path from the API root without the query string:Example
data field:
Available Endpoints
The passthrough forwards any path and query parameters supported by CF Benchmarks. For the list of available endpoints, supported parameters, and index identifiers (such asBRTI), refer to the official CF Benchmarks API documentation.
Error Handling
The passthrough maps upstream conditions to standard Kalshi error responses:| Condition | Kalshi response |
|---|---|
| Resource not found upstream | 404 not_found |
| Upstream rate limit exceeded | 429 too_many_requests |
| Upstream authorization failure, server error, or timeout | 503 service_unavailable |
| Other upstream client errors | 400 bad_request (with upstream detail) |