Api Endpoint

touchstone.locomot.io

Provably-fair draw from the drand beacon with the full verifiable receipt + nonce-binding (the free draw is at GET /random).

Open interactive test console

Offering

Provider
touchstone.locomot.io
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Security
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://touchstone.locomot.io/random/proof
MIME type
application/json
First seen
2026-10-16T01:51:20.002Z
Last seen
Tags
None supplied

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
323 ms
Average latency
581 ms
HTTP status
402
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

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "op": {
          "type": "string",
          "enum": [
            "int",
            "dice",
            "coin",
            "bytes",
            "uuid",
            "shuffle",
            "sample",
            "choice",
            "pick"
          ],
          "description": "draw type; default int"
        },
        "nonce": {
          "type": "string",
          "description": "bind the draw to your context"
        },
        "round": {
          "type": "integer",
          "description": "pin a drand round (reproducible)"
        },
        "min": {
          "type": "integer"
        },
        "max": {
          "type": "integer"
        },
        "count": {
          "type": "integer"
        },
        "dice": {
          "type": "string",
          "description": "e.g. 3d6"
        },
        "n": {
          "type": "integer"
        },
        "sides": {
          "type": "integer"
        },
        "items": {
          "type": "string",
          "description": "comma list or JSON array"
        },
        "k": {
          "type": "integer"
        },
        "weights": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "count": {
              "type": "integer"
            },
            "dice": {
              "description": "e.g. 3d6",
              "type": "string"
            },
            "items": {
              "description": "comma list or JSON array",
              "type": "string"
            },
            "k": {
              "type": "integer"
            },
            "max": {
              "type": "integer"
            },
            "min": {
              "type": "integer"
            },
            "n": {
              "type": "integer"
            },
            "nonce": {
              "description": "bind the draw to your context",
              "type": "string"
            },
            "op": {
              "description": "draw type; default int",
              "enum": [
                "int",
                "dice",
                "coin",
                "bytes",
                "uuid",
                "shuffle",
                "sample",
                "choice",
                "pick"
              ],
              "type": "string"
            },
            "round": {
              "description": "pin a drand round (reproducible)",
              "type": "integer"
            },
            "sides": {
              "type": "integer"
            },
            "weights": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "beacon": {
          "type": "object"
        },
        "deterministic_given_round": {
          "type": "boolean"
        },
        "draw": {
          "type": "string"
        },
        "engine": {
          "type": "string"
        },
        "nonce": {
          "type": "string"
        },
        "notation": {
          "type": "string"
        },
        "op": {
          "type": "string"
        },
        "proof": {
          "type": "object"
        },
        "rolls": {
          "type": "array"
        },
        "total": {
          "type": "integer"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}