{"slug":"www-mahastrategies-com-api-v1-library-citations-locator-conv-0e2bf0","title":"Convert half-open UTF-8 byte, UTF-16 code-unit, or Unicode code-point spans into","host":"www.mahastrategies.com","method":"POST","resource":"https://www.mahastrategies.com/api/v1/library/citations/locator-conversion","category":"code","description":"Convert half-open UTF-8 byte, UTF-16 code-unit, or Unicode code-point spans into all three units for supplied text. Reject offsets inside a code point. No PDF parsing, page inference, or external source lookup. New modular adapter: retained result recovery for 24 hours, minimal receipt metadata for ","price_listed":0.024002,"price_asked":0.024002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":316,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"dataClass":"synthetic","locators":[{"end":7,"locatorId":"l1","sourceId":"s1","start":1,"unit":"utf8"}],"sources":[{"sourceId":"s1","text":"A😀éZ"}]},"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":{"dataClass":{"enum":["public","synthetic"],"type":"string"},"locators":{"maxItems":64,"minItems":1,"type":"array"},"sources":{"maxItems":16,"minItems":1,"type":"array"}},"required":["dataClass","sources","locators"],"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":{"additionalProperties":false,"properties":{"data":{"type":"object"},"proof":{"type":"object"},"success":{"const":true}},"required":["success","data","proof"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.024002,"price_match":true,"latency_ms":316,"error":null}],"description_full":"Convert half-open UTF-8 byte, UTF-16 code-unit, or Unicode code-point spans into all three units for supplied text. Reject offsets inside a code point. No PDF parsing, page inference, or external source lookup. New modular adapter: retained result recovery for 24 hours, minimal receipt metadata for 90 days. Existing live route unchanged.","last_updated":"2026-10-14T06:51:29.881Z","schemes":["exact"]}