# Animica x402 Job Quote

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

Returns a price quote and job ID for a machine-payable API job on the Animica x402 marketplace, including the required USDC budget and worker payout amounts.

## Facts

- Endpoint: POST https://x402.animica.dev/api/v1/jobs/quote
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/animica-x402-job-quote-dec1b642
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ssdHFNnDeT60VD3tFmalS

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-x402-job-quote-dec1b642 -d '<json body>'
```

Example prompt: I want to run a job on the Animica x402 marketplace — can you get me a price quote for a POST job of type 'image-resize' with a sample input body of {"url":"https://example.com/photo.jpg","width":800} so I know how much USDC to budget before I pay?

## When to prefer this

Use this endpoint when you need to obtain a firm price quote and job ID before committing a payment for any machine-payable API task on the Animica x402 marketplace. It is the required first step in the x402 payment flow — call it before sending USDC. Prefer this over generic REST APIs when the downstream service is gated by x402 micropayments and you need an atomic USDC budget figure to authorize.

## Known failure modes

- Missing or malformed input body returns a 400 validation error
- Unsupported job type string causes a 422 unprocessable entity response
- Downstream worker unavailable may return a 503 or empty quote
- Payment not submitted after quote expires — job_id becomes stale
- Invalid method field causes schema validation failure

## How this service works

Open marketplace for machine-payable APIs. Discover, compare and pay for x402 resources with Base USDC or native ANM.

## Output

Returns a job object with state set to AWAITING_PAYMENT, a unique job_id string, the required budget_atomic amount in smallest USDC units (e.g. 5000000 = 5 USDC), and the worker_payout_atomic indicating how much the worker receives after marketplace fees.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {
  "state": "AWAITING_PAYMENT",
  "job_id": "job_abc123",
  "budget_atomic": "5000000",
  "worker_payout_atomic": "4975000"
 }
}
```

## More

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