{"uid":"cap_W2GX5BfpVHYOIHk37onf3","slug":"thaikit-thai-dictionary-sort-b4833078","name":"ThaiKit Thai Dictionary Sort","description":"Sort Thai words or names in Thai dictionary order, which plain code-point sorting gets wrong because of leading vowels (เ แ โ ใ ไ). Body: {\"items\": [\"...\", \"...\"]} (max 1000).","url":"https://api.thaikit.dev/sort?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"maxItems":1000,"description":"Thai strings to sort"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WQ31jyUdzVyQDFIB3Ltzk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sorts a list of Thai words or names in correct Thai dictionary order, handling leading vowels (เ แ โ ใ ไ) that trip up plain Unicode code-point sorting.","exampleAgentPrompt":"Sort these Thai words into correct Thai dictionary order: เด็ก, แมว, กา, โรงเรียน, ใจ, ไก่ — make sure the leading vowels like เ, แ, โ are handled properly.","exampleUseCases":[{"title":"Sorting Thai student name roster","prompt":"I have a list of Thai student names that I need sorted in proper Thai dictionary order for a class register: สมชาย, เอกชัย, แสงทอง, กมล, โสภณ, ใจดี — can you sort them correctly?"},{"title":"Alphabetizing Thai product catalog","prompt":"Sort these Thai product names into dictionary order for our catalog index: เสื้อ, กางเกง, แจ็คเก็ต, โค้ท, ใบหน้า, ไหมพรม, กระโปรง"},{"title":"Ordering Thai place names for a directory","prompt":"I need these Thai district names sorted in proper Thai alphabetical order for a regional directory: แม่สาย, เชียงใหม่, กรุงเทพ, โคราช, ใต้, ภูเก็ต"}],"resultDescription":"Returns the input Thai strings reordered according to correct Thai dictionary collation rules, properly handling leading vowels (เ แ โ ใ ไ) that precede the consonant they modify — so the sort key is based on the leading consonant, not the Unicode code point of the vowel.","failureModes":["Exceeding the 1000-item limit causes a 4xx error","Non-Thai strings may sort in unexpected positions","Empty items array returns an error or empty result","Mixed Thai and non-Thai strings may produce inconsistent ordering","Malformed JSON body returns 400 bad request"],"whenToPreferThis":"Use this endpoint whenever you need to sort Thai text and need linguistically correct Thai dictionary collation — standard programming language sort functions and Unicode code-point ordering produce wrong results for Thai because leading vowels (เ แ โ ใ ไ) are written before the consonant they modify but sorted after it in dictionary convention. Prefer this over building your own Thai collation logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T06:35:48.516Z","isFirstParty":false,"canonicalSlug":"thaikit-thai-dictionary-sort-b4833078"}