Skip to main content
curl --request GET \
  --url https://api.longshot.xyz/v1/rfq/{id} \
  --header 'Authorization: Bearer <session_token>'
{
  "request_id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "completed",
  "odds": 1.8519,
  "payout_micros": "1851900",
  "quotes_received": 1
}
curl --request GET \
  --url https://api.longshot.xyz/v1/rfq/{id} \
  --header 'Authorization: Bearer <session_token>'
{
  "request_id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "completed",
  "odds": 1.8519,
  "payout_micros": "1851900",
  "quotes_received": 1
}

Endpoint

GET https://api.longshot.xyz/v1/rfq/{id}
Authorization: Bearer <session_token>
Returns live pending status for an active RFQ or a cached/stored terminal result for the authenticated owner.

Headers

Authorization
string
required
Bearer <session_token> from wallet auth or Privy session auth.

Path Parameters

id
uuid
required
RFQ request ID returned by POST /v1/rfq.

Response Fields

request_id
uuid
RFQ request ID.
status
string
pending, finalizing, completed, failed, cancelled, or timeout.
odds
number | null
Effective payout multiplier when the RFQ fills.
payout_micros
string | null
Gross payout in micros if the filled position wins, encoded as a decimal integer string.
error
string | null
Failure reason when status is failed.
quotes_received
int32
Number of maker quotes received for the RFQ.