# LokaScript > Documentation for LokaScript, a multilingual hyperscript engine: write > _hyperscript-style event-driven UI code in 24 natural languages. This site > serves human docs plus a JSON API for pattern search, validation, and > translation. ## Docs - [Why LokaScript](https://lokascript.org/why/): the case for multilingual hyperscript — grammar-aware code in 24 languages - [Guide](https://lokascript.org/guide/): getting started, installation, grammar - [Multilingual guide](https://lokascript.org/guide/multilingual/): language support and word order - [Pattern Browser](https://lokascript.org/patterns/): 164 hyperscript patterns, filterable, with translations in 24 languages - [Playground](https://lokascript.org/playground/): run hyperscript in the browser - [API reference](https://lokascript.org/api/): human-readable API docs - [Cookbook](https://lokascript.org/cookbook/): task-oriented recipes ## API (JSON) Machine-readable endpoint index: https://lokascript.org/api/index.json - `GET /api/patterns?page&limit&category&engine&search`: paginated pattern corpus; ids are slugs like `tabs-aria` - `GET /api/patterns/stats`: totals and the category list - `GET /api/patterns/:id`: single pattern with translations - `GET /api/patterns/:id/translations`: translations only - `POST /api/ai/pattern-search` `{query}`: natural-language pattern search (rate-limited) - `POST /api/ai/explain` `{code, language?}`: explain hyperscript code (rate-limited) - `POST /api/ai/validate` `{code}`: syntax validation, no AI, fast - `POST /api/ai/suggest` `{code, cursor}`: code completions (rate-limited) - `GET /api/ai/patterns/:id/examples`: translated examples for one pattern ## Agent skills - [Skill registry](https://lokascript.org/skills): SKILL.md bundles for coding agents, including `lokascript-api` (how to use this API) and `hyperscript` (language reference) ## Static data - [patterns.json](https://lokascript.org/patterns/patterns.json): full pattern corpus as one JSON file - [translations.json](https://lokascript.org/patterns/translations.json): all pattern translations keyed by pattern id