Authentication
All endpoints require the following headers unless otherwise noted:Bearer token (JWT) for end-user authentication. Format:
Bearer YOUR_JWT_TOKENYour Magic secret key for application-level authentication.
Check DEX Requirements
Check whether the authenticated user meets the requirements to initialize a perp DEX venue (e.g., minimum balance, gas availability).cURL
Request Parameters
The DEX venue to check. Values:
extended, hyperliquid, paradex, nado, polymarketResponse Fields
Whether the check completed successfully.
The DEX venue that was checked.
Whether all requirements are satisfied for initialization.
Detailed requirements breakdown (venue-specific).
Human-readable status message.
Initialize DEX
Initialize a perp DEX venue for the authenticated user. This handles venue-specific onboarding flows.cURL
Request Parameters
The DEX venue to initialize. Values:
extended, hyperliquid, paradex, nado, polymarketForce re-initialization even if the venue is already set up.
Response Fields
Whether initialization completed successfully.
The DEX venue that was initialized.
Venue-specific initialization status.
Human-readable status message.
Get DEX Assets
Get perp DEX asset state including balances and transfer rules for a specific venue.cURL
Query Parameters
The DEX venue to query. Values:
extended, hyperliquid, paradex, nado, polymarketResponse Fields
The DEX venue queried.
Whether the venue is initialized for this user.
Token balances and positions on the venue.
null if not initialized.Deposit and withdrawal rules including minimum amounts and fees.
null if not initialized.Error message if the query failed.
null on success.Get DEX Credentials
Get platform-specific API credentials for the authenticated user’s DEX account.cURL
Query Parameters
The DEX venue to query credentials for. Values:
extended, hyperliquid, paradex, nado, polymarketResponse Fields
The DEX venue queried.
Whether the venue is initialized for this user.
Error message if the query failed.
null on success.Additional credential fields are venue-specific and vary by DEX.
Get DEX Transfer History
Get DEX-native transfer history for the authenticated user.cURL
Query Parameters
The DEX venue to query transfer history for. Values:
extended, hyperliquid, paradex, nado, polymarketResponse Fields
The DEX venue queried.
List of transfer records (venue-specific format).
Error message if the query failed.
null on success.