{"uid":"cap_ZJCQWdvN2OF_hU1IJHHgb","slug":"toll402-french-siren-validator-f1ce497c","name":"Toll402 French SIREN Validator","description":"Offline validator for a French SIREN (9-digit business identifier). Normalizes input (strips spaces/dashes), verifies the Luhn checksum (doubling every second digit from the right, summing digits, total divisible by 10), and flags the known La Poste exception (SIREN 356000000) which is a legitimately assigned number.","url":"https://toll402.dev/v1/t/siren_validate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["siren"],"properties":{"siren":{"type":"string","description":"9-digit French SIREN, spaces/dashes allowed"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_lD9tg6B9G1MYR__jV2jeN","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 French SIREN (9-digit business identifier) offline using Luhn checksum verification, with special handling for the La Poste exception.","exampleAgentPrompt":"Can you check whether SIREN 356 000 000 is a valid French business identifier?","exampleUseCases":[{"title":"Pre-submission compliance check","prompt":"Before I submit this supplier invoice to our accounting system, can you verify that SIREN 44306184100047 — wait, it's actually 443061841 — is a valid French company SIREN?"},{"title":"Data quality pipeline for French companies","prompt":"I'm cleaning a CSV of French business partners. Can you validate whether SIREN 552 032 534 passes the Luhn check and is a legitimately formatted French identifier?"},{"title":"Onboarding form validation","prompt":"A new user entered 123-456-789 as their French SIREN on our registration form — can you tell me if that's a valid SIREN number?"}],"resultDescription":"Returns whether the SIREN is valid or invalid, including normalization (stripping spaces/dashes), the Luhn checksum result, and a flag indicating if the number matches the known La Poste exception (SIREN 356000000).","failureModes":["SIREN with wrong digit count (not 9 digits after normalization) returns invalid","Non-numeric characters other than spaces/dashes cause input rejection","Luhn checksum failure returns invalid even if format is correct","Network or payment gateway failure returns 402 or 5xx"],"whenToPreferThis":"Use this endpoint when you need a fast, offline, zero-external-dependency check of whether a French SIREN is syntactically and algorithmically valid. Ideal before calling authoritative French business registries (e.g. INSEE Sirene API) to filter out obviously invalid identifiers and save costs. Prefer this over a full registry lookup when you only need format/checksum validation, not real-time existence or status verification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:01:59.665Z","isFirstParty":false}