Documentation
Everything you need to connect to Subglow filtered Solana gRPC streams. From API key to first filtered transaction in under 5 minutes.
Quickstart
Create an account
Sign up at subglow.io/signup. Your API key is generated instantly. Free tier includes 50M requests/month.
Choose your filters
In your dashboard, select which programs to stream: pump_fun, raydium, jupiter, or provide custom Program IDs (Pro tier).
Connect and trade
Point your gRPC client at grpc.subglow.io:443 with your API key in the x-api-key metadata header. You'll start receiving filtered transactions immediately.
Authentication
All requests require an API key passed as gRPC metadata. Your key determines your tier (Sniper, Pro, or Dedicated) and which filters are available.
API keys are 32-character alphanumeric strings. Never expose your key in client-side code or public repositories.
Filter Configuration
Filters determine which transactions reach your client. Filtering happens server-side before data leaves our infrastructure — reducing your bandwidth and CPU consumption.
| Filter ID | Program | Events | Tier |
|---|---|---|---|
| pump_fun | Pump.fun | buy, sell, create, migrate | All |
| raydium | Raydium v5 | swap, add_liq, remove_liq, create_pool | All |
| jupiter | Jupiter v6 | swap, limit_order, dca | All |
| custom | Any Program ID | All instructions | Pro+ |
Node.js Example
Rust Example
Python Example
Output Schema
Every transaction arrives as a structured JSON object. The parsed field contains program-specific data with human-readable field names and native types (no base58/base64 encoded blobs).
Error Codes
| Code | Status | Description |
|---|---|---|
| UNAUTHENTICATED | 401 | Missing or invalid API key |
| PERMISSION_DENIED | 403 | Filter not available on your tier |
| RESOURCE_EXHAUSTED | 429 | Rate limit exceeded (Sniper tier) |
| UNAVAILABLE | 503 | Upstream node temporarily unreachable |
| INTERNAL | 500 | Server error — retry with backoff |
Rate Limits by Tier
| Tier | Concurrent streams | Filters | Delivery |
|---|---|---|---|
| Sniper | 2 | pump_fun, raydium, jupiter | Standard |
| Pro | 10 | All + custom Program IDs | Full-speed |
| Dedicated | Unlimited | All + custom | Full-speed + SLA |
WebSocket Fallback
For environments where gRPC is not available (browsers, serverless functions), we offer a WebSocket endpoint with the same filtered output.
WebSocket adds ~2-5ms latency compared to native gRPC. Use gRPC whenever possible for lowest latency.
Health Endpoint
Monitor our infrastructure's real-time slot lag versus the Solana network. Use this to verify data freshness and detect upstream issues.