{"uid":"cap_-k8EUBkE9UpZoue4iR8wp","slug":"minia2a-digit-count-2a382936","name":"minia2a Digit Count","description":"minia2a service: x402-digit-count","url":"https://minia2a.uk/x402/digitCount?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","properties":{"type":{"type":"string"},"method":{"type":"string"},"bodyType":{"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","properties":{"type":{"type":"string"}}}}},"responseSchema":{"type":"json","example":{"ok":true},"answerAt":"result"},"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_Y_sl06Gs9ec8PQasNoEvS","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":"Counts the number of digits in a given numeric input","exampleAgentPrompt":"How many digits does the number 9843726501 have?","exampleUseCases":[{"title":"Validate input length for PIN","prompt":"Check how many digits are in the number 482910 — I need to confirm it's exactly 6 digits before using it as a PIN."},{"title":"Analyze large number magnitude","prompt":"How many digits are in 9999999999999999? I want to know its magnitude without counting manually."},{"title":"Verify digit count in financial ID","prompt":"Count the digits in the number 1234567890123 to make sure it matches the 13-digit format required for this transaction ID."}],"resultDescription":"Returns the count of digits present in the provided numeric input as an integer value.","failureModes":["Missing required 'input' parameter returns an error","Non-numeric or malformed input may return an unexpected count or error","Empty input field causes request failure","Network or payment authorization failure returns HTTP 402"],"whenToPreferThis":"Use this endpoint when you need a quick, reliable digit count for a numeric value without implementing custom logic. Ideal for validation steps in agent workflows (e.g., checking ID length, PIN format, or numeric magnitude checks) where a dedicated micro-service call is preferable to inline computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:49:51.450Z","isFirstParty":false,"canonicalSlug":"minia2a-digit-count-2a382936"}