Api Endpoint

Solgiery Random

Roll 1 to 1000 independent fair dice. Each result is an integer from 1 to sides inclusive; sides defaults to 6. Uses the server OS CSPRNG. Returns consumed bytes for reproducible calculation, not proof of their origin. Price: 0.007 USDC per request, including the bounded batch.

Open interactive test console

Offering

Provider
api.solgiery.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.solgiery.com/v1/random/dice
MIME type
application/json
First seen
2026-10-16T01:50:10.647Z
Last seen
Tags
Random, utilities, X402

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.007 USDC
Atomic price: 7000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "7000",
    "payTo": "0x12fe99C184192A0d4a3C507602ad4b03AA3A6fbb"
  }
]

Observed health

Status
Degraded
Latest latency
314 ms
Average latency
782 ms
HTTP status
502
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "method": {
      "enum": [
        "GET"
      ],
      "type": "string"
    },
    "queryParams": {
      "additionalProperties": false,
      "description": "Unknown or duplicate parameters and null parameter values are rejected. JSON body: at most 65536 bytes, depth 16, and 4096 bytes per item. Repeated sample items together must fit 65536 bytes.",
      "properties": {
        "count": {
          "default": 1,
          "maximum": 1000,
          "minimum": 1,
          "type": "integer"
        },
        "sides": {
          "default": 6,
          "maximum": 1000,
          "minimum": 2,
          "type": "integer"
        }
      },
      "required": [],
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "description": "Unknown or duplicate parameters and null parameter values are rejected. JSON body: at most 65536 bytes, depth 16, and 4096 bytes per item. Repeated sample items together must fit 65536 bytes.",
          "properties": {
            "count": {
              "default": 1,
              "maximum": 1000,
              "minimum": 1,
              "type": "integer"
            },
            "sides": {
              "default": 6,
              "maximum": 1000,
              "minimum": 2,
              "type": "integer"
            }
          },
          "required": [],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": false,
          "properties": {
            "algorithm": {
              "const": "solgiery-random-v1",
              "type": "string"
            },
            "entropy": {
              "additionalProperties": false,
              "properties": {
                "hex": {
                  "maxLength": 262144,
                  "pattern": "^([0-9a-f]{2})*$",
                  "type": "string"
                },
                "source": {
                  "const": "os-csprng",
                  "type": "string"
                }
              },
              "required": [
                "source",
                "hex"
              ],
              "type": "object"
            },
            "result": {
              "items": {
                "maximum": 1000,
                "minimum": 1,
                "type": "integer"
              },
              "maxItems": 1000,
              "minItems": 1,
              "type": "array"
            }
          },
          "required": [
            "algorithm",
            "result",
            "entropy"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}