{
  "x402Version": 2,
  "id": 4926,
  "slug": "4926",
  "resource": "https://x402.donnyautomation.com/random",
  "description": "Cryptographically secure randomness for agents that are deterministic or sandboxed. Two modes: raw bytes (?bytes=1..1024, default 32, clamped) returning hex and base64url; or uniform integers (?min= and ?max= together, optional ?count=1..1000) rejection-sampled so there is no modulo bias. Errors: 400 bad_bytes for a non-integer, bad_range when max is not greater than min, range_too_large. Generated server-side, and the response says so - if nobody may have seen it, generate it yourself.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2740651e046c59aB2A6510401140643292d3a96F",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "bytes": "32"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "base64": "n4bQgYhMfWWa…",
            "bytes": 32,
            "hex": "9f86d081884c7d65…",
            "source": "node:crypto randomBytes (CSPRNG)",
            "ts": "2026-08-01T00:00:00.000Z"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "bytes": {
                    "description": "Random bytes to return, 1..1024 (default 32). Returned as hex and base64url.",
                    "type": "string"
                  },
                  "count": {
                    "description": "How many integers, 1..1000 (default 1). Integer mode only.",
                    "type": "string"
                  },
                  "max": {
                    "description": "Upper bound (inclusive) for integer mode. Must be greater than min.",
                    "type": "string"
                  },
                  "min": {
                    "description": "With max: return uniform integers in [min, max] inclusive instead of bytes.",
                    "type": "string"
                  }
                },
                "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402.donnyautomation.com",
  "lastUpdated": "2026-09-14T08:54:34.127Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-14T08:54:33.848Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.donnyautomation.com",
    "manifest_name": "x402.donnyautomation.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}