{"slug":"api-duoleads-com-v1-text-slug-fcede5","title":"Turn arbitrary text into a URL-safe slug","host":"api.duoleads.com","method":"GET","resource":"https://api.duoleads.com/v1/text/slug","category":"other","description":"Turn arbitrary text into a URL-safe slug. Decomposes accents, transliterates German umlauts, Scandinavian and Turkish letters, and the ligatures that lose meaning under plain NFD, lowercases, collapses separators, and truncates on a word boundary. Options for separator character, maximum length, cas","price_listed":0.05,"price_asked":0.05,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":20,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"lang":"de","text":"Crème Brûlée — Ærøskøbing, Straße 42"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"case":{"default":"lower","description":"lower (default), preserve or upper.","enum":["lower","preserve","upper"],"maxLength":64,"type":"string"},"lang":{"description":"ISO 639-1 code for locale-sensitive folding (de: ü->ue, tr: dotless i). Default locale-neutral.","maxLength":16,"type":"string"},"max":{"default":"96","description":"Maximum slug length 1-512, default 96. Truncates at the last complete word.","maxLength":64,"pattern":"^[+-]?\\d+$","type":"string"},"separator":{"default":"-","description":"Separator: - (default), _, . or empty.","enum":["-","_",".",""],"maxLength":64,"type":"string"},"text":{"description":"Text to slugify, at most 2048 characters.","maxLength":2048,"type":"string"}},"required":["text"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"type":"object"},"meta":{"properties":{"computed_at":{"type":"string"},"deterministic":{"type":"boolean"},"disclaimer":{"type":"string"},"price_usd":{"type":"string"},"request_id":{"type":"string"},"sources":{"type":"array"}},"required":["request_id","computed_at","price_usd","deterministic","disclaimer"],"type":"object"},"ok":{"const":true,"type":"boolean"},"route":{"type":"string"},"version":{"type":"string"}},"required":["ok","route","version","data","meta"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":20,"error":null}],"description_full":"Turn arbitrary text into a URL-safe slug. Decomposes accents, transliterates German umlauts, Scandinavian and Turkish letters, and the ligatures that lose meaning under plain NFD, lowercases, collapses separators, and truncates on a word boundary. Options for separator character, maximum length, case preservation and whether to strip stop words. Returns the slug plus what was removed.","last_updated":"2026-09-28T23:38:00.732Z","schemes":["exact"]}