Native Documentation
  • introduction
    • What is Native
    • About Native V2
    • Benefits for Key Players
  • SOLUTION
    • Native Credit Pool
    • Native Swap Engine
  • CONCEPTS
    • Orderbook
    • Firm Quote Orders
    • Auto Sign Orders
    • Swap Fees
    • Slippage
    • Base and Listed Assets
    • Single-Sided Liquidity Pools
    • Total Available Liquidity
    • Liquidity Pairing
    • Liquidity Bootstrapping
    • Health Ratio
    • Earning Fees and Incentives
    • Credit-Based Swap
      • Collateral Factor
      • PMM Credit
      • Settlement and Liquidation
    • Market-Responsive Pricing
    • Risks
  • USER GUIDE
    • Add Liquidity
    • Pair Liquidity
    • Claim Rewards
    • Swap with Native
  • Build with Native
    • Swap Aggregators
      • Guide
      • FirmQuote Swap APIs
        • GET Orderbook
        • GET Indicative quote
        • GET Firm quote
    • Asset Issuers
      • For Pegged Assets
      • For General Assets
  • Resources
    • Addresses
    • Audits
    • Github
    • System Status
    • Business Source License
    • Media Kit
Powered by GitBook
On this page
  1. Build with Native
  2. Swap Aggregators
  3. FirmQuote Swap APIs

GET Orderbook

PreviousFirmQuote Swap APIsNextGET Indicative quote

Last updated 3 months ago

Get price levels for all supported pair in a chain

get
Query parameters
chainstring ยท enumRequired

Blockchain name, eg: ethereum, arbitrum, ...

Possible values:
Header parameters
apiKeystringRequired

The API key that was assigned to you by Native

Responses
200
Success
application/json
500
There was an exception with the server
get
GET /swap-api-v2/v1/orderbook HTTP/1.1
Host: v2.api.native.org
apiKey: text
Accept: */*
[
  {
    "base_address": "text",
    "quote_address": "text",
    "base_symbol": "text",
    "quote_symbol": "text",
    "levels": [
      "text"
    ],
    "side": "text",
    "minimum_in_base": 1
  }
]