{"slug":"toll402-dev-v1-t-cui-gt-validate-d52223","title":"Offline validator for a Guatemalan CUI (Código Único de Identificación), the 13-","host":"toll402.dev","method":"POST","resource":"https://toll402.dev/v1/t/cui_gt_validate","category":"code","description":"Offline validator for a Guatemalan CUI (Código Único de Identificación), the 13-digit national ID number. Parses the 13 digits into an 8-digit correlative, a 1-digit check digit, a 2-digit department code and a 2-digit municipality code, recomputes the check digit using the published weighted mod-11","price_listed":0.001,"price_asked":null,"state":"no_terms","state_label":"Answers HTTP 200 without x402 payment terms","checks_7d":1,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"cui":"1234567890101"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"cui":{"description":"13-digit CUI, digits only or with dashes","type":"string"}},"required":["cui"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":200,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":836,"error":null}],"description_full":"Offline validator for a Guatemalan CUI (Código Único de Identificación), the 13-digit national ID number. Parses the 13 digits into an 8-digit correlative, a 1-digit check digit, a 2-digit department code and a 2-digit municipality code, recomputes the check digit using the published weighted mod-11 formula (weights 2-9 over the 8 correlative digits, mod 11, 10→0) and compares it, returning validity plus the parsed components.","last_updated":"2026-09-09T15:57:21.568Z","schemes":["exact"]}