81trust / 100

Yields Get Reward Rate History

by Yield.xyz MCP in Other

x402 APIPassing, checked 6 min ago

Historical APY / reward-rate for a yield over time — plot APY trends or compute average yield across 1d/7d/30d/90d/1y windows.

POST https://mcp.yield.xyz/x402/yields_get_reward_rate_history

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
249 ms typical, 249 ms slowest 5%
Last check
6 min ago
Next check
in 26 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://mcp.yield.xyz/x402/yields_get_reward_rate_history" \
  -H "content-type: application/json" \
  -d '{"interval":"day","period":"30d","yieldId":"ethereum-eth-lido-staking"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmcp.yield.xyz%2Fx402%2Fyields_get_reward_rate_history
const res = await pay("https://mcp.yield.xyz/x402/yields_get_reward_rate_history", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"interval":"day","period":"30d","yieldId":"ethereum-eth-lido-staking"}),
});
console.log(await res.json());

Example input

{
  "interval": "day",
  "period": "30d",
  "yieldId": "ethereum-eth-lido-staking"
}

Example output

{
  "interval": "day",
  "items": [
    {
      "rewardRate": "0.031",
      "timestamp": "2026-06-01T00:00:00.000Z"
    }
  ],
  "yieldId": "ethereum-eth-lido-staking"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
6 min agoPassed402368 ms$0.001
5 h agoPassed402249 ms$0.001