{
  "x402Version": 2,
  "id": 10981,
  "slug": "10981",
  "resource": "https://agentbit.app/v1/defi/yields",
  "description": "Search every tracked DeFi yield pool with TVL over $50k: filter by chain, project, token symbol, stablecoin-only and minimum TVL, ranked by APY with base/reward split and IL risk. Open DefiLlama data, refreshed server-side every 15 minutes. $0.002 per query — the yield screener as a pay-per-call primitive.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x4395C7e383b7e05665aad7f36ed77c01923Dd965",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "description": "DeFi yield screening for agents that allocate capital. One call searches the full DefiLlama yield universe (thousands of pools across every major chain, pre-filtered to TVL ≥ $50k so answers stay meaningful) with the filters that matter: chain (base, ethereum, arbitrum...), project (aave, morpho, aerodrome...), token symbol (USDC, ETH...), stablecoins_only for the risk-averse, and min_tvl_usd (default $100k) to skip ghost pools. Results rank by APY and carry the decomposition an allocator needs: total APY, base vs reward split (reward-heavy APY = emissions that can vanish), TVL and impermanent-loss risk flag. The pool set is cached server-side and refreshed every 15 minutes, so queries are fast. Includes the honest disclaimer: high APY usually means high risk, figures change constantly, not financial advice. Pairs with stablecoin-stats (peg check before entering a stable pool) and protocol-tvl (how big is the protocol behind the pool).",
        "errors": [
          {
            "code": "PAYMENT_REQUIRED",
            "description": "Missing or invalid payment — retry with a valid PAYMENT-SIGNATURE header",
            "retryable": true,
            "status": 402
          },
          {
            "code": "VALIDATION_ERROR",
            "description": "Request body does not match the input schema",
            "retryable": false,
            "status": 422
          },
          {
            "code": "RATE_LIMITED",
            "description": "Too many requests from this client",
            "retryable": true,
            "status": 429
          },
          {
            "code": "UPSTREAM_TIMEOUT",
            "description": "Upstream data source unavailable — safe to retry",
            "retryable": true,
            "status": 502
          }
        ],
        "input": {
          "body": {
            "chain": "base",
            "limit": 5,
            "stablecoins_only": true,
            "symbol": "USDC"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "networks": [
          "eip155:8453"
        ],
        "output": {
          "example": {
            "disclaimer": "APY figures are as reported and change constantly; high APY usually means high risk. Not financial advice.",
            "pools": [
              {
                "apy": 4.21,
                "apy_base": 4.21,
                "apy_reward": null,
                "chain": "Base",
                "il_risk": "no",
                "pool_id": "aa70268e-4b52-42bf-a116-608b370f9501",
                "project": "aave-v3",
                "stablecoin": true,
                "symbol": "USDC",
                "tvl_usd": 182000000
              }
            ],
            "result_count": 1,
            "universe_size": 6200
          },
          "type": "json"
        },
        "pricing": {
          "amount": 0.002,
          "currency": "USDC",
          "firstCallFree": true,
          "model": "per-call",
          "quoteHint": "Send your wallet address in an X-BUYER-WALLET header on the unpaid request to receive your personalized (volume-discounted) quote.",
          "volumeDiscounts": [
            {
              "minCalls30d": 100,
              "percent": 10
            },
            {
              "minCalls30d": 1000,
              "percent": 20
            }
          ]
        },
        "reliability": {
          "measuredAt": "2026-09-06T14:47:21+00:00",
          "p50LatencyMs": 234,
          "p95LatencyMs": 234,
          "sampleSize": 1,
          "successRatePercent": 100,
          "windowDays": 30
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "description": {
            "type": "string"
          },
          "errors": {
            "items": {
              "properties": {
                "code": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "retryable": {
                  "type": "boolean"
                },
                "status": {
                  "type": "integer"
                }
              },
              "required": [
                "status",
                "code"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "description": "DeFi Yield Search input. Search every tracked DeFi yield pool with TVL over $50k: filter by chain, project, token symbol, stablecoin-only and minimum TVL, ranked by APY with base/reward split and IL risk. Open DefiLlama data, refreshed server-side every 15 minutes. $0.002 per query — the yield screener as a pay-per-call primitive.",
                "properties": {
                  "chain": {
                    "description": "Filter by chain, e.g. base, ethereum, arbitrum",
                    "type": "string"
                  },
                  "limit": {
                    "description": "Max pools returned (1-50, default 15)",
                    "type": "integer"
                  },
                  "min_tvl_usd": {
                    "description": "Minimum pool TVL (default 100000)",
                    "type": "number"
                  },
                  "project": {
                    "description": "Filter by protocol, e.g. aave-v3, morpho",
                    "type": "string"
                  },
                  "stablecoins_only": {
                    "description": "Only stablecoin pools",
                    "type": "boolean"
                  },
                  "symbol": {
                    "description": "Filter by token symbol substring, e.g. USDC",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "networks": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          "pricing": {
            "properties": {
              "amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "currency": {
                "type": "string"
              },
              "firstCallFree": {
                "type": "boolean"
              },
              "maxAmount": {
                "type": "number"
              },
              "model": {
                "type": "string"
              },
              "quoteHint": {
                "type": "string"
              },
              "volumeDiscounts": {
                "items": {
                  "properties": {
                    "minCalls30d": {
                      "type": "integer"
                    },
                    "percent": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "minCalls30d",
                    "percent"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "reliability": {
            "properties": {
              "measuredAt": {
                "type": "string"
              },
              "p50LatencyMs": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "p95LatencyMs": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "sampleSize": {
                "type": "integer"
              },
              "successRatePercent": {
                "type": "number"
              },
              "windowDays": {
                "type": "integer"
              }
            },
            "required": [
              "successRatePercent",
              "sampleSize",
              "windowDays"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "agentbit.app",
  "lastUpdated": "2026-09-06T14:47:21.767Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-06T14:47:21.264Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentbit.app",
    "manifest_name": "agentbit.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}