Skip to content
onelayer.
All tools

Tool detail

search

Looks up a specific on-chain asset or protocol node by address or name, with optional risk-grade, label, and TVL filters.

Categories: Crypto risk

Use when

  • look up a DeFi protocol or asset's risk grade by name or address
  • find a specific pool or asset node and its TVL
  • filter a node search by risk grade or type (Pool, Asset, Protocol, Chain)

Not for

  • not a browse-all endpoint; empty or wildcard queries are rejected

Inputs

GET query params: q (string, required); grade, label, limit (int 1-10, default 10), tvl (optional)

Admitted input schema

{
  "type": "object",
  "properties": {
    "grade": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Optional grade comparator over A–F, e.g. \"A\", \"<=B\", \">=C\"."
    },
    "label": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Optional PascalCase label filter (e.g. \"Pool\", \"Asset\", \"Protocol\", \"Chain\")."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "description": "Max nodes to return; hard-capped at 10 (default 10)."
    },
    "q": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Asset address or protocol/asset name. Targeted lookup only — empty and wildcard (`*`, `%`) queries are rejected."
    },
    "tvl": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Optional TVL comparator filter, e.g. \">1000000\" or \"<5e8\"."
    }
  },
  "required": [
    "q"
  ],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://risk-graph-gx7v4.ondigitalocean.app/api/v1/agent/search

Payment

Protocol
x402
Listed price
0.001 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://risk-graph-gx7v4.ondigitalocean.app/api/v1/agent/search
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z