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
| Network | Base URL |
|---|---|
| Stellar Mainnet | https://stellar-mainnet.gateway.tatum.io |
| Stellar Testnet | https://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.
| Endpoint | Description |
|---|---|
GET / | Returns information about the Horizon server and the network it connects to. |
GET /accounts | Lists 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}/effects | Lists the effects of an account. |
GET /accounts/{account-id}/offers | Lists the open offers of an account. |
GET /accounts/{account-id}/operations | Lists the successful operations of an account. |
GET /accounts/{account-id}/payments | Lists the successful payments of an account. |
GET /accounts/{account-id}/trades | Lists the trades of an account. |
GET /accounts/{account-id}/transactions | Lists the successful transactions of an account. |
GET /assets | Lists all assets. |
GET /claimable_balances | Lists claimable balances. |
GET /claimable_balances/{claimable_balance_id} | Returns a claimable balance. |
GET /claimable_balances/{claimable_balance_id}/operations | Lists the successful operations that reference a claimable balance. |
GET /claimable_balances/{claimable_balance_id}/transactions | Lists the successful transactions that reference a claimable balance. |
GET /effects | Lists all effects. |
GET /fee_stats | Returns fee statistics for the last 5 ledgers. |
GET /ledgers | Lists all ledgers. |
GET /ledgers/{ledger-id} | Returns a ledger. |
GET /ledgers/{ledger-id}/effects | Lists the effects in a ledger. |
GET /ledgers/{ledger-id}/operations | Lists the successful operations in a ledger. |
GET /ledgers/{ledger-id}/payments | Lists the successful payments in a ledger. |
GET /ledgers/{ledger-id}/transactions | Lists the successful transactions in a ledger. |
GET /liquidity_pools | Lists all liquidity pools. |
GET /liquidity_pools/{liquidity-pool-id} | Returns a liquidity pool. |
GET /liquidity_pools/{liquidity-pool-id}/effects | Lists the effects that reference a liquidity pool. |
GET /liquidity_pools/{liquidity-pool-id}/operations | Lists the successful operations that reference a liquidity pool. |
GET /liquidity_pools/{liquidity-pool-id}/trades | Lists the trades filled by a liquidity pool. |
GET /liquidity_pools/{liquidity-pool-id}/transactions | Lists the successful transactions that reference a liquidity pool. |
GET /offers | Lists all open offers. |
GET /offers/{offer-id} | Returns an offer. |
GET /offers/{offer-id}/trades | Lists the trades of an offer. |
GET /operations | Lists all successful operations. |
GET /operations/{operation-id} | Returns an operation. |
GET /operations/{operation-id}/effects | Lists the effects of an operation. |
GET /order_book | Returns the bids and asks of the order book for an asset pair. |
GET /paths/strict-receive | Lists payment paths that deliver a given amount of the destination asset. |
GET /paths/strict-send | Lists payment paths for sending a given amount of the source asset. |
GET /payments | Lists all successful payments. |
GET /trade_aggregations | Returns trade statistics aggregated over time intervals for an asset pair. |
GET /trades | Lists all trades. |
GET /transactions | Lists all successful transactions. |
GET /transactions/{transaction-id} | Returns a transaction. |
GET /transactions/{transaction-id}/effects | Lists the effects of a transaction. |
GET /transactions/{transaction-id}/operations | Lists the successful operations of a transaction. |
GET /transactions/{transaction-id}/payments | Lists the payments of a transaction. |
POST /transactions | Submits a signed transaction and waits until it is included in a ledger or fails. |
POST /transactions_async | Submits 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.