{"uid":"cap_4A-f4FiGwnm3lNxH4s2Rk","slug":"agentshield-gln-check-digit-validator-129da0b6","name":"AgentShield GLN Check Digit Validator","description":"Call when an agent has a 13-digit GLN and needs the GS1 check digit. Does not confirm a location or a company.","url":"https://agentshield.live/gln?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":["code"],"properties":{"code":{"type":"string","description":"13-digit GLN."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"known":true,"valid":true,"check_digit":"3"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MU3QduaG5aeZiskLHUhoL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes and validates the GS1 check digit for a 13-digit Global Location Number (GLN)","exampleAgentPrompt":"Can you check whether the GLN 1234567890128 has a valid GS1 check digit and tell me what the check digit should be?","exampleUseCases":[{"title":"Validate GLN before EDI submission","prompt":"I'm about to send an EDI 856 shipment notice and need to make sure the GLN 4012345678901 has the correct GS1 check digit — can you verify it?"},{"title":"Detect data entry errors in location codes","prompt":"Our warehouse team entered GLN 5901234123457 into the system — can you check if the check digit is actually valid so we catch any typos?"},{"title":"Batch-prep: single GLN sanity check","prompt":"Before I import this supplier's location record, can you confirm the check digit on their GLN 0614141000418 is correct according to GS1 rules?"}],"resultDescription":"Returns a JSON object with three fields: 'valid' (boolean indicating whether the check digit is correct), 'known' (boolean), and 'check_digit' (string with the expected check digit character for the provided 13-digit GLN).","failureModes":["Input code is not exactly 13 digits — may return an error or invalid result","Non-numeric characters in the GLN cause a validation failure","Missing 'code' query parameter results in a bad request response","The endpoint does not confirm whether the GLN is registered or belongs to a real company"],"whenToPreferThis":"Use this endpoint when you have a 13-digit GLN and need to verify or compute its GS1 check digit according to the MOD-10 algorithm. It is not a registry lookup and will not confirm whether a GLN is assigned to a real location or company — choose this purely for checksum validation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:50:56.921Z","isFirstParty":false,"canonicalSlug":"agentshield-gln-check-digit-validator-129da0b6"}