Bybit API (pybit)

Provides a unified v5 REST and WebSocket API for Bybit's spot, linear/inverse perpetuals, futures, and options markets, with an official Python SDK (pybit).

Evaluated Mar 07, 2026 (0d ago) vcurrent
Homepage ↗ Repo ↗ Finance crypto trading derivatives rest-api websocket spot futures options hmac
⚙ Agent Friendliness
59
/ 100
Can an agent use this?
🔒 Security
85
/ 100
Is it safe for agents?
⚡ Reliability
81
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
0
Documentation
87
Error Messages
80
Auth Simplicity
62
Rate Limits
82

🔒 Security

TLS Enforcement
100
Auth Strength
84
Scope Granularity
85
Dep. Hygiene
75
Secret Handling
80

HMAC-SHA256 with replay protection; granular key permissions (read/trade/withdraw); IP whitelist support; dedicated testnet available

⚡ Reliability

Uptime/SLA
83
Version Stability
82
Breaking Changes
78
Error Recovery
80
AF Security Reliability

Best When

Building algorithmic trading agents focused on crypto derivatives and perpetual swaps with a need for a well-documented, unified API across multiple product types.

Avoid When

Targeting US retail users or when regulatory clarity is required — Bybit has geo-blocking for several jurisdictions.

Use Cases

  • Algorithmic trading on crypto perpetuals and options
  • Real-time order book and trade streaming via WebSocket
  • Unified portfolio management across spot and derivatives
  • Market making with high-frequency order placement/cancellation
  • Backtesting-ready historical kline data retrieval

Not For

  • Traditional finance or non-crypto assets
  • On-chain or self-custodied DeFi trading
  • Jurisdictions where Bybit is prohibited (e.g., US, UK without appropriate licensing)

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
Yes

Authentication

Methods: api_key hmac
OAuth: No Scopes: Yes

API key + secret with HMAC-SHA256 signature. Keys can be scoped to read-only, trading, or withdrawal. Supports IP whitelisting. Unified Auth across v5 endpoints.

Pricing

Model: free
Free tier: Yes
Requires CC: No

API access is free; taker/maker fees start at 0.1%/0.06% for spot, lower for derivatives

Agent Metadata

Pagination
cursor
Idempotent
Partial
Retry Guidance
Documented

Known Gotchas

  • HMAC timestamp must be within 5 seconds of server time — NTP sync critical for agents
  • orderLinkId required for safe retries to avoid duplicate order creation
  • WebSocket connections require periodic ping to maintain; reconnection logic needed
  • v5 unified API is current — older v1/v2/v3 endpoints deprecated
  • Geo-restrictions apply; agent IP location may cause access denial
  • Position mode (one-way vs hedge) must be set before placing orders — default varies by account

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for Bybit API (pybit).

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-07.

5909
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered