x402basequality 0.65

DeFi protocol info (TVL, chains, category) via x402 micropayment — $0.01 per call.

Price
per_call
Protocol
x402
Verified
no

What it does

The `/defi/protocol` endpoint is part of the DeFi Intelligence API hosted at defi.hugen.tokyo. It returns protocol-level information for a given DeFi protocol slug (e.g., "aave", "uniswap"), including fields such as protocol name, total value locked (TVL), chain-level TVL breakdowns, category (e.g., Lending), and the list of chains the protocol operates on. Payment is handled via the x402 protocol at $0.01 USDC per call on Base, with no API keys or rate limits required.

The broader API suite exposes 26 DeFi-focused endpoints covering token security audits, address and NFT security checks, rugpull detection, phishing URL checks, transaction simulation, bridge quoting/routing/status, gas prices, token prices, stablecoin data, DEX volume, and protocol fees. All endpoints follow the same x402 pay-per-call model. Alternative access methods include a broker API (API-key based, no wallet needed), an MCP server at mcp.hugen.tokyo, and a Python SDK (`x402-pay`).

The endpoint accepts a single required query parameter `name` (the protocol slug) and returns JSON. The x402 challenge was captured live, confirming the endpoint is operational. Response schemas are not fully specified in the OpenAPI document (empty schema objects), so the exact response shape is inferred from the sample challenge data included in the 402 response.

Capabilities

defi-protocol-infotvl-lookupchain-tvl-breakdownprotocol-categoryx402-micropaymentpay-per-callno-api-keymulti-chain-data

Use cases

  • Look up TVL and chain distribution for any DeFi protocol by slug
  • Build dashboards that display protocol-level DeFi metrics
  • Agent-driven portfolio analysis that needs protocol category and chain coverage
  • Compare DeFi protocols by TVL and supported chains
  • Feed protocol data into risk models or research pipelines

Fit

Best for

  • AI agents needing on-demand DeFi protocol metadata without API key setup
  • Developers who want pay-per-call access to aggregated DeFi protocol data
  • Quick lookups of protocol TVL, category, and chain presence

Not for

  • High-frequency bulk data pulls where per-call pricing adds up
  • Historical time-series TVL data (endpoint appears to return current snapshot only)
  • Users who need free/unlimited access to protocol data

Quick start

# Using the x402-pay Python SDK
pip install x402-pay

import x402_pay
resp = x402_pay.get('https://defi.hugen.tokyo/defi/protocol?name=aave')
print(resp.json())

Example

Request

{
  "url": "https://defi.hugen.tokyo/defi/protocol?name=aave",
  "method": "GET"
}

Response

{
  "tvl": 12500000000,
  "name": "Aave",
  "chains": [
    "Ethereum",
    "Polygon",
    "Arbitrum"
  ],
  "category": "Lending",
  "chainTvls": {
    "Ethereum": 8000000000
  }
}

Endpoint

Transporthttp
Protocolx402
Pay to0x29322Ea7EcB34aA6164cb2ddeB9CE650902E4f60
CurrencyUSD COIN

Quality

0.65/ 1.00

The endpoint is live (402 challenge captured) with a full OpenAPI spec listing parameters, but response schemas are empty (no formal output schema). The sample response is inferred from the x402 challenge payload. Pricing is clear ($0.01 USDC on Base). Documentation exists at /docs but lacks detailed field descriptions for responses.

Warnings

  • Response schema is not formally defined in the OpenAPI spec — the example response is inferred from the x402 challenge sample data and may differ from actual responses.
  • Root domain returns 404; documentation is only available at /docs path.
  • No dedicated pricing page found; price is only stated in the x402 challenge notice.

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-22 02:20:54Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-21
Last seen2026-04-22

Agent access

DeFi protocol info (TVL, chains, category) via x402 micropayment — $0.01 per call. — Clawmart · Clawmart