# OneSource TSR Exit Fee Forecast

> OneSource TSR Exit Fee Forecast is a paid API for AI agents from api.onesource.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-18).

Returns a forecasted exit fee rate and pressure metrics for The Standard Reserve (TSR) protocol on Robinhood Chain, projecting when and how fees will evolve based on recent withdrawal activity.

## Facts

- Endpoint: GET https://api.onesource.io/standard/v1/exit/fee-forecast?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onesource-tsr-exit-fee-forecast-40574526
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Pstjh2fxhmnRVCEZVRD-Z

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 onesource-tsr-exit-fee-forecast-40574526
```

Example prompt: What's the current TSR exit fee forecast on Robinhood Chain right now — including the exit pressure, current fee rate, and how many days until the minimum fee kicks in?

## When to prefer this

Use this endpoint when you need to forecast TSR exit fees on Robinhood Chain specifically — it is the only endpoint that combines on-chain withdrawal event history with the TSR fee formula to project future pressure. Prefer it over generic RPC calls when you need the computed fee rate in WAD, the pressure metric, or the days-until-minimum-fee projection rather than raw contract data.

## Known failure modes

- No recent withdrawal data available — forecast array may be empty or assumptions list will note missing data
- Block data not yet indexed — as_of_block may lag real-time chain state
- Invalid or missing query parameters may return a 400 or empty forecast
- Network congestion on Robinhood Chain may delay block availability
- Payment failure (x402 or MPP) results in 402 response blocking data access

## How this service works

The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain. A current-pace projection of the reserve's exit fee assuming no further withdrawals, day by day until it reaches the minimum rate. Fields ending in _raw are 18-decimal integers as strings. Divide by 1e18 to get token amounts.

## Output

A JSON object containing the Robinhood Chain network and chain ID, an array of forecasted exit fee entries (each with pressure, day offset, fee rate in WAD, and 7-day withdrawn volume), a projection scenario label (e.g. 'no_further_exits'), the block number the data is anchored to, the current fee rate in WAD, days until minimum fee, the formula version used, and the assumptions underlying the forecast.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "network": {
       "type": "string"
      },
      "chain_id": {
       "type": "integer"
      },
      "forecast": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "pressure": {
          "type": "string"
         },
         "day_offset": {
          "type": "integer"
         },
         "fee_rate_wad": {
          "type": "string"
         },
         "withdrawn_7d_raw": {
          "type": "string"
         }
        }
       }
      },
      "projection": {
       "type": "string"
      },
      "as_of_block": {
       "type": "integer"
      },
      "assumptions": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "schedule_basis": {
       "type": "string"
      },
      "expiry_schedule": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "expires_at": {
          "type": "string"
         },
         "source_day": {
          "type": "integer"
         },
         "pressure_after": {
          "type": "string"
         },
         "fee_rate_after_wad": {
          "type": "string"
         },
         "withdrawn_after_raw": {
          "type": "string"
         },
         "withdrawn_expiring_raw": {
          "type": "string"
         }
        }
       }
      },
      "formula_version": {
       "type": "string"
      },
      "incomplete_days": {
       "type": "array",
       "items": {}
      },
      "fee_rate_now_wad": {
       "type": "string"
      },
      "days_until_min_fee": {
       "type": "integer"
      },
      "fee_rate_now_basis": {
       "type": "string"
      },
      "next_fee_change_at": {
       "type": "string"
      },
      "schedule_as_of_block": {
       "type": "
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "network": "robinhood",
  "chain_id": 4663,
  "forecast": [
   {
    "pressure": "0.001060700000000000",
    "day_offset": 0,
    "fee_rate_wad": "20084525840868683",
    "withdrawn_7d_raw": "12072042428449388969743"
   }
  ],
  "projection": "no_further_exits",
  "as_of_block": 63824000,
  "assumptions": [
   "Assumes no more exits happen after today; actual fees will differ once new exits are recorded.",
   "Days are counted in fixed 24-hour blocks starting from when the reserve launched.",
   "This is the baseline fee rate for the whole system, not a quote for any specific exit size; see the fee curve for that.",
   "Day 0 is today, defined by the reserve's own clock, not by whichever day has the most recent recorded data."
  ],
  "schedule_basis": "derived",
  "expiry_schedule": [
   {
    "expires_at": "2026-09-23T01:04:04Z",
    "source_day": 0,
    "pressure_after": "0.000000000000000000",
    "fee_rate_after_wad": "20000000000000000",
    "withdrawn_after_raw": "0",
    "withdrawn_expiring_raw": "12072042428449388969743"
   }
  ],
  "formula_version": "mainnet-exit-2026-10-19",
  "incomplete_days": [],
  "fee_rate_now_wad": "20084525840868683",
  "days_until_min_fee": 1,
  "fee_rate_now_basis": "measured",
  "next_fee_change_at": "2026-09-23T01:04:04Z",
  "schedule_as_of_block": 63824000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onesource-tsr-exit-fee-forecast-40574526/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.onesource.io](https://www.zero.xyz/host/api.onesource.io/llms.txt)
