Skip to main content
All URIs are relative to https://api.elections.kalshi.com/trade-api/v2
MethodHTTP requestDescription
get_structured_targetGET /structured_targets/Get Structured Target
get_structured_targetsGET /structured_targetsGet Structured Targets

get_structured_target

GetStructuredTargetResponse get_structured_target(structured_target_id)
Get Structured Target Endpoint for getting data about a specific structured target by its ID.

Parameters

NameTypeDescriptionNotes
structured_target_idstrStructured target ID

Return type

GetStructuredTargetResponse

HTTP response details

Status codeDescription
200Structured target retrieved successfully
401Unauthorized
404Not found
500Internal server error

get_structured_targets

GetStructuredTargetsResponse get_structured_targets(type=type, competition=competition, page_size=page_size, cursor=cursor)
Get Structured Targets Page size (min: 1, max: 2000)

Parameters

NameTypeDescriptionNotes
typestrFilter by structured target type[optional]
competitionstrFilter by competition[optional]
page_sizeintNumber of items per page (min 1, max 2000, default 100)[optional] [default to 100]
cursorstrPagination cursor[optional]

Return type

GetStructuredTargetsResponse

HTTP response details

Status codeDescription
200Structured targets retrieved successfully
401Unauthorized
500Internal server error