{"uid":"cap_y-SXrQmRpO49WH4nZ3mRP","slug":"fastx402-lab-string-format-validator-e4cc0b36","name":"FastX402 Lab String Format Validator","description":"146 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/validate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["value","type"],"properties":{"type":{"enum":["email","url","uuid","ipv4","ipv6","cidr","mac","fqdn","isbn","issn","iban","bic","ean","jwt","semver","hex_color","mime_type","lat_long","port","md5","sha256","base64","base58","json","slug","eth_address","btc_address","iso8601","country_code","currency_code","locale","magnet_uri","time"],"type":"string","description":"Format to check"},"value":{"type":"string","description":"The string to check"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"type":{"type":"string"},"valid":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"type":"email","valid":true}},"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_WnadWKcCyQb9K9KxOWCIE","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 a string against one of 33 named formats (email, URL, UUID, IP addresses, IBAN, JWT, crypto addresses, ISO dates, and more) using validator.js rules","exampleAgentPrompt":"Is 'user@example.com' a valid email address? Run it through the validator.js-based format checker and tell me if it passes.","exampleUseCases":[{"title":"Validate user-submitted email before signup","prompt":"Before I save this new user to the database, check whether 'john.doe@mycompany.org' is actually a valid email address."},{"title":"Check Ethereum address format before sending funds","prompt":"I'm about to send crypto to '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe' — can you verify it's a properly formatted Ethereum address?"},{"title":"Confirm IBAN correctness before bank transfer","prompt":"We're about to wire money and the recipient gave us this IBAN: 'GB29NWBK60161331926819' — please check if it's a valid IBAN before we proceed."}],"resultDescription":"Returns a JSON object with two fields: 'type' (the format name that was checked, e.g. 'email') and 'valid' (a boolean indicating whether the input string conforms to that format's rules).","failureModes":["Invalid or unsupported format type enum value returns an error","Empty or missing 'value' query parameter returns an error","Missing 'type' query parameter returns an error","Payment failure returns 402 Payment Required","Network timeout on the x402 payment flow"],"whenToPreferThis":"Use this endpoint when you need quick, authoritative format validation using well-established validator.js rules across 33 different format types — especially for formats like IBAN, BIC, EAN, ISBN, ISSN, magnet URIs, locales, and crypto addresses that are complex to implement correctly from scratch. Prefer this over rolling your own regex when correctness and coverage across many formats matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:58.653Z","isFirstParty":false,"canonicalSlug":"fastx402-lab-string-format-validator-e4cc0b36"}