# OneSource TSR Branch License Cost Estimator

> OneSource TSR Branch License Cost Estimator is a paid API for AI agents from api.onesource.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-14).

Returns the estimated cost to acquire a Branch license on The Standard Reserve (TSR) protocol on Robinhood Chain, including charter and STANDARD token pricing paths with ETH cost estimates.

## Facts

- Endpoint: GET https://api.onesource.io/standard/v1/branches/license-cost?utm_source=zero.xyz
- Price: $0.02/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-branch-license-cost-estimator-aaa340c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5MxB-MPM630BqIbnDY0sz

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-license-cost-estimator-aaa340c0
```

Example prompt: What's the cheapest way to get a Branch license on The Standard Reserve right now — is it cheaper to go through the charter or buy STANDARD tokens, and what's the ETH cost estimate for each path?

## When to prefer this

Use this endpoint when you need a real-time, on-chain cost estimate for acquiring a TSR Branch license on Robinhood Chain, specifically when you want to compare the charter path versus the STANDARD token path with ETH cost normalization. Prefer this over manual contract reads when you need the cheapest-path recommendation logic and price impact calculations pre-computed. It is a read-only estimation endpoint with no side effects, making it safe to call frequently for monitoring or display purposes.

## Known failure modes

- Chain RPC unavailability may return a 503 or timeout
- Stale block data if the node is behind — estimate flag will be true
- Liquidity pool has zero depth making price impact incalculable
- Payment of $0.02 USDC via x402 or MPP fails — returns 402
- Invalid or missing payment header returns 402 Payment Required

## How this service works

The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain. Today's Branch license cost in ETH, compared against the charter auction's own price to show which path costs less. Fields ending in _raw are 18-decimal integers as strings. Divide by 1e18 to get token amounts.

## Output

Returns a JSON object with the current Branch license cost details including: basis type (license_cost), charter status and ETH price, STANDARD token price with buy tax and price impact in basis points, ETH cost estimate, branch-days equivalent, the cheapest acquisition path (charter or license), reasoning for the cheapest path recommendation, network and chain ID, the block number the estimate is based on, and any estimation assumptions (e.g. single-range constant-liquidity approximation for ETH cost).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "basis": "license_cost",
  "charter": {
   "live": true,
   "price_raw": "2000000000000000",
   "price_currency": "ETH"
  },
  "license": {
   "phase": "live",
   "price_raw": "150000000000000000",
   "buy_tax_bps": "90",
   "price_currency": "STANDARD",
   "price_impact_bps": "12.34",
   "price_in_branch_days": "3.2100",
   "eth_cost_estimate_raw": "1560000000000"
  },
  "network": "robinhood",
  "chain_id": 4663,
  "estimate": true,
  "as_of_block": 63512040,
  "assumptions": [
   "estimate: the ETH cost is a single-range constant-liquidity approximation"
  ],
  "cheapest_path": "charter",
  "cheapest_path_reasoning": {
   "charter_live": true,
   "charter_price_raw": "2000000000000000",
   "license_eth_cost_estimate_raw": "1560000000000"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onesource-tsr-branch-license-cost-estimator-aaa340c0/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)
