mirrored listing x402 eip155:8453eip155:137eip155:42161

Uniform random integers in any range you give, with or without repeats

Uniform random integers in any range you give, with or without repeats. Rejection sampling, so the ends of the range are not slightly less likely - which is what happens with modulo.

Do you run flat-rate-llm.kikoribera03.workers.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
2500 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-09
updated

Provider

flat-rate-llm.kikoribera03.workers.dev · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2500",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "2500",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "payTo": "0xc210Ea7D5692a6401ADf25BbCB7aCDe9cDB7e9Ff",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "2500",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "method": "GET",
        "queryParams": {
          "count": 1,
          "max": 100,
          "min": 1
        },
        "type": "http"
      },
      "output": {
        "example": {
          "count": 1,
          "max": 100,
          "min": 1,
          "numbers": [
            42
          ]
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "method": {
              "enum": [
                "GET"
              ],
              "type": "string"
            },
            "queryParams": {
              "properties": {
                "count": {
                  "description": "How many to draw, 1-100. Defaults to 1.",
                  "type": "number"
                },
                "max": {
                  "description": "Highest value, inclusive. Defaults to 100.",
                  "type": "number"
                },
                "min": {
                  "description": "Lowest value, inclusive. Defaults to 1.",
                  "type": "number"
                },
                "unique": {
                  "description": "No repeats. Needs a range at least as wide as count.",
                  "type": "boolean"
                }
              },
              "required": [],
              "type": "object"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://flat-rate-llm.kikoribera03.workers.dev/v1/random/number"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://flat-rate-llm.kikoribera03.workers.dev/v1/random/number");
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://flat-rate-llm.kikoribera03.workers.dev/v1/random/number")
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/8076.json, and this resource appears in /discovery/resources and /discovery/search.