# OneSource TSR Branch-Expansion Strategy Simulator

> OneSource TSR Branch-Expansion Strategy Simulator is a paid API for AI agents from api.onesource.io, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-24).

Simulates keep, selective, and aggressive Branch-expansion strategies for The Standard Reserve (TSR) on-chain reserve protocol over a user-defined horizon, returning projected branch counts and net cash outcomes for each strategy.

## Facts

- Endpoint: GET https://api.onesource.io/standard/v1/decisions/plan?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onesource-tsr-branch-expansion-strategy-simulator-5278e3e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sY8GqgD7cRIXlKEwp5SPm

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-branch-expansion-strategy-simulator-5278e3e8
```

Example prompt: Simulate TSR branch expansion strategies on Robinhood Chain with a budget of 2000000000000000000 wei over a 60-day horizon — I currently own 3 branches and want to compare keep, selective (every 7 days), and aggressive strategies with exit mode set to 'all'.

## When to prefer this

Use this endpoint when you need to compare Branch-expansion strategies for The Standard Reserve protocol on Robinhood Chain within a specific ETH budget and time horizon. It is ideal for planning license purchases, modeling tradeoffs between conservative and aggressive growth, and understanding projected branch counts before committing on-chain capital. Prefer this over raw chain RPC calls when you want pre-calculated, strategy-aware simulation rather than raw contract state.

## Known failure modes

- Missing required budget_eth_raw parameter returns 400 validation error
- Invalid horizon_days outside 1–365 range returns 400
- Invalid exit_mode value not in enum ['all','one','none'] returns 400
- Payment not completed (x402 protocol) returns 402 Payment Required
- Upstream Robinhood Chain RPC unavailable may return 503 or stale block data
- charter_id not found on-chain may return empty or default assumptions

## How this service works

The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain. Simulates keep, selective, and aggressive Branch-expansion strategies over a horizon, seeded from this API's own live routes. A simulation for exploring tradeoffs, not a forecast.

## Output

Returns a JSON object containing strategy projections for keep, selective, and aggressive Branch-expansion approaches, each showing branches_before, branches_after, licenses_bought, net_cash_eth_raw, and delta_vs_keep_eth_raw. Also includes the on-chain block used as reference (as_of_block), assumptions with their sources, network/chain metadata, and an estimate flag indicating these are simulations not forecasts.

## 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": [
      "budget_eth_raw"
     ],
     "properties": {
      "exit_mode": {
       "enum": [
        "all",
        "one",
        "none"
       ],
       "type": "string"
      },
      "charter_id": {
       "type": "integer",
       "minimum": 0
      },
      "credits_raw": {
       "type": "string"
      },
      "horizon_days": {
       "type": "integer",
       "maximum": 365,
       "minimum": 1
      },
      "own_branches": {
       "type": "integer",
       "minimum": 0
      },
      "budget_eth_raw": {
       "type": "string"
      },
      "selective_interval_days": {
       "type": "integer",
       "minimum": 1
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "basis": {
       "type": "string"
      },
      "network": {
       "type": "string"
      },
      "chain_id": {
       "type": "integer"
      },
      "estimate": {
       "type": "boolean"
      },
      "strategies": {
       "type": "object",
       "properties": {
        "keep": {
         "type": "object",
         "properties": {
          "branches_after": {
           "type": "integer"
          },
          "branches_before": {
           "type": "integer"
          },
          "licenses_bought": {
           "type": "integer"
          },
          "net_cash_eth_raw": {
           "type": "string"
          },
          "delta_vs_keep_eth_raw": {
           "type": [
            "string",
            "null"
           ]
          }
         }
        },
        "selective": {
         "type": "object",
         "properties": {
          "branches_after": {
           "type": "integer"
          },
          "branches_before": {
           "type": "integer"
          },
          "licenses_bought": {
           "type": "integer"
          }
         }
        },
        "aggressive": {
         "type": "ob
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "basis": "scenario_plan",
  "network": "robinhood",
  "chain_id": 4663,
  "estimate": true,
  "strategies": {
   "keep": {
    "branches_after": 4,
    "branches_before": 4,
    "licenses_bought": 0,
    "net_cash_eth_raw": "470000000000000",
    "delta_vs_keep_eth_raw": null
   },
   "selective": {
    "branches_after": 8,
    "branches_before": 4,
    "licenses_bought": 4
   },
   "aggressive": {
    "branches_after": 34,
    "branches_before": 4,
    "licenses_bought": 30
   }
  },
  "as_of_block": 63499000,
  "assumptions": {
   "exit_mode": {
    "value": "all",
    "source": "default"
   },
   "horizon_days": {
    "value": 30,
    "source": "user_supplied"
   },
   "own_branches": {
    "value": 4,
    "source": "seeded_live"
   },
   "budget_eth_raw": {
    "value": "5000000000000000000",
    "source": "user_supplied"
   }
  },
  "limitations": [
   "The bank's multiplier (issuance rate) is held fixed for the whole horizon; it is not simulated to move with system-wide pressure.",
   "This is a simulation, not a forecast."
  ],
  "assumptions_text": "This plan is a simulation, not a forecast. It assumes today's issuance rate, license price, and pool price hold steady for every day of the horizon."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onesource-tsr-branch-expansion-strategy-simulator-5278e3e8/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)
