{"uid":"cap_H36eId28JS8tcTMU3ZKyB","slug":"delx-commerce-nanoid-generator-25e62fef","name":"Delx Commerce NanoID Generator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/nanoid?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"size":{"type":"integer","maximum":64,"minimum":4,"description":"Optional NanoID length (4–64). Default 21 when omitted."}}},"responseSchema":{"type":"json","example":{"id":"V1StGXR8_Z5jdHi6B-myT","size":21,"schema":"delx/nanoid/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_P_rYfBbITIukz1NJfYVRT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a cryptographically random NanoID string of configurable length (4–64 characters), billed per-call at $0.001 USDC with no signup required.","exampleAgentPrompt":"Generate me a NanoID that's 32 characters long — I need a compact, unique identifier for a new record.","exampleUseCases":[{"title":"Primary key for new database rows","prompt":"Generate a 21-character NanoID I can use as the primary key for a new user record I'm about to insert."},{"title":"Short unique token for URLs","prompt":"I need a 12-character NanoID to use as a short, unique slug in a shareable URL — can you generate one?"},{"title":"Unique session identifier for agent workflow","prompt":"Create a 32-character NanoID to use as a session ID for tracking this multi-step agent task from start to finish."}],"resultDescription":"Returns a JSON object containing the generated NanoID string (id), the actual length of the ID (size), and a schema version identifier (schema: 'delx/nanoid/v1'). Example: {\"id\":\"V1StGXR8_Z5jdHi6B-myT\",\"size\":21,\"schema\":\"delx/nanoid/v1\"}.","failureModes":["size out of range (below 4 or above 64) — likely returns a 400 or validation error","payment failure — insufficient USDC balance or x402 payment not accepted","network timeout — endpoint unreachable, no ID returned","malformed request body — non-integer size value causes rejection"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-use, no-signup NanoID generator that is billed in USDC on Base or Solana via x402, with verifiable delivery and exact pricing. Prefer it over self-hosted NanoID libraries when you need an auditable, on-chain-billed ID generation step inside an agent workflow that requires provable execution and no infrastructure setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:50.993Z","isFirstParty":false,"canonicalSlug":"delx-commerce-nanoid-generator-25e62fef"}