Skip to main content
All URIs are relative to https://api.elections.kalshi.com/trade-api/v2
MethodHTTP requestDescription
acceptQuotePUT /communications/quotes//acceptAccept Quote
confirmQuotePUT /communications/quotes//confirmConfirm Quote
createQuotePOST /communications/quotesCreate Quote
createRFQPOST /communications/rfqsCreate RFQ
deleteQuoteDELETE /communications/quotes/Delete Quote
deleteRFQDELETE /communications/rfqs/Delete RFQ
getCommunicationsIDGET /communications/idGet Communications ID
getQuoteGET /communications/quotes/Get Quote
getQuotesGET /communications/quotesGet Quotes
getRFQGET /communications/rfqs/Get RFQ
getRFQsGET /communications/rfqsGet RFQs

acceptQuote

acceptQuote(acceptQuoteRequest)
Endpoint for accepting a quote. This will require the quoter to confirm

Parameters

NameTypeDescriptionNotes
acceptQuoteRequestAcceptQuoteRequest
quoteId[string]Quote IDdefaults to undefined

Return type

void (empty response body)

Authorization

kalshiAccessSignature, kalshiAccessKey, kalshiAccessTimestamp

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
204Quote accepted successfully-
400Bad request - invalid input-
401Unauthorized - authentication required-
404Resource not found-
500Internal server error-

confirmQuote

confirmQuote()
Endpoint for confirming a quote. This will start a timer for order execution

Parameters

NameTypeDescriptionNotes
bodyobject
quoteId[string]Quote IDdefaults to undefined

Return type

void (empty response body)

Authorization

kalshiAccessSignature, kalshiAccessKey, kalshiAccessTimestamp

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
204Quote confirmed successfully-
401Unauthorized - authentication required-
404Resource not found-
500Internal server error-

createQuote

CreateQuoteResponse createQuote(createQuoteRequest)
Endpoint for creating a quote in response to an RFQ

Parameters

NameTypeDescriptionNotes
createQuoteRequestCreateQuoteRequest

Return type

CreateQuoteResponse

Authorization

kalshiAccessSignature, kalshiAccessKey, kalshiAccessTimestamp

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
201Quote created successfully-
400Bad request - invalid input-
401Unauthorized - authentication required-
500Internal server error-

createRFQ

CreateRFQResponse createRFQ(createRFQRequest)
Endpoint for creating a new RFQ. You can have a maximum of 100 open RFQs at a time.

Parameters

NameTypeDescriptionNotes
createRFQRequestCreateRFQRequest

Return type

CreateRFQResponse

Authorization

kalshiAccessSignature, kalshiAccessKey, kalshiAccessTimestamp

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
201RFQ created successfully-
400Bad request - invalid input-
401Unauthorized - authentication required-
409Conflict - resource already exists or cannot be modified-
500Internal server error-

deleteQuote

deleteQuote()
Endpoint for deleting a quote, which means it can no longer be accepted.

Parameters

NameTypeDescriptionNotes
quoteId[string]Quote IDdefaults to undefined

Return type

void (empty response body)

Authorization

kalshiAccessSignature, kalshiAccessKey, kalshiAccessTimestamp

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
204Quote deleted successfully-
401Unauthorized - authentication required-
404Resource not found-
500Internal server error-

deleteRFQ

deleteRFQ()
Endpoint for deleting an RFQ by ID

Parameters

NameTypeDescriptionNotes
rfqId[string]RFQ IDdefaults to undefined

Return type

void (empty response body)

Authorization

kalshiAccessSignature, kalshiAccessKey, kalshiAccessTimestamp

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
204RFQ deleted successfully-
401Unauthorized - authentication required-
404Resource not found-
500Internal server error-

getCommunicationsID

GetCommunicationsIDResponse getCommunicationsID()
Endpoint for getting the communications ID of the logged-in user.

Parameters

This endpoint does not have any parameters.

Return type

GetCommunicationsIDResponse

Authorization

kalshiAccessSignature, kalshiAccessKey, kalshiAccessTimestamp

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Communications ID retrieved successfully-
401Unauthorized - authentication required-
500Internal server error-

getQuote

GetQuoteResponse getQuote()
Endpoint for getting a particular quote

Parameters

NameTypeDescriptionNotes
quoteId[string]Quote IDdefaults to undefined

Return type

GetQuoteResponse

Authorization

kalshiAccessSignature, kalshiAccessKey, kalshiAccessTimestamp

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Quote retrieved successfully-
401Unauthorized - authentication required-
404Resource not found-
500Internal server error-

getQuotes

GetQuotesResponse getQuotes()
Endpoint for getting quotes

Parameters

NameTypeDescriptionNotes
cursor[string]Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.(optional) defaults to undefined
eventTicker[string]Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).(optional) defaults to undefined
marketTicker[string]Filter by market ticker(optional) defaults to undefined
limit[number]Parameter to specify the number of results per page. Defaults to 500.(optional) defaults to 500
status[string]Filter quotes by status(optional) defaults to undefined
quoteCreatorUserId[string]Filter quotes by quote creator user ID(optional) defaults to undefined
rfqCreatorUserId[string]Filter quotes by RFQ creator user ID(optional) defaults to undefined
rfqCreatorSubtraderId[string]Filter quotes by RFQ creator subtrader ID (FCM members only)(optional) defaults to undefined
rfqId[string]Filter quotes by RFQ ID(optional) defaults to undefined

Return type

GetQuotesResponse

Authorization

kalshiAccessSignature, kalshiAccessKey, kalshiAccessTimestamp

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Quotes retrieved successfully-
401Unauthorized - authentication required-
500Internal server error-

getRFQ

GetRFQResponse getRFQ()
Endpoint for getting a single RFQ by id

Parameters

NameTypeDescriptionNotes
rfqId[string]RFQ IDdefaults to undefined

Return type

GetRFQResponse

Authorization

kalshiAccessSignature, kalshiAccessKey, kalshiAccessTimestamp

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200RFQ retrieved successfully-
401Unauthorized - authentication required-
404Resource not found-
500Internal server error-

getRFQs

GetRFQsResponse getRFQs()
Endpoint for getting RFQs

Parameters

NameTypeDescriptionNotes
cursor[string]Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.(optional) defaults to undefined
eventTicker[string]Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).(optional) defaults to undefined
marketTicker[string]Filter by market ticker(optional) defaults to undefined
limit[number]Parameter to specify the number of results per page. Defaults to 100.(optional) defaults to 100
status[string]Filter RFQs by status(optional) defaults to undefined
creatorUserId[string]Filter RFQs by creator user ID(optional) defaults to undefined

Return type

GetRFQsResponse

Authorization

kalshiAccessSignature, kalshiAccessKey, kalshiAccessTimestamp

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200RFQs retrieved successfully-
401Unauthorized - authentication required-
500Internal server error-