InputPOST /api/v1/x402/nanoid
{}
Web and API intelligence · utility
NanoID-style public IDs. Generate short URL-safe IDs for jobs, drafts, or idempotency keys without installing nanoid. Returns a random URL-safe id (size 4–64, default 21). $0.001 USDC per successful call via x402 on Base—first-party JSON from Delx (fresh each call; not a deterministic transform), no API key, no subscription, and nothing is billed on structured validation errors.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/nanoid -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{}'
{}
{
"schema": "delx/nanoid/v1",
"id": "V1StGXR8_Z5jdHi6B-myT",
"size": 21
}
Machine-readable evidence