{"uid":"cap_2Tchu1UIsN8TnTpi88ILp","slug":"agentshelf-nanoid-validator-41d4d5a5","name":"AgentShelf Nanoid Validator","description":"Call when an agent needs whether a string is a valid nanoid. No network. Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/id-nanoid first.","url":"https://agentshelf.syntexa.ch/v1/id-nanoid?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"description":"JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."},"value":{"type":"string","examples":["abcdefghij0123456789_"],"maxLength":20000,"minLength":1,"description":"Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."},"schema":{"description":"JSON Schema document for schema-check SKUs. Omit it on string checks."}}},"responseSchema":null,"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_KUMBaCqhyy-n_Gvk737g7","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":"Validates whether a given string is a valid nanoid, returning a boolean result with no network or LLM dependencies.","exampleAgentPrompt":"Can you check if the string 'V1StGXR8_Z5jdHi6B-myT' is a valid nanoid?","exampleUseCases":[{"title":"Database ID pre-insert check","prompt":"Before I insert this record, can you verify that 'LGY2K3mN8qPxRvT5wJd0' is actually a valid nanoid so I don't corrupt my ID column?"},{"title":"User-submitted ID sanitization","prompt":"A user just sent me the ID 'abc123!!xyz' — can you tell me if that's a valid nanoid or if I should reject it?"},{"title":"Generated ID QA in pipeline","prompt":"My ID generator just produced 'Uakgb_J5m9g-0JDMbcJqL' — please confirm it's a properly formatted nanoid before I hand it off to the next step."}],"resultDescription":"A boolean or structured response indicating whether the provided string is a valid nanoid, conforming to nanoid format specifications (URL-safe alphabet, expected length). No external network calls are made; the check is pure computation.","failureModes":["Empty string input returns validation error (minLength:1 required)","String exceeding 20000 characters rejected by schema","Malformed request body returns HTTP 4xx error","Payment failure (non-exact USDC amount) may result in 402 response"],"whenToPreferThis":"Use this endpoint when you need a quick, deterministic, offline nanoid format validation without any LLM inference cost or network lookup. Prefer the free sandbox POST /v1/sandbox/id-nanoid first; use this paid endpoint when the sandbox is unavailable or for production reliability. Choose this over rolling your own regex when you need a standardized, maintained validation service at minimal cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:49:53.949Z","isFirstParty":false,"canonicalSlug":"agentshelf-nanoid-validator-41d4d5a5"}