TriportRPC

stellarHorizonRoot

GEThttps://triport.io/rpc/stellar/horizon

Get Horizon root metadata and resource links.

Stellar mainnetstellar:rpcstellar_read_rpc — 15 / 20 / 100 / 250 RPS (free / basic / pro / business) (default, unmeasured)

Returns Horizon service metadata and HAL links to the available resource collections.

Use it for discovery and compatibility diagnostics. It does not report Soroban RPC health; use the JSON-RPC getHealth method for that layer.

This Horizon surface currently has one measured working operator and is best-effort without an SLA.

Parameters

optional
This operation defines no path or query parameters.

Response

This schema-shaped example uses placeholders where the contract does not provide a measured value:

horizon_versionstring
Horizon software version.
core_versionstring
Connected Stellar Core version.
history_latest_ledgerinteger
Latest ledger ingested by Horizon.
_linksobject
HAL links to resource collections.

Errors

See Stellar errors and the shared error reference.

StatusMeaningWhen it happens
401UnauthorizedThe API key is missing or invalid.
403ForbiddenThe key lacks the required scope or tier.
429Rate limitedThe stellar_read_rpc RPS budget is exceeded.

Examples

JavaScript (fetch)

const response = await fetch("https://triport.io/rpc/stellar/horizon", {
  headers: {
    "Authorization": `Bearer ${process.env.TRIPORT_API_KEY}`,
    "Accept": "application/hal+json",
  },
});
if (!response.ok) throw new Error(`Horizon returned ${response.status}`);
const payload = await response.json();
console.log(payload);

Notes

  • HAL links are passed through as returned by Horizon.
  • The root is metadata, not a transaction-submission endpoint.
  • Related: stellarHorizonGetFeeStats and Soroban getHealth.
  • Horizon is currently served by one measured operator on a best-effort basis without an SLA.
  • This product surface is read-only; transaction submission is unavailable.