Api Endpoint

GL1TCH

Yield X-Ray: on-chain DeFi yields across 7 chains (Solana, Ethereum, Base, Arbitrum, BSC, Tron, Robinhood), read directly from protocol contracts (Aave v3, Morpho, Sky, Kamino, Jito, Lido, Uniswap v3, Raydium, JustLend). Returns real APY, TVL, withdrawable idle share, impermanent-loss exposure and an explainable 0-100 risk score with reasons. Filter by chain, kind or stablecoin. Use it before an agent deposits, routes or rebalances funds into a yield pool. Not charged on failure.

Open interactive test console

Offering

Provider
gl1tchbased.xyz
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://gl1tchbased.xyz/api/x402/yield
MIME type
application/json
First seen
2026-11-01T15:04:33.795Z
Last seen
Tags
defi-yield, APY, lending, liquid-staking, Solana, Base, Ethereum, Agents

Payment pricing

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

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 2
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 3
0.003 USDC
Atomic price: 3000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.003 USDC
Atomic price: 3000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 5
0.003 USDC
Atomic price: 3000 · Network: eip155:43114 · Asset: USDC · Scheme: exact
Payment option 6
3000 atomic units
Atomic price: 3000 · Network: eip155:1329 · Asset: 0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "3000",
    "payTo": "H5qbtquJzLVrwYj5opedoQCy9edQQZAtiyPMTMFFaFb4"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0xbE1e88C07a080078629f793013597E43183F6Dca"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "3000",
    "payTo": "0xbE1e88C07a080078629f793013597E43183F6Dca"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "3000",
    "payTo": "0xbE1e88C07a080078629f793013597E43183F6Dca"
  },
  {
    "scheme": "exact",
    "network": "eip155:43114",
    "asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
    "amount": "3000",
    "payTo": "0xbE1e88C07a080078629f793013597E43183F6Dca"
  },
  {
    "scheme": "exact",
    "network": "eip155:1329",
    "asset": "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392",
    "amount": "3000",
    "payTo": "0xbE1e88C07a080078629f793013597E43183F6Dca"
  }
]

Observed health

Status
Healthy
Latest latency
312 ms
Average latency
243 ms
HTTP status
402
Last checked
Reachability
100% over 9 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": {
        "chain": {
          "type": "string",
          "description": "Filter by chain: solana, ethereum, base, arbitrum, bsc, tron, robinhood"
        },
        "kind": {
          "type": "string",
          "description": "Filter by product kind: lending, liquid-staking, vault, dex-lp"
        },
        "stable": {
          "type": "string",
          "description": "Filter stablecoin pools only: true or false"
        },
        "id": {
          "type": "string",
          "description": "Single pool id, e.g. ethereum-aave-v3-usdc or solana-kamino-usdc"
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "updatedAt": {
          "type": "number",
          "description": "Time of the on-chain yield snapshot, Unix milliseconds"
        },
        "count": {
          "type": "integer",
          "description": "Number of yield opportunities returned"
        },
        "opportunities": {
          "type": "array",
          "description": "Matched on-chain yield opportunities",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Stable pool id, e.g. solana-kamino-usdc"
              },
              "chain": {
                "type": "string",
                "enum": [
                  "solana",
                  "ethereum",
                  "base",
                  "arbitrum",
                  "bsc",
                  "tron",
                  "robinhood"
                ],
                "description": "Chain of the pool"
              },
              "protocol": {
                "type": "string",
                "description": "Protocol name, e.g. Aave v3, Kamino, Morpho, Jito"
              },
              "kind": {
                "type": "string",
                "enum": [
                  "lending",
                  "liquid-staking",
                  "vault",
                  "dex-lp"
                ],
                "description": "Yield structure"
              },
              "symbol": {
                "type": "string",
                "description": "Deposited asset or LP pair symbol"
              },
              "stable": {
                "type": "boolean",
                "description": "True when all underlying tokens are USD stablecoins"
              },
              "ilRisk": {
                "type": "string",
                "enum": [
                  "none",
                  "low",
                  "high"
                ],
                "description": "Impermanent-loss exposure"
              },
              "apy": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Measured on-chain APY as a fraction (0.0542 = 5.42% APY)"
              },
              "fullRangeApr": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "DEX LP only: passive full-range fee APR as a fraction"
              },
              "window": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Measurement window: live, epoch, 24h or 7d"
              },
              "tvlUsd": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Total deposits in USD"
              },
              "idleShare": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Lending only: fraction of deposits currently idle and immediately withdrawable"
              },
              "feePct": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Protocol or pool fee fraction"
              },
              "stale": {
                "type": "boolean",
                "description": "True if the latest hourly read failed and an earlier reading is served"
              },
              "risk": {
                "type": "object",
                "properties": {
                  "score": {
                    "type": "number",
                    "description": "Risk score, 0 (safest) to 100 (riskiest)"
                  },
                  "level": {
                    "type": "string",
                    "enum": [
                      "low",
                      "moderate",
                      "elevated",
                      "high"
                    ],
                    "description": "Risk tier"
                  },
                  "reasons": {
                    "type": "array",
                    "description": "Explainable risk factors behind the score",
                    "items": {
                      "type": "object",
                      "properties": {
                        "points": {
                          "type": "integer",
                          "description": "Risk points added"
                        },
                        "text": {
                          "type": "string",
                          "description": "Plain-language explanation"
                        }
                      },
                      "required": [
                        "points",
                        "text"
                      ]
                    }
                  },
                  "warnings": {
                    "type": "array",
                    "description": "Hard warnings (e.g. >100% APY, <2% withdrawable idle liquidity)",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "score",
                  "level",
                  "reasons",
                  "warnings"
                ]
              },
              "cardUrl": {
                "type": "string",
                "description": "Shareable Yield X-Ray page URL"
              }
            },
            "required": [
              "id",
              "chain",
              "protocol",
              "kind",
              "symbol",
              "stable",
              "ilRisk",
              "apy",
              "tvlUsd",
              "stale",
              "risk",
              "cardUrl"
            ]
          }
        }
      },
      "required": [
        "updatedAt",
        "count",
        "opportunities"
      ]
    }
  },
  "required": [
    "type"
  ]
}