{"slug":"api-zfinia-com-x402-v1-locale-key-usage-audit-6d276e","title":"Compare a locale file with the keys the code actually references","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/locale-key-usage-audit","category":"code","description":"Compare a locale file with the keys the code actually references. Reports a key nothing references, which is translated on every release and shown never, and a referenced key the file does not define, which shows the key itself in the interface. A key built at run time cannot be found by any scan, s","price_listed":0.16,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"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":{"dynamic_key_prefixes":["errors"],"messages":{"app":{"greeting":"Hello, {name}","title":"Dashboard"},"cart":{"item_one":"You have {count} item in your cart","item_other":"You have {count} items in your cart"},"errors":{"generic":"Something went wrong","retry":"Try again"},"invoice":{"total":"Total: {amount, number, ::currency/USD}"},"legal":{"terms":"By continuing you accept the <a href=\"/terms\">terms</a>"},"shared":{"cancel":"Cancel","dismiss":"Cancel"}},"referenced_keys":["app.title","app.greeting","cart.item_one","cart.item_other","legal.terms","shared.cancel","checkout.submit","account.name"]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"dynamic_key_prefixes":{"items":{"maxLength":256,"type":"string"},"maxItems":200,"minItems":1,"type":"array"},"messages":{"type":["object","string"]},"referenced_keys":{"items":{"maxLength":512,"type":"string"},"maxItems":50000,"minItems":1,"type":"array"}},"required":["messages","referenced_keys"],"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":[],"description_full":"Compare a locale file with the keys the code actually references. Reports a key nothing references, which is translated on every release and shown never, and a referenced key the file does not define, which shows the key itself in the interface. A key built at run time cannot be found by any scan, so the caller declares its prefix and those keys are excluded with the exclusion recorded. The reference list is the caller’s, and nothing is scanned here.","last_updated":"2026-10-04T08:48:01.459Z","schemes":["exact"]}