---
url: https://wiki.awmc.team/en/dev/chart-preview.md
---

# Chart Preview

Preview maimai charts in the browser. This project is built as an independent page based on Lxns-related concepts and public APIs. Assets and logic follow upstream open-source licenses.

Thanks to [Lxns (maimai.lxns.net)](https://maimai.lxns.net) for resource support.

Developed by **P1Meng**, source repository: [Pimeng/Maimai-Chart-Preview](https://github.com/Pimeng/Maimai-Chart-Preview).

## Base URL

Official entry: `https://v.awmc.cc/`

Specify the song and chart via **Query** parameters. The full URL looks like:

`https://v.awmc.cc/?song=417&kind=standard&diff=5`

## Query Parameters

| Parameter | Description |
|-----------|-------------|
| `song` | Song ID, based on **Lxns song ID**. |
| `kind` | Chart type: `standard` for Standard chart, `dx` for DX chart, `utage` for UTAGE chart. |
| `diff` | Difficulty level. Common mappings: `2` Basic, `3` Advance, `4` Expert, `5` Master, `6` Re:Master. Refer to the corresponding song's `maidata.txt` for specifics. |

## Interactive Demo

Click "Open in new tab" in the component below to open the preview page with the current parameters in a **new tab** (it will not embed the page or display JSON responses within the documentation).

## Authentication & Usage Notes

* **No Authentication Required**: You can directly access the above URL in a browser.
* If parameters or song data are incorrect, the preview page may fail to load. Please verify the Lxns song ID and difficulty definitions in `maidata.txt`.
