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.financeEach 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.
| Mode | Key | Engines |
|---|---|---|
test | a test key (key_test_…) | The sandbox: simulated partners, providers, pools and positions |
live | a 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
| Prefix | Scope | A route that also needs |
|---|---|---|
/catalogue | router | |
/accounts | accounts | |
/addresses | addresses | |
/endpoints | endpoints | |
/router | router | |
/decision | decision | |
/proof | proof | risk: deciding a verdict in review |
/liquidity | liquidity | treasury: pause, resume and movements of a pool |
/clearing | clearing | |
/settlement | settlement | |
/ramp | ramp | |
/crossway | crossway | |
/tools | tools | |
/connect | connect | |
/treasury | treasury | treasury_approve: resolving a transfer, a reconciliation break or an inbound item |
/risk | risk | risk_approve or treasury_approve: deciding an approval, by its action |
/intelligence | intelligence | |
/operations | operations | risk: 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.
| Header | Value |
|---|---|
Path-Operator | The id of the operator |
Path-Operator-Timestamp | The instant of signing |
Path-Operator-Signature | Ed25519 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>.
| Code | Status | When |
|---|---|---|
pathglobal.auth.unauthenticated | 401 | No key, or a key that is not accepted |
pathglobal.auth.scope_missing | 403 | The key does not carry the scope of the route |
pathglobal.risk.operator_required | 403 | Live mode: the request is not signed by an operator who carries the scope |
pathglobal.risk.self_approval | 403 | The checker of an approval is its maker, or the decider of a verdict is the credential that asked for it |
pathglobal.risk.approval_pending | 409 | The change waits for a decision on its approval |
pathglobal.risk.approval_invalid | 409 | The approval is absent, not approved, outside its validity, already used, or for another change |
pathglobal.risk.halted | 503 | New work is paused on the platform; the change is not started. Send it again later |
pathglobal.ledger.insufficient_position | 422 | The account does not hold what the change takes |
pathglobal.ledger.limit_exceeded | 422 | The change passes a limit of an account or a counter |
pathglobal.ledger.account_frozen | 409 | The account is frozen or closed |
pathglobal.core.conflict | 409 | The object changed meanwhile, or the same id was given with other content |
pathglobal.core.idempotency_conflict | 409 | The Idempotency-Key was used with another body |
pathglobal.core.idempotency_in_progress | 409 | The first request with this Idempotency-Key still runs |
pathglobal.core.malformed_request | 400 | The body or a parameter is not valid |
pathglobal.core.unsupported_version | 400 | Path-Version is not a version of the API; details.latest names the latest |
pathglobal.core.not_found | 404 | The object does not exist or is not the caller's, or the route is test mode only |
pathglobal.core.mode_unavailable | 503 | The mode of the key is not available |
pathglobal.addresses.membership_unverified | 409 | A membership of your own requires a proof of membership, not available in this version |
pathglobal.addresses.revoked | 410 | A quote or a route names a PATH address that is revoked; details.rotated is false |
pathglobal.addresses.moved | 410 | A quote or a route names a PATH address its holder replaced. The answer does not name the new address |
pathglobal.addresses.registrar_unavailable | 503 | The PATH network did not take a write of a subject, an address or an alias. Send the same request again |
pathglobal.router.payee_unknown | 404 | A quote or a route names a PATH address or an alias that does not resolve |
pathglobal.router.payee_unavailable | 503 | The member that holds a PATH destination, or the PATH network, did not answer. Send the same request again later |
pathglobal.router.terms_unverifiable | 502 | What the member that holds a PATH destination published does not verify; details.check names the step |
pathglobal.router.instruction_refused | 409 | The member that holds a PATH destination refused the payment instruction, or it does not match the route |
pathglobal.tools.answer_unverifiable | 502 | A 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
Guarantee levels
What each of the five levels states, per pair of network kinds.
Open →Ledger
Accounts, holds and entries, and what a client reads of them.
Open →Approvals
Maker, checker, scopes, and who approves what.
Open →Calendars
Opening hours, cut-offs, holidays, value dates, recall and dispute windows.
Open →Sandbox
Test mode: scripted outcomes, funding, the accounts it starts with.
Open →Accounts
Omni Accounts and their holdings.
Open →Addresses
Membership, subjects, aliases and PATH addresses.
Open →Endpoints
Endpoints on networks, anchors and deposits.
Open →Router and decision
The catalogue, quotes, routes, payment to a PATH address, and route decisions.
Open →Proof
Checks and signed verdicts.
Open →Liquidity
Providers, pools, offers, paths and depth.
Open →Clearing
Obligations, positions, netting sets and periods.
Open →Settlement
SETTLs, receipts, executions and exchanges.
Open →Ramp
Ramp providers and sessions.
Open →Connect
Linked instruments, connections and delegations.
Open →Path Tools
PATH protocol operations, called through Path Global.
Open →Treasury
Positions, transfers, fundings, reconciliation, refuel cycles, the ledger.
Open →Risk
Corridors, limits, breakers, approvals, operators, cases.
Open →Intelligence
Forecasts, corridor health, the state reading, advice and its bounds.
Open →Operations
Network calendars and capabilities, closing a set, sandbox scripts.
Open →The Crossway API, /crossway, is documented in the protocol reference.