{"schema_version":"1.33.0","name":"XR-Flows","provider":"XRPL-Utilities™","description":"ETF AUM and XRPL on-chain flow correlation across twenty-two XRP-exposure funds in four tiers. US spot tier (6 funds): Bitwise XRP, Canary Capital XRPC, Franklin Templeton XRPZ, Grayscale GXRP, 21Shares TOXR, REX-Osprey XRPR. US indirect-basket tier (6 funds, XRP-attributable slice only): Bitwise BITW, Grayscale GDLC, Franklin EZPZ, Hashdex NCIQ, 21Shares TTOP, 21Shares TXBC. European spot tier (6 funds): 21Shares AXRP.SW (SIX), WisdomTree WXRP.DE (Xetra), Bitwise Europe GXRP.DE (Xetra), Virtune VIRXRP.ST (Nasdaq Stockholm), CoinShares XRPL.SW (SIX), Valour XRP SEK (Nordic Growth Market). International spot tier (4 funds): 3iQ XRPQ.TO, Purpose XRPP.TO and Evolve XRP.TO (TSX), Hashdex XRPH11.SA (B3). Funds whose issuer publishes no readable figure are listed with a coverage_pending reason and a null AUM rather than an estimate. Reads daily AUM from each issuer's public dashboard (or a public secondary source where the dashboard is gated) and overlays the XRPL exchange-flow delta from XR-Pulse. The headline view is directional correlation, not causation: ETFs hold XRP through pooled institutional custodians, so individual on-chain wallets cannot be attributed to a specific fund. Three free public views (stats_correlation + stats_launch_impact + stats_cross_border_flow) and one paid per-ETF deep dive (/scan, x402). Hybrid registry: hand-curated entries for the twenty-two named funds + autonomous rule-based promotion for SEC-discovered tickers. The etf_auto_promoter loop runs on a fixed schedule and promotes candidates on a 7-day SEC visibility + name-passes-fund filter + yfinance-metadata criterion, then demotes on SEC delist or yfinance broken. Per-scraper auto-demote on consecutive_failures threshold so a permanently-broken upstream source stops burning request budget.","contact":"hello@xrpl-utilities.com","getting_started":"GET /agents.json once to learn what's tracked. GET /stats/correlation?days=30 for the headline cross-tier ETF + on-chain series. GET /stats/launch-impact for the static per-launch window analysis. GET /stats/cross-border-flow?window_days=30 for the country-pair XRPL settlement edges (labeled-wallet whale Payments where sender + receiver jurisdictions both resolve and differ). POST /scan is paid x402 (~$0.10 USD via XRP or RLUSD); accepts {ticker: <case-insensitive ticker>} and returns a per-ETF deep dive including SEC EDGAR filings, latest scrape with source lineage, and the latest XRPL exchange-flow context. GET /stats/etf-candidates lists auto-discovered tickers (status=unverified) plus tickers already auto-promoted (status=promoted) or excluded (status=dismissed).","location":"Cloud-Native / Global","data_residency":"agnostic","pii":"none","capabilities":{"tracked_etfs":"Operator-curated set of twenty-two XRP-exposure funds across four tiers. US spot tier (asset_class=spot_xrp_etf, 6 funds): XRP (Bitwise), XRPC (Canary Capital), XRPZ (Franklin Templeton), GXRP (Grayscale), TOXR (21Shares), XRPR (REX-Osprey, holds XRP directly and through the CoinShares XRP ETP). US indirect-basket tier (asset_class=indirect_basket_exposure, 6 funds, persist only the XRP-attributable slice not the full basket AUM): BITW (Bitwise 10 Crypto Index, XRP ~4.3%), GDLC (Grayscale CoinDesk Crypto 5, XRP ~4.2%), EZPZ (Franklin Crypto Index, XRP ~5.3%), NCIQ (Hashdex Nasdaq CME Crypto Index, XRP ~5.2%), TTOP (21Shares FTSE Crypto 10, weight pending FTSE methodology fetch), TXBC (21Shares FTSE Crypto 10 ex-Bitcoin, XRP weight structurally higher than TTOP since BTC is removed). European spot tier (asset_class=european_spot_xrp_etp, 6 funds): AXRP.SW (21Shares, SIX), WXRP.DE (WisdomTree, Xetra), GXRP.DE (Bitwise Europe, Xetra), VIRXRP.ST (Virtune, Nasdaq Stockholm), XRPL.SW (CoinShares, SIX), VALOUR-XRP-SEK.ST (Valour, Nordic Growth Market). International spot tier (asset_class=international_spot_xrp_etf, 4 funds): XRPQ.TO (3iQ), XRPP.TO (Purpose), XRP.TO (Evolve) on the TSX, XRPH11.SA (Hashdex) on B3. Non-US figures come from issuer pages; Yahoo's non-USD AUM is not used because it does not match issuer figures. TTOP and TXBC are recent 21Shares launches with status=stubbed until aggregator coverage lands; auto-demote applies to any other ticker that fails 10+ consecutive scrape passes so observability stays honest. For baskets the total fund AUM is derived from live shares-outstanding times intraday price (then multiplied by the curated XRP weight) when the aggregator's headline AUM scalar lags, so the slice tracks daily moves rather than freezing on a stale cached figure. The /stats/correlation response splits etf_total_aum_daily into etf_spot_total_aum_daily and etf_indirect_total_aum_daily so the headline spot signal stays clean. Excluded: futures-only XRP ETFs (no spot XRP balance sheet), equity-crypto-industry funds (e.g. BITQ) that hold crypto companies rather than crypto assets.","correlation_only_framing":"stats_correlation reports a rolling 7-day Pearson coefficient between summed ETF AUM delta and XRPL exchange-flow delta. The framing is deliberate: ETFs settle creations + redemptions off-chain, custody is pooled across multiple institutional clients, and a 'specific ETF wallet' on XRPL does not exist for the issuers we track. Correlation in [0.5, 1.0] reads as 'directionally aligned'; [-0.5, 0.5] as 'noisy'; [-1.0, -0.5] as 'inversely aligned'. Consumers must NOT infer causation.","scrape_strategy":"Per-issuer scrapers fan out across three source paths to reach 100 percent coverage of the tracked US-listed spot XRP ETF set without paid API spend. Direct dashboard scrapes for issuers whose static HTML exposes fund data: Bitwise XRP, Canary XRPC, REX-Osprey XRPR. Yahoo Finance via the yfinance library for SPA-gated issuers whose dashboards are JS-rendered with authenticated XHR: Grayscale GXRP, 21Shares TOXR. Third-party aggregator for issuers gated on both their own dashboard and Yahoo: Franklin XRPZ. The snapshot row's `source` field labels which path produced each reading (direct, yahoo_finance, third_party_aggregator) so consumers can audit lineage. /healthz reports per-scraper freshness via last_success_at + consecutive_failures so silent breakage is visible. Aggregator paths refresh daily after market close so are typically one trading session behind the issuer's own dashboard; that cadence matches the once-per-UTC-day snapshot pattern.","auto_backfill":"Newly-added spot-tier ETFs auto-populate their historical AUM without operator intervention. A background sweep periodically scans the registry for spot tickers with fewer than fourteen days of real AUM history and triggers a per-ticker Yahoo backfill (close-price history multiplied by the latest live shares_outstanding, persisted with source=yahoo_history_backfill and an explicit derivation note). Indirect-basket funds are intentionally excluded because the operator-curated xrp_weight_pct is a point-in-time value and cannot be honestly reconstructed for prior dates; their AUM history accrues forward only. Stubs (TTOP, TXBC) without a live data source stay null. When a per-issuer scraper does not natively expose shares_outstanding (Canary XRPC, Franklin XRPZ at v1.13), the scraper enriches the reading via Yahoo Finance's sharesOutstanding so backfill eligibility is restored.","launch_impact_methodology":"For each ETF launch date L, summarise XRPL exchange-flow delta + DEX volume across [L-30, L) and [L, L+30]. The post/pre ratio is the 'launch impact' headline. Static analysis; recomputed on demand, not polled. Returns the launch metadata; the on-chain window analysis fills as Pulse /stats/exchange-flow-delta accrues enough history to span each window.","auto_promotion_methodology":"Hybrid registry. Two paths land an ETF in the live tracked set. (1) Hand-curated entries carry full metadata (expense_ratio, source_url, caveat, xrp_weight_pct) and use per-issuer scrapers. (2) The etf_auto_promoter background loop runs on a fixed schedule and promotes SEC-discovered candidates on five criteria all-must-pass: candidate visible 7+ days in SEC company_tickers_exchange, candidate status=unverified (operator has not dismissed), SEC name contains one of ETF/ETP/Trust/Fund/Shares, name carries an XRP-exposure signal (literal 'xrp' OR a multi-asset basket-index pattern like 'Crypto Index'/'Crypto 5'/'Crypto 10'/'Digital Asset Index' so BITW-style baskets qualify but pure BTC/ETH funds reject), and yfinance returns non-empty metadata for the ticker. Auto-promoted rows persist in etf_auto_promoted; etf_registry.merged_registry() unions them with the hand-curated set at runtime; the scraper falls back to the generic _yahoo_finance_reading path for autonomous tickers. Demotion fires on SEC index not listing the ticker for 14+ days OR yfinance returning no metadata for 7+ consecutive passes. Newly-promoted basket funds default to asset_class=indirect_basket_exposure with xrp_weight_pct=0 and xrp_weight_as_of=pending_methodology_verification, surfaced in pending_coverage() (same honest pattern as TTOP/TXBC).","cross_border_methodology":"stats_cross_border_flow surfaces XRPL institutional cross-border settlement edges derived from labeled-wallet whale Payments. A Payment counts as one cross-border edge when BOTH sender and receiver XRPScan well-known labels resolve to operator-curated jurisdictions in the wallet_jurisdiction map AND the assigned ISO countries differ. USD valuation uses Pulse's whale_xrpl event usd_value (XRP at ledger-close spot, RLUSD at $1.00). Response carries per-country inbound/outbound/net USD, top corridors origin->destination sorted by USD, and a coverage block (whale_events_seen, both_sides_labeled, cross_border_events, plus labeled and cross-border percentages). The map seed covers 18 ISO countries across 47 XRPScan labels (exchanges, custodians, issuers); coverage is honest about its labeled-only scope and excludes retail wallets by construction. Cross-border edges are derived from Pulse event data on a fixed schedule and persisted per country-pair; an idempotent cursor survives restarts. Not a causation claim; the country shading is directional institutional flow only.","outputs":["etf_registry_merged_hardcoded_and_auto_promoted","etf_auto_promotion_log","etf_auto_promoter_last_pass_summary","etf_registry","etf_aum_daily","etf_aum_delta_daily","etf_european_total_aum_daily","etf_international_total_aum_daily","headline_aum_series_pointer_naming_spot_only_as_primary","pending_coverage_array_stub_tickers_with_reason","chain_flow_daily","moex_index_daily_history_and_snapshot","moex_xrp_futures_contracts_alongside_snapshot","rolling_pearson_correlation","launch_window_metadata","cross_border_per_country_in_out_net","cross_border_top_corridors_origin_dest","cross_border_coverage_labeled_pct","schema_version","fetched_at"],"not_provided":["etf_wallet_attribution_on_xrpl","causation_claims","nav_oracle","xrp_price_feed","intra_day_etf_aum","aml_or_sanction_screening"]},"payment":{"spec":"x402","x402_version":2,"scheme":"exact","network":"xrpl:0","facilitator_url":"https://xrpl-facilitator-mainnet.t54.ai","amount_usd":"0.10","amount_drops_xrp_cold_oracle_fallback":70500,"amount_drops_pricing_note":"Per-call drops are computed at request time from a cached XRP/USD oracle (sourced from XR-Telemetry's healthz). The fallback 70,500 drops corresponds to ~$0.10 USD at $1.42/XRP and is only used when the oracle is unreachable on a cold cache. Reading the live drops amount is done by issuing a 402-challenged request to /scan and inspecting accepts[].amount; /stats also surfaces config.scan_price_drops_live + config.xrp_usd_oracle for non-paid visibility.","currencies_accepted":["XRP","RLUSD","USDC"],"rlusd":{"amount":"0.10","issuer":"rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De","currency_hex":"524C555344000000000000000000000000000000"},"auth_header":"PAYMENT-SIGNATURE","settlement_header":"PAYMENT-RESPONSE","verify_before_settle":true,"recipient_resolution":"shared_with_xr_sentinel","recipient_resolution_note":"The treasury wallet that receives x402 receipts is the same wallet XR-Sentinel uses, mirroring the Vault/Telemetry pattern. Per-service accounting via destination tags is queued as a portfolio-wide follow-up.","refund_policy":"Verify-before-settle. If the upstream scrape fails after the buyer's payment is verified, settlement is skipped and the presigned tx is never broadcast. Successful payloads are paid; no refunds otherwise. The t54 tefPAST_SEQ recovery probe is in place so settle-misreports on txs that actually landed are recovered rather than charging the buyer twice.","scan_input":"{ticker: <ETF ticker, case-insensitive>}. Accepts XRP, XRPC, XRPZ, GXRP, TOXR, XRPR. 404 when the ticker is not in the operator-curated registry.","scan_output":"Per-ETF deep dive: registry block (listing_exchange, launch_date, expense_ratio, source_url, asset_class, registry_caveat), latest_reading (current AUM + xrp_held + nav + source lineage), sec_filings (CIK + recent regulatory filings from SEC EDGAR with form, filing_date, period_of_report, accession_number, primary_document, edgar_url; null block when the ticker's CIK is not yet operator-mapped; edgar_reachable is false and filing_count is null -- never 0 -- when SEC EDGAR could not be read on this pass, so an unreadable source is never presented as a fund that has filed nothing), history (full daily snapshot series with per-day AUM, source, status), chain_flow_today (latest XRPL exchange-flow delta row from XR-Pulse), served_at_utc + served_via fields, and latest_reading_not_persisted (null in the normal case; the reason string when the reading failed the indirect-basket units contract and was withheld from the stored daily series). Real-time freshness on the latest_reading; inline re-scrape is fired before the response is built so the buyer always gets current-as-of-call data.","rails":[{"network":"xrpl:0","currency":"XRP","amount_usd":"0.10","note":"XRP amount is dynamic - equivalent to $0.10 USD at current spot."},{"network":"xrpl:0","currency":"RLUSD","amount":"0.10","issuer":"rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De","currency_hex":"524C555344000000000000000000000000000000"},{"network":"eip155:8453","currency":"USDC","recipient":"0xa9c371e166229AAaA4C3999FB8a203e43c7329F8","amount_atomic":"100000","decimals":6,"contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","note":"USDC-on-Base settled via the Coinbase x402 facilitator. Same $0.10 price as the XRPL rails."}],"data_routes":{"amount_usd":"0.01","applies_to":["/stats/correlation","/stats/cross-border-flow","/stats/etf-candidates","/stats/etf-flow-summary","/stats/launch-impact"],"rails":["RLUSD on XRPL","XRP on XRPL","USDC on Base"],"method":"GET with x402 PAYMENT-SIGNATURE; an unpaid call returns the 402 offer","charged_only_on_success":true,"free_access":"The same data is free to read on xrpl-utilities.com."}},"mcp_capability":{"hosted_endpoint":"https://mcp.xrpl-utilities.io","stdio_command":"npx -y @xrpl-utilities/mcp","npm_package":"@xrpl-utilities/mcp","github_repo":"https://github.com/XRPL-Utilities/xrpl-utilities-mcp","tools":["xrpl_flows_scan","xrpl_flows_correlation","xrpl_flows_launch_impact"],"note":"Same read endpoints are also exposed as MCP tools for AI clients (Claude Desktop, Cursor, anything Model Context Protocol-aware). Stateless passthrough - the MCP server forwards the caller's own x402 payment header to the backend; no billing aggregation."},"destination_tag_partition":{"scheme":"32-bit XRPL DestinationTag; top 8 bits encode the service that minted the tag.","service_prefix_hex":"0x06","service_prefix_int":6,"tag_range_inclusive":[100663296,117440511],"tag_range_hex":["0x06000000","0x06ffffff"],"decoder_pseudocode":"service_id = (destination_tag >> 24) & 0xFF","portfolio_prefix_map":{"0x01":"Sentinel","0x02":"Pulse (reserved, not yet minting tags)","0x03":"Telemetry","0x04":"Trust (reserved, not yet minting tags)","0x05":"Vault (reserved, not yet minting tags)","0x06":"Flows (reserved, not yet minting tags)"},"note":"Reserved-only for Flows today. Flows' paid surface (/scan, /stats/correlation, /stats/launch-impact) settles via x402 inline-payment with invoiceId in the payment payload, not via DestinationTag. The prefix is declared here so operators can reconcile incoming Payments at the shared treasury wallet by service, and so future invoice-flow tags from Flows stay within its reserved range."},"endpoints":{"base_url":"https://flows.xrpl-utilities.io","correlation":"/stats/correlation","launch_impact":"/stats/launch-impact","cross_border_flow":"/stats/cross-border-flow","etf_flow_summary":"/stats/etf-flow-summary","etf_candidates":"/stats/etf-candidates?status=<status>","scan":"/scan","schema":"/schema","manifest":"/agents.json","health":"/healthz","stats":"/stats","tos":"/tos","docs":"/docs","openapi":"/openapi.json","uptime":"/uptime?days=30"},"rate_limits":{"requests_per_minute":30},"legal":{"notice":"Off-chain ETF data from issuer dashboards + on-chain XRPL data from XR-Pulse. Correlation only, never causation. ETF AUM is reported by issuers, not on-chain attested. DYOR. Not investment, legal, or regulatory advice.","user_responsibility":"XRPL-Utilities provides on-chain measurement and ETF AUM reporting. We do not provide financial advice, NAV oracles, or attribution of XRPL wallets to specific ETFs. Users are responsible for ensuring their use of this data complies with local digital asset and AI regulations, including the California Digital Financial Assets Law and the Colorado AI Act where applicable. This service is offered void where prohibited; use is not authorized in California or Colorado."}}