# OneSource TSR Exit Decision Composite

> OneSource TSR Exit Decision Composite is a paid API for AI agents from api.onesource.io, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-14).

Returns a composite exit-decision snapshot for a TSR (The Standard Reserve) charter, including exit quote, fee curve, tax schedule, fee forecast, pool state, governance changes, and policy outlook on Robinhood Chain.

## Facts

- Endpoint: GET https://api.onesource.io/standard/v1/decisions/exit?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onesource-tsr-exit-decision-composite-09da4c32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wtrjgq4EVBIJGYzLAzyKW

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-decision-composite-09da4c32
```

Example prompt: What would I net if I exited TSR charter 42 right now? I want to see the full exit decision breakdown — fee rate, sell tax, days until minimum fee, and realizable ETH — on Robinhood Chain.

## When to prefer this

Use this endpoint when you need a comprehensive, aggregated exit decision for a TSR charter in a single call — covering fee curve, tax, quote, governance, forecast, and pool state simultaneously. Prefer this over individual TSR sub-endpoints when you want a holistic exit analysis without assembling multiple calls. Ideal for DeFi agents, portfolio managers, or automated vault monitors that need to decide whether and when to exit a TSR position on Robinhood Chain.

## Known failure modes

- Missing required charter_id parameter returns a 400 or schema validation error
- Invalid or non-existent charter_id returns an error or empty/null data parts
- at_block too far in the past or future may result in unavailable data
- Individual parts may return status other than 'ok' if sub-queries fail, yielding partial composite
- Payment failure (insufficient USDC/pathUSD balance) returns 402 Payment Required
- Network congestion on Robinhood Chain may cause stale or delayed block data

## How this service works

The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain. Everything relevant to deciding whether to exit a charter's branches right now, bundled into one call.

## Output

A JSON composite object containing: a summary with gross_raw, net_raw, fee_raw, fee_rate_now_live_wad, current_sell_tax_bps_raw, days_until_min_fee, realizable_eth_raw, and pending_governance_changes count; plus individual part objects for pool (tick), fee_curve, exit_quote, governance, fee_forecast, tax_schedule, and policy_outlook — each with a status field and data payload. Also includes chain_id (4663), network ('robinhood'), as_of_block, as_of_basis, and assumptions about the realizable ETH approximation.

## 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",
     "required": [
      "charter_id"
     ],
     "properties": {
      "at_block": {
       "type": "integer",
       "minimum": 0
      },
      "branches": {
       "type": "integer",
       "minimum": 1
      },
      "charter_id": {
       "type": "integer",
       "minimum": 0
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "basis": {
       "type": "string"
      },
      "parts": {
       "type": "object",
       "properties": {
        "pool": {
         "type": "object",
         "properties": {
          "data": {
           "type": "object",
           "properties": {
            "tick": {
             "type": "integer"
            }
           }
          },
          "status": {
           "type": "string"
          }
         }
        },
        "stimulus": {
         "type": "object",
         "properties": {
          "data": {
           "type": "object",
           "properties": {
            "status": {
             "type": "string"
            },
            "deadline": {
             "type": "string"
            },
            "claimable_raw": {
             "type": "string"
            },
            "at_risk_on_full_exit_raw": {
             "type": "string"
            }
           }
          },
          "status": {
           "type": "string"
          }
         }
        },
        "fee_curve": {
         "type": "object",
         "properties": {
          "data": {
           "type": "object",
           "properties": {
            "fee_rate_now_live_wad": {
             "type": "string"
            }
           }
          },
          "status": {
           "type": "string"
          }
         }
        },
        "exit_quote": {
         "type": "object",
         "properties": {
          "data": {
           "type": "object",
           "properties": {
            "ne
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "basis": "decision_composite",
  "parts": {
   "pool": {
    "data": {
     "tick": -1200
    },
    "status": "ok"
   },
   "fee_curve": {
    "data": {
     "fee_rate_now_live_wad": "50000000000000000"
    },
    "status": "ok"
   },
   "exit_quote": {
    "data": {
     "net_raw": "950000000000000000",
     "gross_raw": "1000000000000000000"
    },
    "status": "ok"
   },
   "governance": {
    "data": {
     "pending": []
    },
    "status": "ok"
   },
   "fee_forecast": {
    "data": {
     "days_until_min_fee": 3
    },
    "status": "ok"
   },
   "tax_schedule": {
    "data": {
     "current_sell_tax_bps_raw": "50"
    },
    "status": "ok"
   },
   "policy_outlook": {
    "data": {},
    "status": "ok"
   }
  },
  "network": "robinhood",
  "summary": {
   "fee_raw": "50000000000000000",
   "net_raw": "950000000000000000",
   "gross_raw": "1000000000000000000",
   "days_until_min_fee": 3,
   "realizable_eth_raw": "470000000000000",
   "fee_rate_now_live_wad": "50000000000000000",
   "current_sell_tax_bps_raw": "50",
   "pending_governance_changes": 0
  },
  "chain_id": 4663,
  "as_of_basis": "parts_min",
  "as_of_block": 63499000,
  "assumptions": [
   "realizable_eth is a single-range constant-liquidity price-impact approximation..."
  ],
  "parts_as_of_blocks": {
   "fee_curve": 63499000,
   "fee_forecast": 63499000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onesource-tsr-exit-decision-composite-09da4c32/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)
