FalconQ Documentation

High-performance Solana RPC, WebSocket, and gRPC infrastructure for builders who demand speed, reliability, and real-time data.

What FalconQ Offers

Solana RPC

Full JSON-RPC with sub-100ms latency, connection pooling, and automatic retries

WebSocket Streaming

Real-time account, transaction, and slot subscriptions

Yellowstone gRPC

Ultra-low latency streaming with persistent channels and advanced filters

FalconStream

Shred-stage gRPC streaming — 15-100ms faster than standard gRPC for earliest transaction detection

Multi-Region

Frankfurt, New York, and Singapore with automatic failover

Usage Analytics

Dashboard with request metrics, latency tracking, and quota monitoring

Quick Start

Get your API key from the dashboard and make your first request in under 60 seconds.

Step 1: Get your API key

Sign up at falconq.com/dashboard and create an API key. You will receive a key prefixed with fq_rpc_live_.

Step 2: Make your first RPC call

curl -X POST https://api.falconq.xyz/v1/rpc \
  -H "Authorization: Bearer fq_rpc_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getHealth"
  }'

Step 3: Use with @solana/web3.js

import { Connection } from '@solana/web3.js'

const connection = new Connection(
  'https://api.falconq.xyz/v1/rpc',
  {
    httpHeaders: { Authorization: 'Bearer fq_rpc_live_YOUR_KEY' },
    commitment: 'confirmed',
  }
)

const balance = await connection.getBalance(
  new PublicKey('vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg')
)
console.log('Balance:', balance)

Commitment Levels

Solana nodes use commitment levels to determine how finalized a block is. Choose the right level for your use case:

LevelDescriptionUse Case
finalizedConfirmed by supermajority, considered finalMaximum safety, balance queries
confirmedVoted on by supermajority, optimistic confirmationTransaction processing, trading bots
processedMost recent block seen by the nodeLowest latency, may be skipped

Default is finalized if no commitment is specified. Use confirmed for the best balance of speed and safety.

Response Structure

All RPC methods return a standard JSON-RPC response:

{
  "jsonrpc": "2.0",
  "result": {
    "context": {
      "apiVersion": "2.0.15",
      "slot": 341197053
    },
    "value": { ... }
  },
  "id": 1
}
  • context — Contains the slot at which the result was evaluated
  • value — The actual result data from the RPC method
  • id — Matches the request ID for correlating responses

Products

ProductKey PrefixProtocolEndpoint
FalconQ RPCfq_rpc_live_...HTTP JSON-RPCapi.falconq.xyz
FalconQ WebSocketfq_rpc_live_...WebSocketapi.falconq.xyz
FalconQ gRPCfq_grpc_live_...gRPC streaminggrpc.falconq.xyz
FalconStreamfq_fs_live_...Shred-stage gRPCgrpc.falconq.xyz:50051