Stellar API Overview
Mobula API supports Stellar. Our API integration provides access to Stellar’s distinctive features for various application needs, including real-time token data, wallet analytics, trading activity, and historical performance tracking. Stellar coverage spans both classic assets (SDEX order book and classic AMM liquidity pools) and Soroban smart contracts, with DEX indexing for Stellar Classic AMM, Soroswap, and Aquarius (constant-product, stable, and concentrated pools).Chain Identifiers
Use these values wherever an endpoint accepts ablockchain parameter.
Address formats
Stellar does not use EVM-style hex addresses. Mobula accepts and returns the canonical Stellar forms:- Native asset —
native(XLM). - Classic asset —
CODE:ISSUER, e.g.USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN. - Soroban contract / SAC —
C…strkey (56 chars), e.g.CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA. - Account (wallet) —
G…strkey (56 chars). - Classic liquidity pool —
lp:<64-hex-pool-id>.
CODE-ISSUER (hyphen) form used by some data providers is normalized to CODE:ISSUER on input.
Market & Token Data
Access real-time pricing, liquidity, and token market coverage for Stellar assets.- Get Token Markets — View active markets and liquidity venues for Stellar tokens.
- Get Token Price — Fetch real-time price data for any Stellar token.
- Get Token Security — Retrieve security and risk indicators for tokens.
History — Prices & OHLCV Candles
Retrieve historical price series and OHLCV candles for Stellar tokens and markets.- Get Asset Price History — Track token price performance over time.
- Get Token OHLCV History — Build candlestick charts for Stellar assets.
- Get Market OHLCV History — Query OHLCV history at the market level.
Trades Data
Analyze swap activity and on-chain trade execution for Stellar tokens.- Get Token Trades — Retrieve recent trades for a token.
- Get Pair Trades — Fetch trades for a specific trading pair.
- Get Token Trade by Transaction — Inspect trade details by transaction hash.
Holders Data
Explore holder distribution and wallet-level token ownership insights on Stellar.- Get Token Holder Positions — Retrieve wallet-level holder positions and token distribution.
- Get Top Token Trader Positions — Identify the most active traders for a token.
Pulse API
Monitor trending tokens and ecosystem activity across Stellar and other chains.- Get Pulse — GET Method — Fetch trending token and market signals.
- Get Pulse — POST Method — Run more advanced Pulse queries via POST.
Wallet APIs
Power wallet explorers, portfolio dashboards, and trader analytics for Stellar users. Balances are read from Horizon, so trustlines, Soroban token balances, and classic liquidity-pool positions are all reflected.- Get Crypto Holdings — View token balances held by a
G…account. - Get Wallet Activity — Retrieve transfers, swaps, and vault activity in one feed.
- Get Wallet Trades — Fetch swap trade history executed by a wallet.
- Get Wallet Positions with PnL — Analyze holdings with profit/loss metrics.
- Get Historical Net Worth — Track wallet net worth over time.
- Get Wallet Trading Analysis — Advanced wallet performance metrics (PnL, win rate, labels).
Metacore
Access enriched metadata, search, categories, and blockchain-wide discovery tools.- Get All Cryptocurrencies — List all supported tokens, including Stellar assets.
- Universal Search — Search assets by name, symbol, or address.
- Get Metadata — Fetch detailed token metadata and identifiers.
- Get All Blockchains — View all supported networks including Stellar.
Webhook
Build real-time Stellar monitoring systems using webhook subscriptions.- Get Webhook Subscription — View active webhook subscriptions.
- Delete Webhook Subscription — Remove an existing webhook listener.
Availability Notes
- Swap API — quote and execution routing is not available on Stellar. Use the Market and Trades endpoints for read-only DEX coverage.
- NFTs — Stellar NFT holdings are not indexed.