Postman Collection
Last updated
Last updated
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.
Download the Postman collection file using the link above.
Open Postman on your desktop or browser.
Click Import in the top-left corner.
Drag and drop the .json
file or use Upload Files.
The full collection will appear in your sidebar β ready to explore!
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.
The collection uses several environment variables to make testing easier and reusable. Below is a list of variables and their purpose:
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.
In Postman, go to the Environments tab.
Click + Add to create a new environment (e.g., "Loopring DeFi").
Add the variables listed above, with your personal values.
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.
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.