ToolAssay

Shared token-bucket rate limiter for several agents calling the same API

Shared token-bucket rate limiter for several agents calling the same API: take tokens and get allowed/denied with retry-after. Namespaced token buckets with capacity and refill rate defined by the caller. "take" removes n tokens if available and otherwise returns the exact retry-after time; "peek" shows the current level; "reset" refills the bucket. Bucket state is computed lazily from timestamps, so no background job is needed.

Answeringour last check, 2026-11-27
4 of 4checks answered this week
910 msmedian answer time
$0.002listed price per call
$0.002price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://denk.halowerk.com/v1/shared-rate-limiter

CategoryMarket data
Provider hostdenk.halowerk.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-27 valid payment request 402$0.002 909 ms
2026-11-26 valid payment request 402$0.002 874 ms
2026-11-25 valid payment request 402$0.002 920 ms
2026-11-24 valid payment request 402$0.002 912 ms

Example input (from the provider)

{
  "body": {
    "action": "take",
    "bucket": "openai",
    "capacity": 60,
    "namespace": "my-agents",
    "refill_per_second": 1,
    "secret": "a-long-random-secret-123"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "action": {
              "enum": [
                "take",
                "peek",
                "reset"
              ],
              "type": "string"
            },
            "bucket": {
              "maxLength": 200,
              "minLength": 1,
              "type": "string"
            },
            "capacity": {
              "exclusiveMinimum": 0,
              "maximum": 1000000,
              "type": "number"
            },
            "namespace": {
              "description": "Your namespace; claimed by the first call with its secret.",
              "pattern": "^[A-Za-z0-9_-]{3,64}$",
              "type": "string"
            },
            "refill_per_second": {
              "exclusiveMinimum": 0,
              "maximum": 1000000,
              "type": "number"
            },
            "secret": {
              "description": "Secret for the namespace (stored only as HMAC).",
              "maxLength": 200,
              "minLength": 16,
              "type": "string"
            },
            "tokens": {
              "default": 1,
              "exclusiveMinimum": 0,
              "maximum": 1000000,
              "type": "number"
            }
          },
          "required": [
            "namespace",
            "secret",
            "action",
            "bucket",
            "capacity",
            "refill_per_second"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON