Skip to content
onelayer.
All tools

Tool detail

Yield.xyz MCP

List and filter DeFi yield opportunities across 80+ networks by token, network, yield type or provider, with APY, TVL and lock-up terms.

Categories: Defi

Use when

  • find the highest-APY staking or lending yields for a token
  • look up yield IDs needed by other Yield.xyz tools
  • filter DeFi yields by network, provider, or cooldown period

Not for

  • not yield execution/staking itself -- discovery and filtering only

Inputs

POST JSON body, all optional: token, search, sort, networks/providers/types/inputTokens/yieldIds (arrays), limit (1-50), offset.

Admitted input schema

{
  "type": "object",
  "properties": {
    "hasCooldownPeriod": {
      "type": "boolean"
    },
    "hasWarmupPeriod": {
      "type": "boolean"
    },
    "inputTokens": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 0,
        "maxLength": 4096
      },
      "minItems": 0,
      "maxItems": 100
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "description": "Page size (default 20)"
    },
    "networks": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 0,
        "maxLength": 4096
      },
      "minItems": 0,
      "maxItems": 100,
      "description": "Filter by networks, e.g. [\"ethereum\", \"base\", \"solana\"]"
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Pagination offset (default 0)"
    },
    "providers": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 0,
        "maxLength": 4096
      },
      "minItems": 0,
      "maxItems": 100
    },
    "search": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Free-text search over yield names/providers"
    },
    "sort": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Server-side sort, e.g. by APY or TVL (highest first)"
    },
    "token": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Token symbol, e.g. \"ETH\", \"USDC\", \"SOL\""
    },
    "types": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 0,
        "maxLength": 4096
      },
      "minItems": 0,
      "maxItems": 100,
      "description": "Filter by yield type, e.g. [\"staking\", \"lending\", \"vault\", \"restaking\"]"
    },
    "yieldIds": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 0,
        "maxLength": 4096
      },
      "minItems": 0,
      "maxItems": 100,
      "description": "Fetch specific yield IDs (max 100)"
    }
  },
  "required": [],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://mcp.yield.xyz/x402/yields_get_all

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
POST https://mcp.yield.xyz/x402/yields_get_all
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z