GET /v2/trust-fabric/stats returns a platform-wide aggregate roll-up of the trust-fabric trinity — the count of registered lenders, registered WMS/3PL service providers, registered methodology versions, and on-chain attestations broken out by schema (A/B/C/D). It’s the third-party visualization surface for partner dashboards, agent platform-scale signaling, and freshness probes.
The endpoint is intentionally aggregate-only: no per-row data, no PII, no merchant identifiers, no individual lender names. To resolve a specific entity (lender, methodology, service provider), use the per-id endpoints documented elsewhere in this section.
This endpoint exposes only aggregate counts. To resolve a specific lender or methodology, use the per-id endpoints documented elsewhere in this section.
Request
Response (200)
Field reference
lenders.*
serviceProviders.*
methodologies.*
attestations.*
asOf
Privacy discipline
This endpoint is deliberately scoped to platform-wide aggregates. The following are NOT in the response:- Individual lender names, IDs, or signing wallets
- Merchant identifiers (no
merchantId, no shop slug, no wallet) - Methodology hashes, document URLs, or version strings
- Service provider IDs or display names
- Any per-attestation data (
uid,issuerWallet,subject, payload) - Any PII (no email, no operator names, no admin actor IDs)
/v2/lenders/:lenderId, /v2/methodologies/:lenderId/:hash, /v2/service-provider-routing/recommend, and the per-merchant attestation reads.
When to use
- Partner-facing dashboards showing platform scale — “Droplinked has underwritten N merchants across M lenders” — without exposing the underlying merchant or lender list
- Agent platform-scale signaling — a consumer agent answering “how big is this trust fabric” before deciding to integrate
- Freshness probes —
asOflets a caller confirm the aggregate is computed recently (independent of any per-row read freshness) - Health checks — non-zero counts across all four axes confirm the schema registry, reconciler, and on-chain pipeline are all live
Caching
There’s no server-side cache in v1 — every call hits the live aggregate. Given the aggregate nature of the response (counts only, no per-row data, no high-cardinality dimensions), clients SHOULD cache at a 60s+ TTL to keep partner dashboards responsive without unnecessary load. TheasOf field lets clients display freshness honestly even with stale-while-revalidate strategies.
Curl example
Related
- Trust Fabric overview — the 4-axis architecture this endpoint rolls up
- Lender Registry Lookup — per-
lenderIdprofile read - Methodology Registry Lookup — per-
(lenderId, hash)methodology read - Service-Provider Routing — ranked WMS/3PL recommendations
MCP tool
Consumer agents reach this endpoint via theget_trust_fabric_stats MCP tool (separate PR in droplinked-mcp, in flight) — so ChatGPT / Claude / OpenAI Agents SDK callers can query platform-scale aggregates without prior knowledge of the path scheme.