Api Endpoint

NanoID Generator for Agents

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.

Open interactive test console

Offering

Provider
api.delx.ai
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.delx.ai/api/v1/x402/nanoid
MIME type
application/json
First seen
2026-10-16T01:51:30.109Z
Last seen
Tags
X402, Utility, wave180, agentcash, micro-usdc

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
Payment option 2
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 3
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "28heAMpFkeUJsL7o7apiK4oJwZWq2fUHinRwbgYYsemG"
  }
]

Observed health

Status
Healthy
Latest latency
330 ms
Average latency
624 ms
HTTP status
204
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": true,
      "properties": {
        "size": {
          "description": "Optional NanoID length (4–64). Default 21 when omitted.",
          "maximum": 64,
          "minimum": 4,
          "type": "integer"
        }
      },
      "required": [],
      "type": "object"
    },
    "bodyType": {
      "const": "json",
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": true,
          "properties": {
            "size": {
              "description": "Optional NanoID length (4–64). Default 21 when omitted.",
              "maximum": 64,
              "minimum": 4,
              "type": "integer"
            }
          },
          "required": [],
          "type": "object"
        },
        "bodyType": {
          "const": "json",
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": true,
          "description": "Deterministic structured JSON result from first-party execution. Invalid inputs return a structured error object and are not billed.",
          "properties": {
            "id": {
              "type": "string"
            },
            "schema": {
              "type": "string"
            },
            "size": {
              "type": "integer"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "json",
          "type": "string"
        }
      },
      "required": [
        "type",
        "example"
      ],
      "type": "object"
    }
  },
  "required": [
    "input",
    "output"
  ],
  "type": "object"
}