Stellar Testnet API Overview
Mobula API supports Stellar Testnet. It mirrors Stellar mainnet — same endpoints, same request shapes, same address formats — pointed at the SDF test Horizon and Soroban RPC, so you can build and validate a Stellar integration before switching theblockchain parameter to stellar: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 are identical to mainnet:
native, CODE:ISSUER classic assets, C… Soroban contracts, G… accounts, and lp:<64-hex-pool-id> classic pools. See Stellar → Address formats.
Stellar Testnet is periodically reset by the Stellar Development Foundation. Accounts, assets, and contracts do not survive a reset — treat all testnet data as disposable.
Market & Token Data
Access pricing, liquidity, and token market coverage for Stellar Testnet assets.- Get Token Markets — View active markets and liquidity venues for testnet tokens.
- Get Token Price — Fetch price data for any Stellar Testnet token.
- Get Token Security — Retrieve security and risk indicators for tokens.
History — Prices & OHLCV Candles
Retrieve historical price series and OHLCV candles for testnet tokens and markets.- Get Asset Price History — Track token price performance over time.
- Get Token OHLCV History — Build candlestick charts for testnet assets.
- Get Market OHLCV History — Query OHLCV history at the market level.
Trades Data
Analyze swap activity and on-chain trade execution for Stellar Testnet 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 Testnet.- 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.
Wallet APIs
Balances for aG… testnet account are fetched from test Horizon, covering XLM, trustline assets, Soroban token balances, and classic liquidity-pool positions.
- Get Crypto Holdings — View token balances held by a testnet account. Pass
blockchains=stellar:testnet. - 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.
Metacore
- Universal Search — Search assets by name, symbol, or address.
- Get Metadata — Resolve name, symbol, and decimals for a testnet asset or Soroban token.
- Get All Blockchains — View all supported networks including Stellar Testnet.
Availability Notes
- Swap API — quote and execution routing is not available on Stellar Testnet or Stellar mainnet. Use the Market and Trades endpoints for read-only DEX coverage.
- NFTs — Stellar NFT holdings are not indexed.