{"uid":"cap_8yGAccOAQuZfhIdZsZX2B","slug":"orders-of-magnitude-api-namespace-validate-29bd2629","name":"Orders of Magnitude API – Namespace Validate","description":"Data and AI services via x402 payment protocol","url":"https://x402-api-production-5133.up.railway.app/ns/validate","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"responseSchema":{"type":"object","properties":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FVViONNvcfdsC3df1tsQE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates an input string against a namespace schema or rule set via the x402 micropayment protocol","exampleAgentPrompt":"Can you validate this string 'user:alice@example.com' against the namespace rules using the Orders of Magnitude validator?","exampleUseCases":[{"title":"Validate user-submitted identifier","prompt":"Check if the string 'org:acme-corp' is valid according to the namespace rules before I store it in the database."},{"title":"Pre-flight input check for pipeline","prompt":"Before we process this batch, can you validate the input string 'event:purchase_2024-01-15' to make sure it conforms to the namespace schema?"},{"title":"Debugging malformed namespace entry","prompt":"I'm getting errors downstream — can you run 'product:SKU#4892!' through the namespace validator to see if the format is the problem?"}],"resultDescription":"Returns a JSON object indicating whether the provided input string passes namespace validation rules, potentially including error details or status codes describing why a value is invalid.","failureModes":["Missing required 'input' parameter returns 400 error","Input string exceeds length limits","Payment not received or x402 protocol handshake fails resulting in 402 Payment Required","Empty string input may return validation error","Network timeout on Railway-hosted service","Ambiguous or empty response schema may make result interpretation difficult"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call input validation via the x402 micropayment protocol and do not want to maintain a validation service yourself. Best suited for single-string namespace checks where a $0.01 USDC per-call cost is acceptable. Avoid if you need bulk validation, complex schema validation beyond strings, or cannot use the x402 payment protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:45:27.795Z","isFirstParty":false}