Skip to main content
This guide is for market maker teams integrating a quoting service with Longshot. Market makers connect over WebSocket, receive RFQ broadcasts, and submit signed quote payloads. User order creation and settlement orchestration happen through Longshot; market makers only need to maintain connectivity, price RFQs within the deadline, and handle quote outcomes. Market makers must be whitelisted by a Longshot admin using their Longshot user ID before they can authenticate as a market maker.

Get Your User ID

Use wallet auth with the EVM wallet you plan to run as a market maker. The response includes the user_id Longshot needs for whitelisting.
POST https://api.longshot.xyz/v1/auth/wallet
Content-Type: application/json

{
  "address": "0x742d35cC6634C0532925A3B844Bc9e7595F8B2A1",
  "message": "Sign in to longshot.xyz\n\nAddress: 0x742d35cC6634C0532925A3B844Bc9e7595F8B2A1\nTimestamp: 1735430000000",
  "signature": "base64-encoded-ecdsa-signature"
}
{
  "session_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "address": "0x742d35cC6634C0532925A3B844Bc9e7595F8B2A1",
  "user_id": "8d3f6b4a-a79a-4b4d-8e38-64c2d8f7b9a1",
  "expires_at": 1735516400
}
To request whitelisting, DM @helmass on Telegram with your Longshot user ID.

Integration Surfaces

WebSocket API

Receive RFQs, submit signed quotes, and handle terminal quote results notifications.

HTTP API

Read strategy inputs, balances, and funding state over HTTP.

Start Here

Overview

Connection model, prerequisites, and environment URLs.