LogoLogo
  • Loopring DeFi
  • Getting Started
    • Overview
    • Connecting Your Wallet
    • Depositing Assets
  • Withdrawing Assets
  • Products
    • Dual Investment
      • Covered Gain
      • Auto Reinvest
      • Risks & Considerations
      • Dual Investment FAQ
    • Portal
      • Opening a Position
      • Managing Your Position
      • Collateral Management
      • Margin & Liquidation
      • Advanced Strategies
      • Risks & Considerations
      • Portal FAQ
  • Block Trade
    • How Block Trade Works
    • Trading Options
    • Supported Tokens & Pairs
    • Risks & Considerations
    • Block Trade FAQ
  • Resources
    • API Documentation
      • Base URLs
      • Account Owner Lookup
      • Wallet Type Lookup
      • Token Balances
      • Transaction History
      • Block Trade Orders
      • Portal Operations
      • Postman Collection
  • Change Logs
    • 2025
      • May 22
      • May 19
      • May 15
      • Apr 3
      • Apr 2
      • Mar 3
      • Feb 25
      • Jan 15
    • 2024
      • 25 Dec
Powered by GitBook
On this page
  • Loopring DeFi Postman Collection
  • How to Use This Collection
  • What's Included
  • Environment Variables
  • Setting Up Environment in Postman
  • Pro Tips
Export as PDF
  1. Resources
  2. API Documentation

Postman Collection

PreviousPortal OperationsNext2025

Last updated 1 month ago

Loopring DeFi Postman Collection

Get started quickly with the official Postman collection for Loopring DeFi.

πŸ’‘ This Postman collection includes public API endpoints for Loopring DeFi β€” perfect for testing, exploring, and automating your workflows.


How to Use This Collection

  1. Download the Postman collection file using the link above.

  2. Open Postman on your desktop or browser.

  3. Click Import in the top-left corner.

  4. Drag and drop the .json file or use Upload Files.

  5. The full collection will appear in your sidebar β€” ready to explore!


What's Included

The Loopring DeFi Postman collection includes pre-configured requests to interact with core API endpoints:

  • Token Info – Retrieve a list of supported tokens and their metadata.

  • Account Owner – Query account details using wallet address or account ID.

  • Wallet Type – Determine whether a wallet is a smart wallet or EOA, and the associated network.

  • Token Balances – View Loopring DeFi token balances for a given address.

  • Transactions – Fetch transaction history including deposits, withdrawals, transfers, and staking actions.

  • Dual Investment – Review Dual Investment positions by wallet.

  • Block Trade – Query historical block trade orders.

  • Portal – View leveraged position operations, such as vault opens, borrows, repays, and settlements.

This collection is ideal for exploring both read-only data and authenticated queries across the Loopring DeFi ecosystem.


Environment Variables

The collection uses several environment variables to make testing easier and reusable. Below is a list of variables and their purpose:

Variable
Description

baseUrl

X-API-KEY

Your Loopring API key. Required for authenticated endpoints.

address

The wallet’s public address (e.g., 0xabc123...).

accountId

The Loopring account ID. Can be used in place of address in many calls.

wallet

Alias for address, used in some endpoints.

network

Blockchain network to query (e.g., ethereum, base, taiko).

owner

Alias for account ID in some balance/transaction queries.


Setting Up Environment in Postman

  1. In Postman, go to the Environments tab.

  2. Click + Add to create a new environment (e.g., "Loopring DeFi").

  3. Add the variables listed above, with your personal values.

  4. Click Save, and select the environment from the top-right dropdown in Postman.

This allows all requests to dynamically reference your data using {{variable}} syntax.


Pro Tips

  • Use Postman environments to manage base URLs, wallet addresses, and API keys.

  • Refer to the full Loopring DeFi API Documentation for schema details, parameter descriptions, and examples.

The root API URL. Refer to the page.

Base URLs
9KB
Loopring DeFi.postman_collection.json
Download the Postman collection here.