Skip to main content
This documentation covers the Limora API for developers building integrations, bots, or custom interfaces.
The API is currently in beta. Endpoints and response formats may change. Join our Discord for updates.

Overview

The Limora API provides programmatic access to:
  • Market data and prices
  • Trade execution
  • Position management
  • Account information
  • Historical data

Base URL

Authentication

Public endpoints (market data) require no authentication. Private endpoints (trading, account) require wallet signature authentication.

Authentication

Wallet Signature Auth

For private endpoints, authenticate using wallet signatures:
1

Request Challenge

Response:
2

Sign Message

Sign the challenge message with your wallet.
3

Submit Signature

Response:
4

Use Token

Include the token in subsequent requests:

Market Data

Get Prices

Get current oracle prices for all supported assets.
Response:

Get Single Price

Example:
Response:

Get Price History

Parameters: Response:

Trading

Get Trading Pairs

Response:

Open Position

Response:

Close Position

Response:

Cancel Pending Trade

Response:

Positions

Get Open Positions

Response:

Get Position by ID

Update Stop-Loss / Take-Profit


Account

Get Balances

Response:

Get Trade History

Parameters: Response:

WebSocket API

Real-time data is available via WebSocket connection.

Connection

Subscribe to Prices

Updates:

Subscribe to Position Updates

Requires authentication first.
Updates:

Rate Limits

Rate limit headers:

Error Handling

Error Response Format

Common Error Codes


SDK

JavaScript/TypeScript

Python


Changelog

v1.0.0 (Beta)

  • Initial API release
  • Market data endpoints
  • Trading endpoints
  • Account endpoints
  • WebSocket support

Support

Need help? Contact our support team.