API reference

Overview

The Path Global API — accounts, routing, liquidity, clearing, settlement, treasury, risk and intelligence on one ledger. Keys, modes, scopes, operators, approvals and errors.

Path Global is an operator on the PATH network. Access to its API is on request at pathglobal.finance.

https://api.pathglobal.finance

Each product is under /<product>; paths carry no number. GET /health answers { status, version, modes }, with version 2026-11-26.genesis. GET /.well-known/path-keys answers the keys that sign quotes, verdicts, receipts, approvals and reports, in the key format of the PATH protocol ({ "keys": [{ "kid", "kty": "OKP", "crv": "Ed25519", "alg": "EdDSA", "use": "sig", "public_key_hex" }] }); GET /.well-known/pathglobal-keys is an alias and answers the same document. Every signed object is a PATH envelope (Verify a signature).

Every balance Path Global holds is an account of one ledger. A route of the router, a clearing period, a treasury transfer and a pool trade each move value by ledger batches, and each payment carries a guarantee level.

Discovery

GET /.well-known/path-configuration answers the discovery document of the host, without an API key, in the format of the protocol (Discovery):

{
  "protocol_versions": ["0.2.0"],
  "protocol_version_latest": "0.2.0",
  "api_versions": [],
  "api_version_latest": null,
  "operator": { "slug": "path-global", "domain": "api.pathglobal.finance", "jurisdiction": null },
  "network": { "slug": "openconnect" },
  "conformance": [],
  "endpoints": { "keys": "https://api.pathglobal.finance/.well-known/path-keys" },
  "hosts": ["api.pathglobal.finance"],
  "capabilities": { "interop_types": [] },
  "reserved": { "liquidity": { "route_field": "declared", "populated": false } }
}

It lists the protocol version of the envelopes Path Global signs and the endpoint of its keys. The host serves no PATH API: api_versions is empty, and conformance is empty, since this version declares no conformance profile. The routes of the Path Global API are not listed.

Keys and modes

A request carries Authorization: Bearer <key>. A key belongs to a credential, a mode and a set of scopes. It may also name the operator who holds it, an instant after which it is not accepted (expires_at), and the address ranges it is accepted from. A revoked or expired key, or a key used outside its ranges, is 401 pathglobal.auth.unauthenticated. Keys stay on your server.

ModeKeyEngines
testa test key (key_test_…)The sandbox: simulated partners, providers, pools and positions
livea live key (key_live_…)Live networks and accounts

Every response carries PathGlobal-Request-Id, Path-Version (the version that served it; not on a 400 pathglobal.core.unsupported_version) and, once the key is read, PathGlobal-Mode. A key whose mode is not available is answered 503 pathglobal.core.mode_unavailable.

Versions

A request pins its API version with Path-Version: 2026-11-26.genesis, a dated release of the genesis train. A request without it is answered in the latest version, with Path-Version-Pinned: false; a pinned request is answered with Path-Version-Pinned: true. A Path-Version that is not a version of the API is 400 pathglobal.core.unsupported_version, with details.latest. /genesis/<product>/… serves the same routes, keys and scopes, for a client whose proxy removes headers. See Versioning.

Scopes

PrefixScopeA route that also needs
/cataloguerouter
/accountsaccounts
/addressesaddresses
/endpointsendpoints
/routerrouter
/decisiondecision
/proofproofrisk: deciding a verdict in review
/liquidityliquiditytreasury: pause, resume and movements of a pool
/clearingclearing
/settlementsettlement
/rampramp
/crosswaycrossway
/toolstools
/connectconnect
/treasurytreasurytreasury_approve: resolving a transfer, a reconciliation break or an inbound item
/riskriskrisk_approve or treasury_approve: deciding an approval, by its action
/intelligenceintelligence
/operationsoperationsrisk: closing a netting set and settling a period

A missing scope is 403 pathglobal.auth.scope_missing.

A key with the treasury scope reads the depths and amounts of liquidity offers as they are; any other key reads them in bands.

Operators

treasury, treasury_approve, risk and risk_approve are operator scopes: the person who calls is a registered operator. The operator routes are every route of /treasury, /risk, /intelligence and /operations, and every route that needs an operator scope. They are available to a key whose agreement includes operator access. In live mode an operator route carries three headers, and the operator carries the scope of the route: the scope of its prefix, and the operator scope the route needs.

HeaderValue
Path-OperatorThe id of the operator
Path-Operator-TimestampThe instant of signing
Path-Operator-SignatureEd25519 signature, in hexadecimal, by the operator's registered key over METHOD\npath?query\nsha256(body)\ntimestamp

path?query is the path and the query of the request, without the /genesis prefix; sha256(body) is the hexadecimal digest of the raw bytes sent, the digest of the empty string for no body. A key that names its operator is used by that operator only. In test mode the operator is the one the key names. A request without a valid operator signature is 403 pathglobal.risk.operator_required.

Changes that wait for a second person

A change that loosens a control, or moves value out of a position, waits for an approval decided by another person: another credential and another operator. The first call answers 202 with { approval }; the call that carries approval applies the change. A treasury transfer executes once approved. An approval applies once, to the change it names, at the version it names. Approvals lists who approves what.

Conventions

Amounts are { "value": "250.00", "asset": "USD" }. value is a decimal string, with at most 20 digits before the point. An amount is computed at the precision of its asset: the ISO 4217 minor units of a currency (2, or 0, 3 or 4 for the currencies ISO 4217 names), or the decimals of a token in the PATH token register (ETH 18, SOL 9, BTC 8, XLM 7, USDC 6). Amounts Path Global computes are rounded at that precision.

Lists are answered in a named key: { "positions": [ … ] }.

Bodies are JSON, up to 256 KB. A body that is not JSON is 400 pathglobal.core.malformed_request. A route that does not exist is 404.

Rate limits. A rate limit applies per client address; past it the answer is 429 with standard RateLimit headers.

Credentials. Keys, signing keys and partner credentials stay server-side; no document or response carries one. Clear account identifiers are not persisted: an account is shown by its mask. An identifier registered for a subject (a phone, an email, a registry id) is passed to the PATH network and not kept: a subject lists its type, never its value.

Register data. A catalogue answer that carries endpoint formats carries register_version, the version of the endpoint-format data set of the PATH register its entries come from, and register_source: register when the data set was read from the register, built_in for the copy built into Path Global. Each format and link carries origin, register or pathglobal; issuable says what Path Global issues.

Idempotency. A POST may carry Idempotency-Key (1 to 255 characters). The key is kept for 24 hours: the same key returns the first response, with PathGlobal-Idempotent-Replay: true; the same key with another body is 409 pathglobal.core.idempotency_conflict; a second request while the first runs is 409 pathglobal.core.idempotency_in_progress and may be sent again. A request holds the key for 300 seconds while it runs; after that, the next request with the same key and body runs. A 5xx answer is not kept. POST /settlement/exchanges is also idempotent per caller and reference.

Test mode only. A route marked test mode answers 404 pathglobal.core.not_found on a live key.

Errors are { "error": { "code", "message", "details", "request_id" } }, with codes pathglobal.<product>.<condition>.

CodeStatusWhen
pathglobal.auth.unauthenticated401No key, or a key that is not accepted
pathglobal.auth.scope_missing403The key does not carry the scope of the route
pathglobal.risk.operator_required403Live mode: the request is not signed by an operator who carries the scope
pathglobal.risk.self_approval403The checker of an approval is its maker, or the decider of a verdict is the credential that asked for it
pathglobal.risk.approval_pending409The change waits for a decision on its approval
pathglobal.risk.approval_invalid409The approval is absent, not approved, outside its validity, already used, or for another change
pathglobal.risk.halted503New work is paused on the platform; the change is not started. Send it again later
pathglobal.ledger.insufficient_position422The account does not hold what the change takes
pathglobal.ledger.limit_exceeded422The change passes a limit of an account or a counter
pathglobal.ledger.account_frozen409The account is frozen or closed
pathglobal.core.conflict409The object changed meanwhile, or the same id was given with other content
pathglobal.core.idempotency_conflict409The Idempotency-Key was used with another body
pathglobal.core.idempotency_in_progress409The first request with this Idempotency-Key still runs
pathglobal.core.malformed_request400The body or a parameter is not valid
pathglobal.core.unsupported_version400Path-Version is not a version of the API; details.latest names the latest
pathglobal.core.not_found404The object does not exist or is not the caller's, or the route is test mode only
pathglobal.core.mode_unavailable503The mode of the key is not available
pathglobal.addresses.membership_unverified409A membership of your own requires a proof of membership, not available in this version
pathglobal.addresses.revoked410A quote or a route names a PATH address that is revoked; details.rotated is false
pathglobal.addresses.moved410A quote or a route names a PATH address its holder replaced. The answer does not name the new address
pathglobal.addresses.registrar_unavailable503The PATH network did not take a write of a subject, an address or an alias. Send the same request again
pathglobal.router.payee_unknown404A quote or a route names a PATH address or an alias that does not resolve
pathglobal.router.payee_unavailable503The member that holds a PATH destination, or the PATH network, did not answer. Send the same request again later
pathglobal.router.terms_unverifiable502What the member that holds a PATH destination published does not verify; details.check names the step
pathglobal.router.instruction_refused409The member that holds a PATH destination refused the payment instruction, or it does not match the route
pathglobal.tools.answer_unverifiable502A signed answer of the PATH network does not verify, or does not answer the question asked

Each product page lists the codes of its routes.

Pages

The Crossway API, /crossway, is documented in the protocol reference.

On this page