Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
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: Kalshi Trade API Manual Endpoints Search API
version: 3.34.0
description: Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
servers:
- url: https://external-api.kalshi.com/trade-api/v2
description: Production Trade API server
- url: https://api.elections.kalshi.com/trade-api/v2
description: Production shared API server, also supported
- url: https://external-api.demo.kalshi.co/trade-api/v2
description: Demo Trade API server
- url: https://demo-api.kalshi.co/trade-api/v2
description: Demo shared API server, also supported
tags:
- name: Search
description: Search and filtering endpoints
paths:
/search/tags_by_categories:
get:
operationId: GetTagsForSeriesCategories
summary: Get Tags for Series Categories
description: 'Retrieve tags organized by series categories.
This endpoint returns a mapping of series categories to their associated tags, which can be used for filtering and search functionality.'
tags:
- Search
responses:
'200':
description: Tags retrieved successfully
content:
application/json:
schema:
$ref: '#/components/schemas/GetTagsForSeriesCategoriesResponse'
'401':
description: Unauthorized
'500':
description: Internal server error
/search/filters_by_sport:
get:
operationId: GetFiltersForSports
summary: Get Filters for Sports
description: 'Retrieve available filters organized by sport.
This endpoint returns filtering options available for each sport, including scopes and competitions. It also provides an ordered list of sports for display purposes.'
tags:
- Search
responses:
'200':
description: Filters retrieved successfully
content:
application/json:
schema:
$ref: '#/components/schemas/GetFiltersBySportsResponse'
'401':
description: Unauthorized
'500':
description: Internal server error
components:
schemas:
ScopeList:
type: object
required:
- scopes
properties:
scopes:
type: array
description: List of scopes
items:
type: string
GetTagsForSeriesCategoriesResponse:
type: object
required:
- tags_by_categories
properties:
tags_by_categories:
type: object
description: Mapping of series categories to their associated tags
additionalProperties:
type: array
items:
type: string
SportFilterDetails:
type: object
required:
- scopes
- competitions
properties:
scopes:
type: array
description: List of scopes available for this sport
items:
type: string
competitions:
type: object
description: Mapping of competitions to their scope lists
additionalProperties:
$ref: '#/components/schemas/ScopeList'
GetFiltersBySportsResponse:
type: object
required:
- filters_by_sports
- sport_ordering
properties:
filters_by_sports:
type: object
description: Mapping of sports to their filter details
additionalProperties:
$ref: '#/components/schemas/SportFilterDetails'
sport_ordering:
type: array
description: Ordered list of sports for display
items:
type: string
securitySchemes:
kalshiOauthAccessToken:
type: http
scheme: bearer
description: User OAuth access token with read::compliance_partner, issued to an explicitly authorized partner. Accepted only on current and historical fills and current portfolio positions endpoints; generic read and partner client-credentials tokens do not grant access.
kalshiAccessKey:
type: apiKey
in: header
name: KALSHI-ACCESS-KEY
description: Your API key ID
kalshiAccessSignature:
type: apiKey
in: header
name: KALSHI-ACCESS-SIGNATURE
description: Base64 signature of the pre-sign text (timestamp + method + path) made with the API key's algorithm - RSA-PSS with SHA-256 for RSA keys, Ed25519 for Ed25519 keys
kalshiAccessTimestamp:
type: apiKey
in: header
name: KALSHI-ACCESS-TIMESTAMP
description: Request timestamp in milliseconds
x-provenance:
method: harvested
publisher: Kalshi
source: https://docs.kalshi.com/openapi.yaml
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)