Vertex Docs
  • Getting Started
    • 📋Overview
    • 📜Table of Contents
    • 🚀Mission
    • ⚔️Vertex Edge
      • 1️⃣Vertex on Arbitrum
      • 2️⃣Blitz on Blast
        • Blitz Documentation
      • 3️⃣Vertex on Mantle
        • 🎆Trading Rewards
        • 📊Perpetual & Spot Market Specifications
        • 🖥️Open-Source Contracts
        • 🔌API
      • 4️⃣Vertex on Sei
        • 💰Trading Rewards
        • 📊Perpetual & Spot Market Specifications
        • 🖥️On-Chain Contracts
        • 🔌API
      • 5️⃣Vertex on Base
        • 💰Trading Rewards
        • 📊Perpetual & Spot Market Specifications
        • 💻Onchain Contracts
        • 🔌API
        • ✍️Create a Coinbase Smart Wallet
      • 6️⃣Vertex on Sonic
        • 💰Trading Rewards
        • 📊Perpetual & Spot Market Specifications
        • ⛓️On-Chain Contracts
        • 🔌API
      • 7️⃣Vertex on Abstract
        • 📊Market Specifications
        • ⛓️On-Chain Contracts
        • 🔌API
      • 8️⃣Bro.Trade on Berachain
        • ⛓️On-Chain Contracts
        • 🔌API
      • 9️⃣Vertex on Avalanche
        • 💰Trading Rewards
        • 📊Market Specifications
        • ⛓️On-Chain Contracts
        • 🔌API
  • Basics
    • 📽️Products
    • ⚡Technical Architecture
    • 🧵Universal Cross Margin
    • ✂️Isolated Margin
    • ℹ️Subaccounts & Health
    • ⏰Liquidations & Insurance Fund
    • 💵PnL Settlements
    • 📊Pricing (Oracles)
    • 💰Fees
    • 📈Funding Rates
    • 📅Market Specifications
    • ⚡One-Click Trading
    • 🔫Trigger Orders
    • 🗂️GMCI 30 & MEME Indices
    • 💰Trade & Earn
      • 🤝Maker Program
      • 🔁Cross-Chain VRTX Rewards
      • ❓Trading Rewards - FAQs
    • 🧑‍🤝‍🧑Referral Program
    • ⚒️Resources & Links
    • ❔FAQs
  • VRTX Token
    • 🎓VRTX Tokenomics
    • 📊Token Supply Distribution
  • More
    • 🌐Glossary
    • 🔬Contracts & Code Audits
    • 🦋Bug Bounties
    • 💽Data & Research
    • 🪟Maintenance Windows
    • 🏁Terms of Use
    • ✍️Statement of Risk
    • 🌍Restricted Territories
    • 📸Brand Assets
  • Tutorials
    • 🏁Quick Start
    • 🖱️One-Click Trading
    • ⚙️Trading Basics
    • ♾️Perpetuals
    • 🔮Spot
    • 🧑‍🤝‍🧑Multiple Accounts
    • 🔫TP/SL & Stop-Market
    • 💰Withdrawals
    • ⚡Fast Withdrawals
    • 🌉Cross-Chain Deposits
    • 🔄Lend, Borrow & Repay
    • ❤️Margin Health
    • 💧Pools
    • 💫VRTX Staking
    • ↔️Switching Chains
    • 🪙Trading Rewards
    • ✂️Shortcuts
  • Developer Resources
    • API
      • 🔌Endpoints
      • Gateway
        • Executes
          • Place Order
          • Place Isolated Order
          • Cancel Orders
          • Cancel Product Orders
          • Cancel And Place
          • Withdraw Collateral
          • Transfer Quote
          • Liquidate Subaccount
          • Mint LP
          • Burn LP
          • Link Signer
        • Queries
          • Status
          • Contracts
          • Nonces
          • Order
          • Orders
          • Subaccount Info
          • Isolated Positions
          • Market Liquidity
          • Symbols
          • All Products
          • Edge All Products
          • Market Prices
          • Max Order Size
          • Max Withdrawable
          • Max LP Mintable
          • Fee Rates
          • Health Groups
          • Linked Signer
          • Insurance
          • Min Deposit Rates
        • Signing
          • Examples
          • Q&A
      • Subscriptions
        • Authentication
        • Streams
        • Events
        • Rate limits
      • Archive (indexer)
        • Orders
        • Matches
        • Events
        • Summary
        • Candlesticks
        • Edge Candlesticks
        • Funding Rate
        • Interest & funding payments
        • Oracle Price
        • Perp Prices
        • Product Snapshots
        • Market Snapshots
        • Edge Market Snapshots
        • Maker Statistics
        • Merkle Proofs
        • Rewards
        • Referral Code
        • Liquidation Feed
        • Linked Signer Rate Limit
        • Subaccounts
        • Signatures
        • USDC Price
      • Trigger
        • Executes
          • Place Order
          • Cancel Orders
          • Cancel Product Orders
        • Queries
          • List Trigger Orders
      • V2
        • Assets
        • Pairs
        • APR
        • Orderbook
        • Tickers
        • Contracts
        • Trades
        • VRTX Token
      • Rate limits
      • Errors
      • Symbols
      • Depositing
      • Withdrawing (on-chain)
      • Integrate via Smart Contracts
      • Definitions / Formulas
    • Vertex Typescript SDK
      • Getting Started
      • How To
        • Create a Vertex client
        • Useful Common Functions
        • Query Markets & Products
        • Deposit Funds
        • Withdraw Funds
        • Manage Orders
      • User Guide
        • Client
          • Market
            • Place Order
            • Cancel Orders
            • Cancel Product Orders
            • Mint LP
            • Burn LP
            • Get All Markets
            • Get Latest Market Price
            • Get Market Liquidity
            • Get Open Subaccount orders
            • Get Historical Orders
            • Get Max Order Size
            • Get Max Mint LP
            • Get Candlesticks
            • Get Funding Rate
            • Get Product Snapshots
          • Spot
            • Approve Allowance
            • Deposit
            • Withdraw
            • Get Max Withdrawable
            • Get Token Contract for Product
            • Get Token Wallet Balance
            • Get Token Allowance
          • Perp
            • Get prices
          • Subaccount
            • Link Signer
            • Get Subaccount Linked Signer with Rate limits
            • Get Subaccount Summary
            • Get Subaccount Fee Rates
            • Get Subaccount Token Rewards
        • Engine Client
          • Executes
          • Queries
        • Indexer Client
          • Base Queries
          • Paginated Queries
        • Websocket
          • Executes
          • Queries
          • Subscriptions
        • Utilities
          • Contracts
          • Utils
      • API Reference
    • Vertex Python SDK
    • Vertex Rust SDK
    • Contracts
    • API/SDK Terms of Use
Powered by GitBook
On this page
  • Overview
  • Limits
  • Query Weights
  • Archive (indexer) Weights
  • Execute Weights
Export as PDF
  1. Developer Resources
  2. API

Rate limits

Vertex Websocket and REST API Rate limits.

Overview

  • Vertex uses a weight-based rate-limiting system across queries and executes. We limit based on IP address, Wallet address, and a global max # of orders per subaccount per market.

  • These limits equally apply to both http requests and Websocket messages.

  • Limits are applied on a 1 minute and 10 seconds basis.

Limits

  • IP addresses have a max weight limit of 2400 per minute or 400 every 10 seconds across both queries and executes.

  • Wallet addresses have a max weight limit of 600 per minute or 100 every 10 seconds applied only to executes.

  • Users can have up to 500 open orders per subaccount per market.

  • Orders have the following additional limits:

    • Place orders (with spot leverage): up to 600 per minute or 100 every 10 seconds across all markets.

    • Place orders (without spot leverage): up to 30 per minute or 5 every 10 seconds across all markets. Note: orders without spot leverage are 20x more expensive to place due to additional health checks needed.

    • Order cancellations: up to 600 per minute or 100 every 10 seconds.

Query Weights

Queries are rate-limited based on IP. The following weights are applied per query:

Archive (indexer) Weights

  • Archive (indexer) queries are rate-limited based on IP.

  • IP addresses have a max weight limit of 2400 per minute or 400 every 10 seconds.

The following weights are applied per query:

Execute Weights

Executes are rate-limited based on Wallet address. The following weights are applied per execute:

    • With spot leverage: Wallet weight = 1

    • Without spot leverage: Wallet weight = 20

    • When no digests are provided: Wallet weight = 1

    • When digests are provided: Wallet weight = total digests

    • When no productIds are provided: Wallet weight = 50

    • When productIds are provided: Wallet weight = 5 * total productIds

    • With spot leverage: Wallet weight = 10

    • Without spot leverage: Wallet weight = 20

    • With spot leverage: Wallet weight = 10

    • Without spot leverage: Wallet weight = 20

    • Can only perform a max of 5 link signer requests every 7 days per subaccount.

    • Can only transfer to a max of 5 new recipients within 24hrs.

PreviousVRTX TokenNextErrors

Last updated 2 months ago

: IP weight = 1

: IP weight = 1

: IP weight = 2

: IP weight = 1

: IP weight = 2

: IP weight = 10

: IP weight = 2

: IP weight = 1

: IP weight = 2

: IP weight = 5

: IP weight = 5

: IP weight = 1

: IP weight = 5

: IP weight = 5

: IP weight = 50

: IP weight = 2

: IP weight = 5

: IP weight = 2

: IP weight = 2

: IP weight = 2

: IP weight = 1

: IP Weight = 5

: IP Weight = 5

: IP Weight = 2 + limit / 10; where limit is a query param.

: IP Weight = 2 + limit / 10; where limit is a query param.

:IP Weight = 5

: IP Weight = 2 + limit / 10; where limit is a query param.

: IP Weight = (2 + limit / 10) * 2; where limit is a query param.

: IP Weight = 2

: IP Weight = 5

: IP Weight = 2

: IP Weight = 2

: IP Weight = 10

: IP Weight = product_ids * interval.count / 100

: IP weight = interval.count / 20 + max(interval.count.min(20), 2) * 2

: IP Weight = 10

: IP Weight = 2

: IP Weight = 10

: IP Weight = 2

: IP Weight = 2

: IP Weight = 2

: IP Weight = 2 + len(digests) / 10; where digests is a query param.

: IP Weight = 2

: IP Weight = 2

:

: Wallet weight = 5

:

:

:

The sum of + limits

:

: Wallet weight = 20

:

: Wallet weight = 10

: Wallet weight = 50

Wallet weight = 10

Status
Contracts
Nonces
Order
Orders
Subaccount Info
Isolated Positions
Market Liquidity
Symbols
All Products
Edge All Products
Market Prices
Max Order Size
Max Withdrawable
Max LP Mintable
Health Groups
Linked Signer
Insurance
Fee Rates
Assets
Orderbook
Min Deposit Rates
Orders
Matches
Events
Summary
Candlesticks
Edge Candlesticks
Funding Rate
Interest & funding payments
Oracle Price
Perp Prices
Product Snapshots
Market Snapshots
Edge Market Snapshots
Maker Statistics
Merkle Proofs
Rewards
Referral Code
Liquidation Feed
Linked Signer Rate Limit
Signatures
Subaccounts
USDC Price
Place order
Place Isolated Order
Cancel orders
Cancel Product Orders
Cancel And Place
Cancel orders
Place order
Withdraw Collateral
Liquidate Subaccount
Mint LP
Burn LP
Link Signer
Transfer Quote: