mirrored listing x402 eip155:8453animica:1

Pick k of your items with or without replacement, optionally weighted by integer weights (

Pick k of your items with or without replacement, optionally weighted by integer weights (raffles, lotteries, sortition, A/B splits). One verified randomness draw, cumulative-weight search over a rejection-sampled uniform value, up to 10000 items. The exact rule and the raw draw ride along so you can recompute the winners.

Do you run animica.dev? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
5410 (raw units)
price
2
calls / 30d
1
unique payers
2026-08-20
updated

Provider

animica.dev · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x5D17c40FD6b119dc6006C4Ab3C20a917FCaB2aCD",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5410",
    "maxTimeoutSeconds": 60
  },
  {
    "scheme": "exact",
    "network": "animica:1",
    "payTo": "anim1zqpsmegc0qcvzjfukm89xs0zeu3eqyyyel7kelehuszvwfarqypky2gr946ga",
    "asset": "ANM",
    "amount": "52626799844",
    "maxTimeoutSeconds": 60
  }
]

Output schema

{
  "animica": {
    "catalog": "https://animica.dev/.well-known/x402",
    "content_type": "application/json",
    "currency": "USDC",
    "description": "Pick k of your items with or without replacement, optionally weighted by integer weights (raffles, lotteries, sortition, A/B splits). One verified randomness draw, cumulative-weight search over a rejection-sampled uniform value, up to 10000 items. The exact rule and the raw draw ride along so you can recompute the winners.",
    "documentation": "https://animica.dev/x402#product-random_pick",
    "free_trial": {
      "endpoint": "POST /x402/random/pick/trial",
      "limit_per_day": 3,
      "note": "Same code and same response shape as the paid endpoint. No payment, no payment headers. Quota is per client per UTC day; when it is spent this endpoint says so and points back here.",
      "price": "0",
      "url": "https://animica.dev/x402/random/pick/trial"
    },
    "name": "Weighted random pick",
    "openapi": "https://animica.dev/x402/openapi.json",
    "price": "0.005410",
    "product": "random_pick",
    "provider": "Animica",
    "terms": {
      "amount_atomic": "5410",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "chain_id": 8453,
      "network": "eip155:8453",
      "pay_to": "0x5D17c40FD6b119dc6006C4Ab3C20a917FCaB2aCD",
      "scheme": "exact"
    },
    "x402_version": 2
  },
  "bazaar": {
    "discoverable": true,
    "info": {
      "input": {
        "body": {
          "items": [
            "a",
            "b",
            "c"
          ]
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "properties": {
            "body": {
              "properties": {
                "indices_only": {
                  "description": "omit the picked items and return only their 0-based indices — use it when the items are large: the response cap is 4000000 bytes and with replace:true the same item can be emitted k times",
                  "type": "boolean"
                },
                "items": {
                  "description": "candidates, 1..10000 entries (any JSON values)",
                  "type": "array"
                },
                "k": {
                  "description": "how many to pick, 1..1000 (default 1; alias count). Without replacement k <= items.length",
                  "type": "integer"
                },
                "replace": {
                  "description": "true = with replacement (an item can win twice); default false",
                  "type": "boolean"
                },
                "request_id": {
                  "description": "your own tag; mixed into the DRNG seed",
                  "type": "string"
                },
                "weights": {
                  "description": "one non-negative INTEGER weight per item (floats rejected: the cumulative search must be recomputable exactly)",
                  "type": "array"
                }
              },
              "required": [
                "items"
              ],
              "type": "object"
            },
            "bodyType": {
              "enum": [
                "json"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {},
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  },
  "discovery": {
    "discoverable": true,
    "info": {
      "entropy": {
        "attested": false,
        "health_passed": true,
        "is_hardware": false,
        "is_quantum": false,
        "min_entropy_per_byte": 7.7704,
        "model": "os.urandom CSPRNG",
        "note": "observed on the gateway's own readiness draw, published unpaid so the trust model is knowable before purchase; the same fields ride verbatim on every paid response",
        "observed_at": "2026-08-20T04:13:09.473Z",
        "signer_backend": "software",
        "source": "software-fallback",
        "vendor": "os"
      },
      "input": {
        "bodyFields": {
          "indices_only": {
            "description": "omit the picked items and return only their 0-based indices — use it when the items are large: the response cap is 4000000 bytes and with replace:true the same item can be emitted k times",
            "required": false,
            "type": "boolean"
          },
          "items": {
            "description": "candidates, 1..10000 entries (any JSON values)",
            "required": true,
            "type": "array"
          },
          "k": {
            "description": "how many to pick, 1..1000 (default 1; alias count). Without replacement k <= items.length",
            "required": false,
            "type": "integer"
          },
          "replace": {
            "description": "true = with replacement (an item can win twice); default false",
            "required": false,
            "type": "boolean"
          },
          "request_id": {
            "description": "your own tag; mixed into the DRNG seed",
            "required": false,
            "type": "string"
          },
          "weights": {
            "description": "one non-negative INTEGER weight per item (floats rejected: the cumulative search must be recomputable exactly)",
            "required": false,
            "type": "array"
          }
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "description": "result {picked (omitted when indices_only), indices, k, replace, weighted}, randomness, source, health, attestation, verification, derivation {rules, steps, recompute?}, payment metadata",
        "type": "json"
      }
    }
  }
}

Use it

curl

curl "https://animica.dev/x402/random/pick"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://animica.dev/x402/random/pick");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://animica.dev/x402/random/pick")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/7536.json, and this resource appears in /discovery/resources and /discovery/search.