# Animica Mining Profit Calculator

> Animica Mining Profit Calculator is a paid API for AI agents from animica.dev, paid per call via x402, $0.002511/call, status unknown (last checked 2026-09-14).

Computes deterministic mining P&L for the Animica L1 chain at the current block height, using live block template rewards, measured difficulty, and the NonKYC ANM/USD bid price.

## Facts

- Endpoint: POST https://animica.dev/x402/mining/profit
- Price: $0.002511/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/animica-mining-profit-calculator-f1117f28
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mTmIBnALs8pOdyX-7PFiN

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 animica-mining-profit-calculator-f1117f28 -d '<json body>'
```

Example prompt: Before I point my 3 mining rigs at Animica, can you calculate my expected daily profit? Each rig does 850,000 H/s and draws 320 watts, I'm paying $0.09 per kWh, and I'd be joining a pool with a 1% fee — I'm not already counted in the network hashrate.

## When to prefer this

Choose this endpoint when you need a deterministic, live-data mining P&L for the Animica L1 specifically — particularly because it uses the node's own live block template (correcting a 2x error in the published subsidy split) and the NonKYC ANM/USD bid rather than exchange prices. Prefer it over generic mining calculators when you need accurate incumbent-dilution impact or want to see your share before committing hardware, without speculative growth models.

## Known failure modes

- 503 Service Unavailable — Animica node backend is down; no charge is applied
- Missing required hashrate_hps — profit share cannot be computed
- Invalid pool_fee_pct outside 0–50 range — validation error
- Omitting power_w or electricity_usd_kwh returns null for electricity cost and net profit lines, not an error
- count outside 1–100000 range — rejected with validation error

## How this service works

Deterministic mining P&L for Animica L1 at a named chain height. The per-block reward comes from the node's own live block template, not the published subsidy split (which is wrong by 2x on mainnet); the block interval and difficulty are measured, the ANM price is the NonKYC bid. Buy before pointing hardware here: it states the FIXED daily pot every miner shares, your share AFTER you join, and how much you dilute the incumbents. No model, no growth curve. Backend down = 503, no charge.

## Output

Returns the fixed daily ANM reward pot shared by all miners, this miner's proportional share after joining (factoring in whether they're already counted in network hashrate), how much the new hashrate dilutes incumbents, and — when power and electricity tariff are provided — electricity cost and net profit in USD. All figures use the live block template reward, measured difficulty, and the NonKYC ANM/USD bid price at the queried chain height. Returns 503 if the backend node is unreachable.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "count": {
   "type": "integer",
   "description": "how many identical units, 1..100000 (default 1)"
  },
  "power_w": {
   "type": "number",
   "description": "wall watts PER UNIT. Omit and the electricity and net lines come back null rather than as a fabricated zero."
  },
  "gpu_model": {
   "type": "string",
   "description": "a LABEL returned unchanged for your records. No hashrate is looked up from it — we hold no hardware table and will not invent one."
  },
  "hashrate_hps": {
   "type": "number",
   "description": "raw trials per second PER UNIT, as your Animica miner reports it for this chain. Not a SHA-256 or ethash figure from another coin, and not HShare/s."
  },
  "pool_fee_pct": {
   "type": "number",
   "description": "pool fee you pay, 0..50 (default 0 = solo). Your assumption, not a measured value."
  },
  "already_mining": {
   "type": "boolean",
   "description": "true if this hardware is ALREADY inside the measured network hashrate, so it is not added to the denominator twice (default false)"
  },
  "electricity_usd_kwh": {
   "type": "number",
   "description": "your tariff in USD per kWh. Omit and the electricity and net lines come back null."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/animica-mining-profit-calculator-f1117f28/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from animica.dev](https://www.zero.xyz/host/animica.dev/llms.txt)
