# NEAR Staking Yields

> NEAR Staking Yields is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-19).

Returns measured APY, staked NEAR, and instant-exit swap cost for NEAR liquid staking tokens (LiNEAR and Meta Pool stNEAR) derived from archival node redemption prices over a configurable window.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/near-staking-yields?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/near-staking-yields-8129c8dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zb6JvRad6fUU7O6tT83Oh

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability near-staking-yields-8129c8dc
```

Example prompt: What's the real measured APY for LiNEAR and stNEAR over the last 14 days, and how much would it cost me to exit a $5000 position instantly by swapping through NEAR Intents instead of waiting to unstake?

## When to prefer this

Use this endpoint when you need empirically measured, not advertised, NEAR liquid staking yields based on actual on-chain redemption prices from an archival node. Prefer it over protocol dashboards when you need unbiased APY comparisons between LiNEAR and stNEAR, or when you need to quantify the real cost of instant liquidity exit via NEAR Intents versus the standard 2-3 day unbonding period.

## Known failure modes

- Archival node unavailable or rate-limited — may return 503 or partial data
- Invalid days parameter (outside 1-30) returns validation error
- Exit size not provided defaults to a preset value; very large sizes may reflect high slippage estimates
- NEAR Intents liquidity thin for large exit sizes, making swap cost estimates unreliable
- Short window (days=1) may produce noisy or unreliable APY due to minimal price delta

## How this service works

Measured APY of NEAR liquid staking (LiNEAR, Meta Pool stNEAR): each token's redemption price in NEAR now against N days ago from an archival node, annualised — no advertised rates. Plus NEAR staked behind each, and the cost of exiting instantly by selling for wNEAR through NEAR Intents instead of waiting ~2–3 days to unstake. days sets the window (default 7), size the exit in USD.

## Output

Returns for each liquid staking token (LiNEAR, stNEAR): the measured annualized APY derived from redemption price changes over the specified window, the total NEAR staked behind each token, and the estimated cost (slippage/fee) of exiting instantly by selling for wNEAR via NEAR Intents for the specified USD exit size.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "days": {
       "type": "string",
       "description": "Window in days (optional, 1-30)"
      },
      "size": {
       "type": "string",
       "description": "Exit size in USD (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/near-staking-yields-8129c8dc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
