x402 Trading & On-Chain Intelligence
XT
x402 Trading & On-Chain Intelligence
/ratelimit

ratelimit

Rate-limit token bucket: shared self-throttle. Returns allowed + remaining. Send { bucket, token, capacity, refillPerSec, cost? }. [x402 paid tool — price $0.00

liveunknown~5s typical
mcpx402trading&
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-ai-firmbrain-x402-services /ratelimit for me.

Input

FieldTypeDescription
bucket*stringBucket name
token*stringYour secret token
capacity*numberMax tokens
refillPerSec*numberTokens added per second
costnumberTokens to consume, default 1

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"mcp-ai-firmbrain-x402-services","endpoint":"/ratelimit","input":{"bucket":"...","token":"...","capacity":1,"refillPerSec":1}}'
cli
npx cracked-ai run -p mcp-ai-firmbrain-x402-services -e /ratelimit -i '{"bucket":"...","token":"...","capacity":1,"refillPerSec":1}'
mcp
run_tool({ provider: "mcp-ai-firmbrain-x402-services", endpoint: "/ratelimit", input: {"bucket":"...","token":"...","capacity":1,"refillPerSec":1} })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.