{"uid":"cap_BbO-1XmAoW1-fnTrKbtHp","slug":"api-strale-io-0c8a20f5","name":"Tax ID (TIN) Format Validator","description":"Validate tax identification number (TIN) formats for 40+ countries. Checks format rules and checksum algorithms where applicable. Does not verify with tax authorities.","url":"https://api.strale.io/x402/tax-id-validate","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["tax_id"],"properties":{"tax_id":{"type":"string","description":"Tax identification number (with or without country prefix)"},"country_code":{"type":"string","description":"ISO 2-letter country code (auto-detected from prefix if omitted)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"tax_id":"12-3456789","country_code":"US"},"response":{"_meta":{"payment":{"method":"x402","price_usd":0.0216,"settlement_id":"0xd8d0f34790e3c3d4a62655867b701a6f56115dabc52744f1032a9231a7d47c44"},"capability":"tax-id-validate","latency_ms":0,"provenance":{"source":"strale-tax-validator","fetched_at":"2026-06-13T04:25:31.226Z"}},"valid":true,"tax_id":"12-3456789","normalized":"12-3456789","format_name":"EIN","country_code":"US","checksum_valid":null}},"exampleRequest":{"tax_id":"12-3456789","country_code":"US"},"tags":["x402"],"displayCostAmount":"0.0216","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F8ngrnzyT258BRz3Mh3Bm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates tax identification number (TIN) formats for 40+ countries using format rules and checksum algorithms, without querying tax authorities.","exampleAgentPrompt":"Can you check whether the tax ID '12-3456789' is a valid US EIN format — just validate the format and checksum, no need to verify with the IRS.","exampleUseCases":null,"resultDescription":"Returns whether the provided tax identification number is valid for the detected or specified country, including format rule compliance and checksum verification results where applicable. Does not confirm registration with any tax authority.","failureModes":["Unrecognized country code returns an error","Tax ID format not matching any known pattern returns invalid","Missing tax_id parameter returns 400 bad request","Country code mismatch with prefix returns conflict error","Unsupported country (outside 40+ supported list) returns unknown format"],"whenToPreferThis":"Use this endpoint when you need fast, offline-style format and checksum validation of tax IDs across 40+ countries before submitting to a tax authority, processing a payment, or onboarding a business — especially when real-time authority verification is unnecessary, too slow, or too costly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:49:32.825Z","isFirstParty":false}