Skip to main content

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 the blockchain 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 a blockchain 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.

History — Prices & OHLCV Candles

Retrieve historical price series and OHLCV candles for testnet tokens and markets.

Trades Data

Analyze swap activity and on-chain trade execution for Stellar Testnet tokens.

Holders Data

Explore holder distribution and wallet-level token ownership insights on Stellar Testnet.

Wallet APIs

Balances for a G… testnet account are fetched from test Horizon, covering XLM, trustline assets, Soroban token balances, and classic liquidity-pool positions.

Metacore


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.

Getting Started

To integrate Stellar Testnet functionalities with the Mobula API, begin by registering for an API key. All Mobula endpoints require an API key: Apply Here