Skip to content
Fourohtwo

NanoID-style public IDs

api.delx.ai/api/v1/x402/nanoid

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 or Solana—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.

BaseAnswering
https://api.delx.ai/api/v1/x402/nanoid

Uptime100% of 5 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.delx.ai/api/v1/x402/nanoid");
console.log(await res.json());