{"openapi":"3.1.0","info":{"title":"ReserveWatch public readings","version":"1.0.1","summary":"Public ledger readings for commodity tokens, plus forthcoming XRPL vault-reserve paths.","description":"Machine-readable readings for commodity tokens on XRPL, Solana, and Stellar. Vault reserves paths are documented and return 404 until the XRPL lending amendments are enabled (see /vaults). Free, no API key. Fair use: 120 requests per minute per IP across /api/* and /mcp; over that the API answers 429 with Retry-After. RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset headers are sent on every response. Please cache: readings refresh every few minutes. Cite as: ReserveWatch, the reading date, and the canonical URL. Licences per path: Vault reserves paths (/api/vaults*, /vaults/snapshots/*) and the vault MCP tools are CC BY 4.0 (CC-BY-4.0, https://creativecommons.org/licenses/by/4.0/; notice https://thereservewatch.com/license#vaults-notice) when those paths are served. All other paths are under the ReserveWatch reuse note (https://thereservewatch.com/license#reuse-note). ReserveWatch publishes public ledger readings and links to issuer-published reports. ReserveWatch has not audited any vault. This is not investment, financial, legal, or tax advice.","license":{"name":"ReserveWatch data license","url":"https://thereservewatch.com/license"},"contact":{"name":"ReserveWatch corrections and data questions","url":"https://thereservewatch.com/contact"},"termsOfService":"https://thereservewatch.com/terms"},"externalDocs":{"description":"API and MCP docs with examples","url":"https://thereservewatch.com/developers"},"servers":[{"url":"https://thereservewatch.com"}],"components":{"schemas":{"Vault":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","pattern":"^[0-9A-Fa-f]{64}$"},"account":{"type":"string"},"owner":{"type":"string"},"asset":{"type":"object","additionalProperties":true},"assetsTotal":{"type":["number","null"]},"assetsAvailable":{"type":["number","null"]},"deployed":{"type":["number","null"]},"utilizationPct":{"type":["number","null"]},"assetsMaximum":{"type":["number","null"]},"kind":{"type":"string","enum":["open-ended","closed-ended"]},"phase":{"type":"string","enum":["No phase","Subscription","Investment","Redemption"],"description":"Closed-ended phase from SubscriptionDate and RedemptionDate (XLS-65.4.4). Open-ended vaults are \"No phase\"."},"subscriptionDate":{"type":["string","null"]},"redemptionDate":{"type":["string","null"]},"private":{"type":"boolean","description":"True when deposits are gated by a permissioned domain (XLS-80). Additive documentation of a field the API already returns."}}},"VaultsMeta":{"type":"object","required":["chain","network","testNetwork","disclaimer"],"properties":{"chain":{"const":"xrpl"},"methodology":{"type":"string"},"readingSha256":{"type":["string","null"]},"network":{"type":"string","enum":["mainnet","testnet","devnet"]},"testNetwork":{"type":"boolean"},"networkLabel":{"type":"string"},"updatedAt":{"type":["string","null"]},"ledgerIndex":{"type":["integer","null"]},"complete":{"type":"boolean"},"disclaimer":{"type":"string"},"license":{"const":"CC-BY-4.0","description":"SPDX id. Vault reserves data is licensed CC BY 4.0."},"licenseUrl":{"const":"https://creativecommons.org/licenses/by/4.0/"},"notice":{"type":"string","description":"No-reliance notice (information, not a condition of use)."}}},"RwaLoan":{"type":"object","additionalProperties":true,"required":["id","status","collateral_asset"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["active","repaid","late","defaulted"]},"base_asset":{"type":"object","additionalProperties":true},"collateral_asset":{"type":"null","description":"Always null. XRPL loans carry no on-ledger collateral."},"outstanding_principal_token":{"type":["number","null"]},"next_payment_due_date":{"type":["string","null"]},"grace_period_end_date":{"type":["string","null"]},"xrpl_status":{"type":"string"},"xrpl_loan_broker_id":{"type":"string"}}},"DailySnapshotEntry":{"type":"object","required":["date","sha256","url"],"properties":{"date":{"type":"string"},"sha256":{"type":"string"},"prevSha256":{"type":["string","null"]},"ledgerIndex":{"type":["integer","null"]},"bytes":{"type":"integer"},"url":{"type":"string"},"signatureUrl":{"type":"string","description":"URL of the detached Ed25519 .sig, when a signature has been published. Additive."}}}}},"paths":{"/api/vaults":{"get":{"operationId":"listVaultReserves","tags":["Vault reserves"],"summary":"All XRPL lending vault readings","description":"Vaults (XLS-65), loan brokers and loans (XLS-66), amendment status and recent credit events. These paths return 404 until the XRPL lending amendments are enabled and VAULTS_NETWORK is set; see /vaults for amendment status. Ledger facts, not a default prediction or a safety rating. Informational only, not investment advice. Amounts in different assets are never added together. Loans carry no on-ledger collateral; first-loss cover is held by the broker.","responses":{"200":{"description":"Current reading.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/VaultsMeta"},{"type":"object","additionalProperties":true,"properties":{"amendments":{"type":"array","items":{"type":"object","additionalProperties":true}},"vaults":{"type":"array","items":{"$ref":"#/components/schemas/Vault"}},"brokers":{"type":"array","items":{"type":"object","additionalProperties":true}},"loans":{"type":"array","items":{"type":"object","additionalProperties":true}},"events":{"type":"array","items":{"type":"object","additionalProperties":true}}}}]}}}},"404":{"description":"Vault reserves are not enabled on this server yet.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/api/vaults/xrpl/{vaultId}":{"get":{"operationId":"getVault","tags":["Vault reserves"],"summary":"One vault with its brokers and loans","parameters":[{"name":"vaultId","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9A-Fa-f]{64}$"}}],"responses":{"200":{"description":"One vault.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/VaultsMeta"},{"type":"object","additionalProperties":true,"properties":{"vault":{"$ref":"#/components/schemas/Vault"},"brokers":{"type":"array","items":{"type":"object","additionalProperties":true}},"loans":{"type":"array","items":{"type":"object","additionalProperties":true}},"loansRwa":{"type":"array","items":{"$ref":"#/components/schemas/RwaLoan"}}}}]}}}},"404":{"description":"Vault reserves are not enabled, or unknown vault id.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/api/vaults/xrpl/broker/{brokerId}":{"get":{"operationId":"getLoanBroker","tags":["Vault reserves"],"summary":"One loan broker with cover, loans and events","parameters":[{"name":"brokerId","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9A-Fa-f]{64}$"}}],"responses":{"200":{"description":"One loan broker.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/VaultsMeta"},{"type":"object","additionalProperties":true,"properties":{"broker":{"type":"object","additionalProperties":true},"loans":{"type":"array","items":{"type":"object","additionalProperties":true}},"loansRwa":{"type":"array","items":{"$ref":"#/components/schemas/RwaLoan"}},"events":{"type":"array","items":{"type":"object","additionalProperties":true}}}}]}}}},"404":{"description":"Unknown broker id.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/api/vaults/v1/loans":{"get":{"operationId":"listLoans","tags":["Vault reserves"],"summary":"Loans in rwa.xyz-aligned fields","description":"Field names follow the rwa.xyz loan schema. Fields XLS-66 does not carry are null, never 0. collateral_asset is always null: XRPL loans carry no on-ledger collateral. These paths return 404 until the XRPL lending amendments are enabled and VAULTS_NETWORK is set; see /vaults for amendment status.","parameters":[{"name":"broker","in":"query","required":false,"schema":{"type":"string","pattern":"^[0-9A-Fa-f]{64}$"},"description":"Only loans of this LoanBroker."},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["active","late","pastgrace","impaired","defaulted","repaid"]}}],"responses":{"200":{"description":"Loans.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/VaultsMeta"},{"type":"object","additionalProperties":true,"properties":{"schema":{"type":"string"},"loans":{"type":"array","items":{"$ref":"#/components/schemas/RwaLoan"}}}}]}}}},"404":{"description":"Vault reserves are not enabled on this server yet.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/api/vaults/v1/calendar":{"get":{"operationId":"paymentCalendar","tags":["Vault reserves"],"summary":"Scheduled loan payments, next 90 days","description":"From NextPaymentDueDate + PaymentInterval × n while payments remain. A schedule, not a prediction that payments will be made. Buckets are per asset; different assets are never added together.","responses":{"200":{"description":"Payment calendar.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/VaultsMeta"},{"type":"object","additionalProperties":true,"properties":{"generatedAt":{"type":"string"},"horizonDays":{"type":"integer"},"note":{"type":"string"},"buckets":{"type":"array","items":{"type":"object","additionalProperties":true}},"payments":{"type":"array","items":{"type":"object","additionalProperties":true}}}}]}}}},"404":{"description":"Vault reserves are not enabled on this server yet.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/api/vaults/v1/snapshots":{"get":{"operationId":"listVaultSnapshots","tags":["Vault reserves"],"summary":"Index of daily hashed snapshots","description":"Each entry has the permalink, the SHA-256 of the exact bytes served, and the previous day's SHA-256 (a hash chain).","responses":{"200":{"description":"Snapshot index, newest first.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/VaultsMeta"},{"type":"object","additionalProperties":true,"properties":{"snapshots":{"type":"array","items":{"$ref":"#/components/schemas/DailySnapshotEntry"}}}}]}}}},"404":{"description":"Vault reserves are not enabled on this server yet.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/vaults/snapshots/{date}.json":{"get":{"operationId":"getVaultSnapshot","tags":["Vault reserves"],"summary":"One daily snapshot file (immutable)","description":"Canonical JSON, never rewritten. The X-Content-SHA256 header repeats the hash. Check with: curl -s URL | sha256sum. A detached Ed25519 signature, when published, is at the same URL with .sig appended.","parameters":[{"name":"date","in":"path","required":true,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}],"responses":{"200":{"description":"Snapshot file.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"404":{"description":"Vault reserves are not enabled, or no snapshot for that date.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/vaults/snapshots/{date}.json.sig":{"get":{"operationId":"getVaultSnapshotSignature","tags":["Vault reserves"],"summary":"Detached Ed25519 signature of one daily snapshot","description":"One line of standard Base64 of the 64 raw Ed25519 signature bytes, over the exact snapshot file bytes. Public key: /.well-known/reservewatch-snapshot-key.","parameters":[{"name":"date","in":"path","required":true,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}],"responses":{"200":{"description":"Detached signature (text/plain)."},"404":{"description":"No signature for that date.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/snapshots/{week}.json":{"get":{"operationId":"getWeeklySnapshot","summary":"One weekly commodity-token snapshot (canonical JSON)","description":"Frozen weekly copy of XRPL commodity-token readings. Canonical JSON (sorted keys). A detached Ed25519 signature, when published, is at the same URL with .sig appended. Public key: /.well-known/reservewatch-snapshot-key.","parameters":[{"name":"week","in":"path","required":true,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}],"responses":{"200":{"description":"Weekly snapshot.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"404":{"description":"No weekly snapshot for that date.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/snapshots/{week}.json.sig":{"get":{"operationId":"getWeeklySnapshotSignature","summary":"Detached Ed25519 signature of one weekly snapshot","description":"One line of standard Base64 of the 64 raw Ed25519 signature bytes, over the exact weekly snapshot JSON bytes.","parameters":[{"name":"week","in":"path","required":true,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}],"responses":{"200":{"description":"Detached signature (text/plain)."},"404":{"description":"No signature for that week.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/api/tokens":{"get":{"operationId":"listTokens","summary":"List commodity-token readings","description":"XRPL is the default. ledger=solana, stellar, ethereum, or all selects the other public readings. ledger=ethereum lists PAXG and XAUT on Ethereum on their own (totalSupply, contract-readable issuer controls, and the issuer report facts); ledger=all stays XRPL, Solana and Stellar. status on XRPL rows is the legacy worst raw check, not a rating. marketActivity is that ledger's 7-day volume, with method, source, and asOf. ledger=all returns marketActivity.xrpl, marketActivity.solana, and marketActivity.stellar. Those totals are not added together. Stellar token rows include claimableBalances (count and amount held). A missing read is not measured, not zero.","parameters":[{"name":"ledger","in":"query","required":false,"schema":{"type":"string","enum":["xrpl","solana","stellar","ethereum","all"]}}],"responses":{"200":{"description":"Token readings. Fields vary by ledger. Volumes are per ledger.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"ledger":{"type":"string"},"marketActivity":{"description":"One ledger, or xrpl/solana/stellar when ledger=all. No combined cross-chain total.","type":"object","additionalProperties":true,"properties":{"ledger":{"type":"string","enum":["xrpl","solana","stellar"]},"windowDays":{"type":"integer"},"usdTotal":{"type":["number","null"],"description":"Null when not measured. Not a sum across ledgers."},"volumeUsd":{"type":["number","null"]},"measured":{"type":"boolean"},"method":{"type":"string"},"source":{"type":"string","description":"xrplmeta-exchanges, geckoterminal, or horizon-trade-aggregations."},"asOf":{"type":["string","null"]},"label":{"type":"string","description":"Not measured, Partial: N of M tokens measured, Measured zero, or No market / 0 issued. A partial Solana label is not a summed total."}}},"tokens":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string"},"ledger":{"type":"string"},"marketActivity":{"type":"object","additionalProperties":true},"claimableBalances":{"description":"Stellar classic assets only. Claimable balances lock tokens for a named recipient, optionally with time conditions.","type":"object","additionalProperties":true,"properties":{"explanation":{"type":"string"},"measured":{"type":"boolean"},"count":{"type":["integer","null"]},"amount":{"type":["number","null"]},"label":{"type":"string"},"source":{"type":"string"},"method":{"type":"string"},"asOf":{"type":["string","null"]},"authClawbackEnabled":{"type":"boolean","description":"Present only when the issuer flag was already read."}}}}}}}}}}},"400":{"description":"Unknown ledger query.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"503":{"description":"XRPL snapshot is not loaded yet.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/api/tokens/{id}":{"get":{"operationId":"getToken","summary":"One commodity-token reading","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"One token reading.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"404":{"description":"Unknown token id.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/api/attestations":{"get":{"operationId":"listAttestations","summary":"Issuer attestation registry: report dates, engagement, firm, source PDF hash, next-report date and supply coverage","description":"One entry per tracked token. reserveDate (as of), reportSignedDate, engagementType (as the report states it), independentFirm, sourcePdfUrl and sourcePdfSha256 are separate fields. nextReportExpectedBy = reserveDate + the issuer's stated cadenceDays + reportGraceDays; null when the issuer states no cadence. coverage compares the report's token count for the token's own network with that network's on-chain supply, each with its date; it is never summed across networks and is NOT_MEASURED when either side is missing. reportDate, accountingFirm, officialReportUrl and checkedDate are deprecated aliases. ReserveWatch has not audited any vault.","responses":{"200":{"description":"Attestation registry with computed next-report dates and coverage facts.","content":{"application/json":{"schema":{"type":"object","required":["disclaimer","canonicalUrl","entries"],"properties":{"asOf":{"type":"string"},"registryCheckedDate":{"type":"string"},"checkedDate":{"type":"string","deprecated":true},"disclaimer":{"type":"string"},"canonicalUrl":{"type":"string"},"nextReportRule":{"type":"string"},"reportGraceDays":{"type":"integer"},"coverageRule":{"type":"string"},"correctionsUrl":{"type":"string"},"entries":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"tokenId":{"type":"string"},"issuer":{"type":"string"},"network":{"type":"string","description":"Network of this tracked token, as named in reports."},"reserveDate":{"type":["string","null"],"description":"Reserve \"as of\" date, YYYY-MM-DD."},"reserveAsOfText":{"type":["string","null"]},"reportSignedDate":{"type":["string","null"],"description":"Date the firm signed or issued the report."},"engagementType":{"type":["string","null"],"description":"Engagement type exactly as the report states it."},"engagementStandard":{"type":["string","null"]},"independentFirm":{"type":["string","null"]},"reportPageUrl":{"type":["string","null"]},"sourcePdfUrl":{"type":["string","null"]},"sourcePdfSha256":{"type":["string","null"],"description":"SHA-256 of the PDF bytes on the registry-checked date."},"cadenceDays":{"type":["integer","null"],"description":"Issuer's own stated cadence. Null when none is stated."},"cadenceStatement":{"type":["string","null"]},"cadenceSourceUrl":{"type":["string","null"]},"networkCounts":{"type":["array","null"],"items":{"type":"object","properties":{"network":{"type":"string"},"tokens":{"type":"number"},"basis":{"type":"string"}}}},"reportStatedTotal":{"type":["string","null"],"description":"The report's own all-network figure, quoted. Not computed by ReserveWatch."},"metalStated":{"type":["string","null"]},"barLookupUrl":{"type":["string","null"]},"livePorFeed":{"type":"boolean"},"registryCheckedDate":{"type":"string"},"status":{"type":"string","enum":["WITHIN_STATED_CADENCE","OVERDUE_PER_STATED_CADENCE","NO_STATED_CADENCE","UNPUBLISHED"]},"label":{"type":"string"},"ageDays":{"type":["integer","null"]},"nextReportExpectedBy":{"type":["string","null"]},"overduePerStatedCadence":{"type":["boolean","null"]},"coverage":{"type":"object","properties":{"network":{"type":"string"},"status":{"type":"string","enum":["MEASURED","NOT_MEASURED"]},"reportTokens":{"type":["number","null"]},"reportTokensBasis":{"type":["string","null"]},"reportReserveDate":{"type":["string","null"]},"supplyToday":{"type":["number","null"]},"supplyAsOf":{"type":["string","null"]},"reportCoversPct":{"type":["number","null"],"description":"reportTokens / supplyToday x 100. Not a grade and not a solvency finding."},"label":{"type":"string"}}},"reportDate":{"type":["string","null"],"deprecated":true,"description":"Alias of reserveDate."},"accountingFirm":{"type":["string","null"],"deprecated":true,"description":"Alias of independentFirm."},"officialReportUrl":{"type":["string","null"],"deprecated":true,"description":"Alias of reportPageUrl."},"checkedDate":{"type":"string","deprecated":true,"description":"Alias of registryCheckedDate."}}}}}}}}}}}},"/api/corrections":{"get":{"operationId":"listCorrections","summary":"Dated corrections log","description":"Every correction to a published ReserveWatch figure, date, or name, newest first, with the old value, the new value, and the source.","responses":{"200":{"description":"Corrections log.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"canonicalUrl":{"type":"string"},"corrections":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}}}}},"/api/escrow-readiness":{"get":{"operationId":"escrowReadiness","summary":"XRPL allowTrustLineLocking matrix","description":"Trust line locking (XLS-85) for each tracked XRPL commodity token, plus RLUSD as a reference settlement asset, not a commodity token. A null flag means the account_info read was not available.","responses":{"200":{"description":"Escrow-readiness rows.","content":{"application/json":{"schema":{"type":"object","required":["disclaimer","canonicalUrl","rows"],"properties":{"disclaimer":{"type":"string"},"canonicalUrl":{"type":"string"},"rows":{"type":"array","items":{"type":"object","required":["id","issuer","role","allowTrustLineLocking"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"issuer":{"type":"string"},"role":{"type":"string","enum":["commodity","reference-settlement"]},"allowTrustLineLocking":{"type":["boolean","null"]},"note":{"type":"string"}}}}}}}}}}}},"/api/commodities":{"get":{"operationId":"listCommodities","summary":"Commodity classes and tracked token ids","responses":{"200":{"description":"Commodity classes.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/api/commodities/{slug}":{"get":{"operationId":"getCommodity","summary":"One commodity class","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"One class.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"404":{"description":"Unknown class.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}},"/api/history/{tokenId}":{"get":{"operationId":"tokenHistory","summary":"Stored reading changes for one token","parameters":[{"name":"tokenId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"History.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/api/news":{"get":{"operationId":"news","summary":"News JSON (summaries with source links)","responses":{"200":{"description":"News file.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}}}}},"/healthz":{"get":{"operationId":"healthz","summary":"Process health","description":"200 when the cached XRPL snapshot is fresh enough. 503 while it is missing or old.","responses":{"200":{"description":"Snapshot is fresh.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"updatedAt":{"type":["string","null"]}}}}}},"503":{"description":"Snapshot is missing or old.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}}}}}}}