# Gaming Economy Sink Simulator

> Gaming Economy Sink Simulator is a paid API for AI agents from gaming.halowerk.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Runs a deterministic day-by-day stock-flow simulation of a game economy, tracking supply changes from a fixed source and configurable fixed/percentage-based sinks over up to 365 days.

## Facts

- Endpoint: POST https://gaming.halowerk.com/v1/economy-sink-sim
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gaming-economy-sink-simulator-a40b6d25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xGqSVGngF03TfKHR3bap2

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 gaming-economy-sink-simulator-a40b6d25 -d '<json body>'
```

Example prompt: Simulate my game economy for 90 days: starting supply is 1,000,000 gold, the daily source emits 5,000 gold with 0.1% daily growth, and I have two sinks — a crafting sink that drains 1,000 gold fixed per day plus 0.5% of current supply, and a trading tax sink that drains 500 gold fixed per day with no percentage component.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, reproducible stock-flow simulation of a virtual economy — specifically when you want to model fixed emission sources with configurable fixed and percentage-based sinks over a fixed time horizon. It is ideal for game economy designers validating token balance, inflation/deflation dynamics, or sink calibration. Prefer it over custom scripts when you need a hosted, parameterized simulation with clamping behavior. Do not use it if you need market price modeling, player behavioral adaptation, or probabilistic outcomes.

## Known failure modes

- Invalid sink_id length (empty or over 128 chars) returns validation error
- days outside 1–365 range rejected with schema error
- fixed_daily_amount or daily_supply_percent outside allowed bounds causes 400
- More than 100 sinks in the array rejected
- source_daily_growth_percent below -100 or above 1000 rejected
- starting_supply exceeding the maximum (1e18) causes validation failure
- Missing required sink fields (sink_id, fixed_daily_amount, daily_supply_percent) causes 400

## How this service works

Iterates a deterministic daily stock-flow model with a fixed source, fixed sinks, and percentage-of-current-supply sinks. It clamps supply at zero and reports each day; it does not model player adaptation, market prices, distribution, or causal behavior.

## Output

A day-by-day report of the total supply for each simulated day, including how much each named sink drained (both fixed and percentage components), whether the supply was clamped at zero on any day, and the resulting end-of-day supply balance. The simulation runs deterministically with no randomness or market modeling.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "days": {
   "type": "integer",
   "maximum": 365,
   "minimum": 1
  },
  "sinks": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "sink_id",
     "fixed_daily_amount",
     "daily_supply_percent"
    ],
    "properties": {
     "sink_id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
     },
     "fixed_daily_amount": {
      "type": "number",
      "maximum": 1000000000000000,
      "minimum": 0
     },
     "daily_supply_percent": {
      "type": "number",
      "maximum": 100,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 100,
   "minItems": 1
  },
  "daily_source": {
   "type": "number",
   "maximum": 1000000000000000,
   "minimum": 0
  },
  "starting_supply": {
   "type": "number",
   "maximum": 1000000000000000000,
   "minimum": 0
  },
  "source_daily_growth_percent": {
   "type": "number",
   "maximum": 1000,
   "minimum": -100
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gaming-economy-sink-simulator-a40b6d25/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gaming.halowerk.com](https://www.zero.xyz/host/gaming.halowerk.com/llms.txt)
