# Animica Mining Opportunity Calculator

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

Returns estimated ANM mining yield, profitability, and hardware recommendations for a given GPU or CPU configuration, optionally with a cryptographic ML-DSA-65 attestation.

## Facts

- Endpoint: POST https://animica.dev/x402/mining/opportunity
- Price: $0.0024/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/animica-mining-opportunity-calculator-b69f0b10
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fNF47WgVAiah4jAt4DyVw

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-opportunity-calculator-b69f0b10 -d '<json body>'
```

Example prompt: Can you check how profitable it would be for me to mine Animica with 2 RTX 4090s drawing 450W each, with my electricity at $0.10 per kWh — and include an on-chain attestation of the result?

## When to prefer this

Choose this endpoint when you need a hardware-specific, data-driven estimate of ANM mining profitability on the Animica network, especially when you have a measured hashrate or known power draw to pass in. Prefer it over generic mining calculators when you want results attested to the Animica chain height for auditability, or when you need render-family recommendations gated by VRAM. It is the right choice for agents helping users decide whether to allocate GPU resources to Animica mining.

## Known failure modes

- Missing both gpu_model and hashrate_mhs — one is required; returns 400 or equivalent error
- Invalid count outside 1..4096 range — request rejected
- No net figure produced if power_w is omitted — electricity cost calculation skipped silently
- VRAM gate skipped entirely if vram_gb is omitted — some render families may not be offered
- Payment of $0.008 USDC not settled — 402 Payment Required returned
- Unknown or unrecognized gpu_model with no hashrate_mhs — table lookup may fail or return low-confidence estimate

## How this service works

Animica Python Cloud: deploy a Python function to animica.dev, get a public endpoint, and earn ANM every time someone runs it. Free AI (OpenAI-compatible, no key), free scheduled Workers, and an 80/20 developer split.

## Output

A JSON payload containing estimated ANM mining yield (gross and optionally net of electricity), recommended render families gated by VRAM, network rate context, electricity cost assumptions, and optionally an ML-DSA-65 cryptographic attestation binding the answer to the current chain height. Includes a payment block per the x402 protocol.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/animica-mining-opportunity-calculator-b69f0b10/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)
