Stellar - REST API

REST API endpoints supported on Stellar Mainnet and Stellar Testnet through Tatum RPC Gateway, with base URLs and an example request.

Call Stellar REST endpoints through Tatum RPC Gateway. Append the endpoint path to the network's base URL and send your API key in the x-api-key header. See Authentication.

Base URLs

NetworkBase URL
Stellar Mainnethttps://stellar-mainnet.gateway.tatum.io
Stellar Testnethttps://stellar-testnet.gateway.tatum.io

Example request

curl 'https://stellar-mainnet.gateway.tatum.io/fee_stats' \
  --header 'x-api-key: {YOUR_API_KEY}'

Endpoints

48 endpoints. Parameters and responses are described in the Stellar Horizon API reference.

EndpointDescription
GET /Returns information about the Horizon server and the network it connects to.
GET /accountsLists accounts filtered by signer, asset, liquidity pool or sponsor.
GET /accounts/{account-id}Returns the details of an account.
GET /accounts/{account-id}/data/{key}Returns a single data entry of an account.
GET /accounts/{account-id}/effectsLists the effects of an account.
GET /accounts/{account-id}/offersLists the open offers of an account.
GET /accounts/{account-id}/operationsLists the successful operations of an account.
GET /accounts/{account-id}/paymentsLists the successful payments of an account.
GET /accounts/{account-id}/tradesLists the trades of an account.
GET /accounts/{account-id}/transactionsLists the successful transactions of an account.
GET /assetsLists all assets.
GET /claimable_balancesLists claimable balances.
GET /claimable_balances/{claimable_balance_id}Returns a claimable balance.
GET /claimable_balances/{claimable_balance_id}/operationsLists the successful operations that reference a claimable balance.
GET /claimable_balances/{claimable_balance_id}/transactionsLists the successful transactions that reference a claimable balance.
GET /effectsLists all effects.
GET /fee_statsReturns fee statistics for the last 5 ledgers.
GET /ledgersLists all ledgers.
GET /ledgers/{ledger-id}Returns a ledger.
GET /ledgers/{ledger-id}/effectsLists the effects in a ledger.
GET /ledgers/{ledger-id}/operationsLists the successful operations in a ledger.
GET /ledgers/{ledger-id}/paymentsLists the successful payments in a ledger.
GET /ledgers/{ledger-id}/transactionsLists the successful transactions in a ledger.
GET /liquidity_poolsLists all liquidity pools.
GET /liquidity_pools/{liquidity-pool-id}Returns a liquidity pool.
GET /liquidity_pools/{liquidity-pool-id}/effectsLists the effects that reference a liquidity pool.
GET /liquidity_pools/{liquidity-pool-id}/operationsLists the successful operations that reference a liquidity pool.
GET /liquidity_pools/{liquidity-pool-id}/tradesLists the trades filled by a liquidity pool.
GET /liquidity_pools/{liquidity-pool-id}/transactionsLists the successful transactions that reference a liquidity pool.
GET /offersLists all open offers.
GET /offers/{offer-id}Returns an offer.
GET /offers/{offer-id}/tradesLists the trades of an offer.
GET /operationsLists all successful operations.
GET /operations/{operation-id}Returns an operation.
GET /operations/{operation-id}/effectsLists the effects of an operation.
GET /order_bookReturns the bids and asks of the order book for an asset pair.
GET /paths/strict-receiveLists payment paths that deliver a given amount of the destination asset.
GET /paths/strict-sendLists payment paths for sending a given amount of the source asset.
GET /paymentsLists all successful payments.
GET /trade_aggregationsReturns trade statistics aggregated over time intervals for an asset pair.
GET /tradesLists all trades.
GET /transactionsLists all successful transactions.
GET /transactions/{transaction-id}Returns a transaction.
GET /transactions/{transaction-id}/effectsLists the effects of a transaction.
GET /transactions/{transaction-id}/operationsLists the successful operations of a transaction.
GET /transactions/{transaction-id}/paymentsLists the payments of a transaction.
POST /transactionsSubmits a signed transaction and waits until it is included in a ledger or fails.
POST /transactions_asyncSubmits a signed transaction without waiting for it to be included in a ledger.

The gateway lists its supported endpoints at runtime:

Endpoint unavailable?

If you need an endpoint we don't support yet, contact support.