Api Endpoint

DeFi Capital Flow-Price Gap

First-hand on-chain DeFi TVL and capital inflows/outflows per protocol and asset (not a DefiLlama wrapper): net deposits/withdrawals at fixed prices, read at one fixed daily block (named in each answer), not TVL moved by price. Aave v3, Compound v3, Ethena, ether.fi, Lido, Maple, Morpho Blue, Rocket Pool, Sky, SparkLend, Uniswap v4 (11 protocols, Ethereum). Bitcoin-timestamped; free proof: /verify/index.json. Not investment advice.

Open interactive test console

Offering

Provider
defi-flow.onchainproof.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://defi-flow.onchainproof.workers.dev/v1/inflow/assets
MIME type
application/json
First seen
2026-11-08T18:56:11.642Z
Last seen
Tags
on-chain, DeFi, capital-flow, bitcoin-verified, TVL

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x255C404F9810424dd6C05657C7d5c4374Ac30CA9"
  }
]

Observed health

Status
Healthy
Latest latency
261 ms
Average latency
291 ms
HTTP status
402
Last checked
Reachability
100% over 7 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "description": "null = not measured (never zero); \"n/a\" = no earlier value to compare with. Abridged: key fields of one row; every paid response has all rows and fields - full schema: /schemas/assets.json",
      "properties": {
        "product": {
          "description": "which product this is",
          "const": "assets"
        },
        "as_of": {
          "type": "string"
        },
        "data": {
          "type": "object",
          "properties": {
            "assets": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "protocol": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "token": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "asset_symbol": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "value_usd": {
                    "type": [
                      "number",
                      "string",
                      "null"
                    ],
                    "description": "quantity x price_usd; use this to judge an asset's weight (null if the asset has no reliable price today). To total a protocol, add only rows with in_protocol_total = 1"
                  },
                  "chg_7d_pct": {
                    "type": [
                      "number",
                      "string",
                      "null"
                    ],
                    "description": "quantity change over 7 days, %. Measured, not an error, but from a small base the % can be huge (e.g. thousands of %); look at value_usd for the size"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "required": [
    "type"
  ]
}