{"uid":"cap_XFhBtBwidsuqWINPIr7Wd","slug":"api-strale-io-a31cbd30","name":"National ID Number Format Validator","description":"Validate national identification number formats. Supports Swedish personnummer, Finnish henkilötunnus, Norwegian fødselsnummer, Danish CPR, UK National Insurance, US SSN format, and German Steuer-ID. Checks format and checksum where applicable. Does NOT v…","url":"https://api.strale.io/x402/id-number-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":["id_number","country_code"],"properties":{"id_number":{"type":"string","description":"National identification number"},"country_code":{"type":"string","description":"ISO 2-letter country code (SE, FI, NO, DK, GB, US, DE)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"id_number":"8112289874","country_code":"SE"},"response":{"_meta":{"payment":{"method":"x402","price_usd":0.0216,"settlement_id":"0xab5e235ca16ad1fba0cf6978a526d18ad69d5ac84ddb76e98f15d8da5783fb26"},"capability":"id-number-validate","latency_ms":0,"provenance":{"source":"strale-id-validator","fetched_at":"2026-06-18T04:26:12.984Z"}},"valid":true,"id_type":"personnummer","normalized":"811228-9874","country_code":"SE","checksum_valid":true,"extracted_info":{"gender":"male","birth_date_part":"811228"},"format_correct":true}},"exampleRequest":{"id_number":"8112289874","country_code":"SE"},"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_SpgGTe6bapLWgDH1ZdENR","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 national identification number formats and checksums for SE, FI, NO, DK, GB, US, and DE — without verifying identity","exampleAgentPrompt":"Can you check whether '8112289874' is a valid Swedish personnummer format — including the checksum?","exampleUseCases":null,"resultDescription":"Returns a validation result indicating whether the ID number matches the expected format and passes checksum verification for the specified country (SE, FI, NO, DK, GB, US, DE). Does not confirm real-world identity.","failureModes":["Unsupported country_code returns an error (only SE, FI, NO, DK, GB, US, DE supported)","Malformed or missing id_number or country_code returns a 400-style error","Numbers that pass format but fail checksum return invalid with checksum failure reason","Network or payment (x402) failure returns no result"],"whenToPreferThis":"Use this endpoint when you need to validate the format and checksum of a national ID number from Sweden, Finland, Norway, Denmark, UK, US, or Germany before storing or processing user-supplied identity data. Prefer this over generic regex checks because it handles country-specific checksum algorithms (e.g. Luhn-like for personnummer). Do not use this to verify that a person actually exists — it only checks structural validity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:07:21.628Z","isFirstParty":false}