{"info":{"title":"DXRating API","version":"1.0.0","description":"The public API of [DXRating](https://dxrating.net): maimai DX songs, charts, internal levels, tags, aliases and arcades.\n\n**Start with [`GET /dxdata`](#tag/dx-data)**: the whole song and chart catalog, tags and aliases included, in one cacheable document. Revalidate it with `If-None-Match`; most integrations need nothing else.\n\n## Stability (v1 is stable)\n\n- **Additive only.** Within v1 we only add: endpoints, optional parameters, response fields, enum values, songs, tags and aliases. Ignore fields and enum values you don't know. Correcting data (internal levels, titles, dates, server availability) is not a breaking change.\n- **Breaking changes** (removing or renaming an endpoint, parameter or field, changing a type or meaning, requiring auth where none was needed) only come with a new version, or after a deprecation.\n- **Deprecation:** at least 6 months' notice. Deprecated endpoints send `Deprecation` (RFC 9745) and `Sunset` (RFC 8594) headers, and each deprecation is announced in the [changelog](https://github.com/gekichumai/dxrating/issues/427).\n- **v2**, if it ever comes, lives at `/api/v2`; v1 keeps working for at least 12 months after v2 is stable.\n- **IDs are permanent.** Song IDs (`dsng_…`) and sheet IDs (`dsht_…`) are never reused. Songs and charts removed from the game stay in the catalog with an empty `serverIds` list. Merges and splits keep one existing ID and are announced in the changelog.\n- **Scope:** DX Data, Tags, Aliases and Arcades (no sign-in needed). Analytics and chart images are best-effort. Endpoints that need a DXRating account (comments, tag attaching, alias submission, score import) exist for DXRating's own apps and can change at any time.\n\n## Limits and caching\n\nNo API key. REST has no hard rate limit today: cache responses and revalidate with `If-None-Match` (`/dxdata`, `/tags`, `/aliases` and `/arcades/venues` send ETags) instead of re-downloading. The MCP server (`https://mcp.dxrating.net/mcp`) allows about 300 requests per minute per client.\n\n## Data and credit\n\nFree to use, including commercially. Credit is appreciated: \"Data from DXRating (dxrating.net)\". Song titles, artwork and charts belong to SEGA and their rights holders.\n\nFull policy: https://dxrating.net/developers#api-stability · Changelog (subscribe): https://github.com/gekichumai/dxrating/issues/427 · Support: https://github.com/gekichumai/dxrating/issues","contact":{"name":"DXRating on GitHub","url":"https://github.com/gekichumai/dxrating/issues"}},"servers":[{"url":"/api/v1"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"PublishedDxdataCatalog":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1},"updatedAt":{"type":"string","minLength":1},"categories":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string","minLength":1}},"required":["category"]}},"versions":{"type":"array","items":{"type":"object","properties":{"version":{"type":"string","minLength":1},"abbr":{"type":"string"},"releaseDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"required":["version"]}},"types":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"abbr":{"type":"string"},"iconUrl":{"type":"string"},"iconHeight":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["type","name"]}},"difficulties":{"type":"array","items":{"type":"object","properties":{"difficulty":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"color":{"type":"string"}},"required":["difficulty","name"]}},"servers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string","minLength":1}},"required":["id","name"]}},"songs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^dsng_[23456789abcdefghjkmnpqrstvwxyz]{10}$"},"category":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"artist":{"type":"string"},"bpm":{"type":"number","exclusiveMinimum":0},"imageName":{"type":"string"},"version":{"type":"string","minLength":1},"isNew":{"type":"boolean"},"isLocked":{"type":"boolean"},"sheets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^dsht_[23456789abcdefghjkmnpqrstvwxyz]{10}$"},"type":{"type":"string","minLength":1},"difficulty":{"type":"string","minLength":1},"level":{"type":"string","minLength":1},"internalLevelValue":{"type":"number","minimum":0},"noteDesigner":{"type":"string"},"noteCounts":{"type":"object","properties":{"tap":{"type":"integer","minimum":0,"maximum":9007199254740991},"hold":{"type":"integer","minimum":0,"maximum":9007199254740991},"slide":{"type":"integer","minimum":0,"maximum":9007199254740991},"touch":{"type":"integer","minimum":0,"maximum":9007199254740991},"break":{"type":"integer","minimum":0,"maximum":9007199254740991},"total":{"type":"integer","minimum":0,"maximum":9007199254740991}}},"serverIds":{"type":"array","items":{"type":"string","minLength":1}},"serverOverrides":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"object","properties":{"level":{"type":"string"},"levelValue":{"type":"number","minimum":0},"version":{"type":"string"}}}},"isSpecial":{"type":"boolean"},"version":{"type":"string","minLength":1},"internalId":{"type":"integer","minimum":0,"maximum":9007199254740991},"releaseDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"multiverInternalLevelValue":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"number","minimum":0}},"comment":{"type":"string"}},"required":["id","type","difficulty","level","internalLevelValue","noteCounts","serverIds","isSpecial","version"]}},"searchAcronyms":{"type":"array","items":{"type":"string"}},"reading":{"type":"string","minLength":1},"readingSource":{"type":"string","enum":["override","verified","analyzer"]}},"required":["id","category","title","artist","imageName","version","isNew","isLocked","sheets","searchAcronyms"]}},"tagGroups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"localized_name":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"string"}},"color":{"type":"string"}},"required":["id","localized_name","color"]}},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"localized_name":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"string"}},"localized_description":{"type":"object","propertyNames":{"type":"string","minLength":1},"additionalProperties":{"type":"string"}},"group_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","localized_name","localized_description"]}},"tagSongs":{"type":"array","items":{"type":"object","properties":{"song_id":{"type":"string","pattern":"^dsng_[23456789abcdefghjkmnpqrstvwxyz]{10}$"},"sheet_id":{"type":"string","pattern":"^dsht_[23456789abcdefghjkmnpqrstvwxyz]{10}$"},"sheet_type":{"type":"string","minLength":1},"sheet_difficulty":{"type":"string","minLength":1},"tag_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["song_id","sheet_id","sheet_type","sheet_difficulty","tag_id"]}},"aliases":{"type":"array","items":{"type":"object","properties":{"song_id":{"type":"string","pattern":"^dsng_[23456789abcdefghjkmnpqrstvwxyz]{10}$"},"name":{"type":"string"}},"required":["song_id","name"]}}},"required":["schemaVersion","updatedAt","categories","versions","types","difficulties","servers","songs","tagGroups","tags","tagSongs","aliases"],"examples":[{"schemaVersion":1,"updatedAt":"2026-08-30T15:00:13.396044948+00:00","categories":[{"category":"niconico＆ボーカロイド"},{"category":"maimai"},{"category":"宴会場"}],"versions":[{"version":"ORANGE PLUS","abbr":"ORANGE+ (暁)","releaseDate":"2015-03-19"},{"version":"Splash","abbr":"Splash (爽)","releaseDate":"2020-09-17"},{"version":"PRiSM","abbr":"PRiSM (鏡)","releaseDate":"2024-09-12"}],"types":[{"type":"dx","name":"DX（でらっくす）","abbr":"DX","iconUrl":"type-dx.png","iconHeight":22},{"type":"std","name":"STD（スタンダード）","abbr":"STD","iconUrl":"type-std.png","iconHeight":22},{"type":"utage","name":"宴（宴会場）","abbr":"宴"}],"difficulties":[{"difficulty":"basic","name":"BASIC","color":"#22bb5b"},{"difficulty":"master","name":"MASTER","color":"#9e45e2"},{"difficulty":"remaster","name":"Re:MASTER","color":"#ba67f8"}],"servers":[{"id":"jp","name":"日本版"},{"id":"intl","name":"海外版 (International ver.)"},{"id":"usa","name":"アメリカ海外版 (USA International ver.)"}],"songs":[{"id":"dsng_d9dbdcaw9v","category":"niconico＆ボーカロイド","title":"ウミユリ海底譚","artist":"n-buna","bpm":120,"imageName":"e05e2a6fc30cd26f1b87310732062c03fdcc3900808695594d4b7d1c625c7315","version":"ORANGE PLUS","isNew":false,"isLocked":false,"sheets":[{"id":"dsht_jxnmx39rwt","type":"std","difficulty":"master","level":"13","internalLevelValue":13.4,"noteDesigner":"はっぴー","noteCounts":{"tap":648,"hold":21,"slide":76,"break":14,"total":759},"serverIds":["jp","intl","usa"],"isSpecial":false,"version":"ORANGE PLUS","internalId":417,"releaseDate":"2015-05-14","multiverInternalLevelValue":{"BUDDiES":13.4,"FESTiVAL PLUS":13.4,"maimaiでらっくす PLUS":12.8}}],"searchAcronyms":["umiyuri","Umiyuri","Umiyuri Kaiteitan"]},{"id":"dsng_e3bzx8srqf","category":"maimai","title":"全世界共通リズム感テスト","artist":"☆リズムに合わせてボタンを叩き達成率を競うゲームです☆","bpm":120,"imageName":"692ae385226bd2ff2c7134b8593c195ef5d4294194c672eb33ce97394ec882ef","version":"ORANGE PLUS","isNew":false,"isLocked":false,"sheets":[{"id":"dsht_zqs3r86ssb","type":"std","difficulty":"basic","level":"6","internalLevelValue":6,"noteDesigner":"-","noteCounts":{"tap":48,"hold":0,"slide":0,"break":17,"total":65},"serverIds":["intl","usa"],"serverOverrides":{"intl":{"version":"Splash"}},"isSpecial":false,"version":"ORANGE PLUS","internalId":854,"releaseDate":"2015-04-01"}],"searchAcronyms":[],"reading":"ぜんせかいきょうつうりずむかんてすと","readingSource":"verified"},{"id":"dsng_phnye8rsgn","category":"宴会場","title":"[習]ウミユリ海底譚","artist":"n-buna","bpm":120,"imageName":"e05e2a6fc30cd26f1b87310732062c03fdcc3900808695594d4b7d1c625c7315","version":"PRiSM","isNew":false,"isLocked":false,"sheets":[{"id":"dsht_cjgcb6z68z","type":"utage","difficulty":"【習】","level":"12+?","internalLevelValue":12.7,"noteCounts":{"tap":549,"hold":7,"slide":109,"touch":0,"break":1,"total":666},"serverIds":["jp","intl","usa"],"isSpecial":true,"version":"PRiSM","internalId":110417,"releaseDate":"2024-09-12","comment":"ウミユリ練習譚"}],"searchAcronyms":["[习]ウミユリ海底谭","我们当年哪有这条件"]}],"tagGroups":[{"id":1,"localized_name":{"en":"Patterns","ja":"パターン","zh-Hans":"配置"},"color":"#7dd3fc"}],"tags":[{"id":1,"localized_name":{"en":"Umiyuri","ja":"ウミユリ配置","zh-Hans":"错位"},"localized_description":{"en":"Umiyuri patterns require completing other notes between hitting the star head and beginning the star slide. After finishing those notes, you return to complete the star slide.\n\n~~Have you AP'd Kaitei Tan yet?~~","ja":"ズレ配置とは、スターのヘッドを叩いてからスライドを始めるまでの間に、他のノーツを処理する必要がある配置のことです。他のノーツを処理した後、スライドに戻って完成させます。\n\n~~海底譚APした？~~","zh-Hans":"错位是指从击打星星头后、直到可以正常滑动星星条前的时间内，需要完成其他音符。在完成其他音符后，再回来开始完成星星条的一种配置。\n\n~~海底谭AP了吗~~"},"group_id":1}],"tagSongs":[{"song_id":"dsng_d9dbdcaw9v","sheet_id":"dsht_jxnmx39rwt","sheet_type":"std","sheet_difficulty":"master","tag_id":1}],"aliases":[{"song_id":"dsng_d9dbdcaw9v","name":"海底谭你学不会"},{"song_id":"dsng_d9dbdcaw9v","name":"海𠷡"}]}]}}},"openapi":"3.1.1","paths":{"/dxdata":{"get":{"operationId":"getPublishedDxdataCatalog","summary":"Get the complete published DX data catalog","description":"The whole DXRating catalog in one schema-versioned, null-free document: every song and sheet (chart) with levels, internal levels per server, note counts, versions and release dates, plus the tag and alias snapshot. Most integrations need only this endpoint.\n\n**IDs.** `songs[].id` (`dsng_…`) and `songs[].sheets[].id` (`dsht_…`) are permanent and never reused. Songs and charts removed from the game stay in the catalog with an empty `serverIds` list.\n\n**Caching.** The body changes only when a new catalog is published (usually once a day or less). Each response has a strong `ETag` (the SHA-256 of the body). Browsers may cache it for 5 minutes, shared caches for 1 minute before they revalidate. Poll at most every few minutes, and send the last `ETag` as `If-None-Match`: an unchanged catalog costs a bodiless `304`. `HEAD` returns the same headers without the ~4 MB body.\n\n```sh\ncurl -sD headers.txt -o dxdata.json https://miruku.dxrating.net/api/v1/dxdata\ncurl -s -o /dev/null -w \"%{http_code}\\n\" \\\n  -H \"If-None-Match: $(grep -i ^etag headers.txt | cut -d\" \" -f2 | tr -d '\\r')\" \\\n  https://miruku.dxrating.net/api/v1/dxdata   # 304 while unchanged\n```\n\nCredit is appreciated: \"Data from DXRating (dxrating.net)\".","tags":["DX Data"],"security":[],"parameters":[{"name":"If-None-Match","in":"header","required":false,"description":"A strong or weak ETag validator, a comma-separated validator list, or `*`.","schema":{"type":"string","example":"\"78af90bc0094b4167143fabea17666892ec38c8de7723254fd74d3389da648e2\""},"examples":{"strong":{"summary":"Strong validator","value":"\"78af90bc0094b4167143fabea17666892ec38c8de7723254fd74d3389da648e2\""},"weak":{"summary":"Weak validator","value":"W/\"78af90bc0094b4167143fabea17666892ec38c8de7723254fd74d3389da648e2\""},"any":{"summary":"Any current representation","value":"*"}}}],"responses":{"200":{"description":"The complete published catalog.","headers":{"Content-Length":{"description":"UTF-8 byte length of the selected immutable catalog representation.","schema":{"type":"integer","minimum":1,"example":4115441},"example":4115441},"ETag":{"description":"Strong validator containing the SHA-256 digest of the response body.","schema":{"type":"string","pattern":"^\"[0-9a-f]{64}\"$","example":"\"78af90bc0094b4167143fabea17666892ec38c8de7723254fd74d3389da648e2\""},"example":"\"78af90bc0094b4167143fabea17666892ec38c8de7723254fd74d3389da648e2\""},"Cache-Control":{"description":"Browser cache policy.","schema":{"type":"string","example":"public, max-age=300, stale-while-revalidate=60, stale-if-error=86400"},"example":"public, max-age=300, stale-while-revalidate=60, stale-if-error=86400"},"CDN-Cache-Control":{"description":"Shared CDN cache policy.","schema":{"type":"string","example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"Cloudflare-CDN-Cache-Control":{"description":"Cloudflare-specific shared cache policy.","schema":{"type":"string","example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"Cache-Tag":{"description":"Surrogate cache tag used to invalidate the catalog.","schema":{"type":"string","enum":["dxdata"],"example":"dxdata"},"example":"dxdata"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishedDxdataCatalog"},"examples":{"representativeCatalog":{"summary":"Representative published catalog","description":"Large collections are shortened to one to three real entries.","value":{"schemaVersion":1,"updatedAt":"2026-08-30T15:00:13.396044948+00:00","categories":[{"category":"niconico＆ボーカロイド"},{"category":"maimai"},{"category":"宴会場"}],"versions":[{"version":"ORANGE PLUS","abbr":"ORANGE+ (暁)","releaseDate":"2015-03-19"},{"version":"Splash","abbr":"Splash (爽)","releaseDate":"2020-09-17"},{"version":"PRiSM","abbr":"PRiSM (鏡)","releaseDate":"2024-09-12"}],"types":[{"type":"dx","name":"DX（でらっくす）","abbr":"DX","iconUrl":"type-dx.png","iconHeight":22},{"type":"std","name":"STD（スタンダード）","abbr":"STD","iconUrl":"type-std.png","iconHeight":22},{"type":"utage","name":"宴（宴会場）","abbr":"宴"}],"difficulties":[{"difficulty":"basic","name":"BASIC","color":"#22bb5b"},{"difficulty":"master","name":"MASTER","color":"#9e45e2"},{"difficulty":"remaster","name":"Re:MASTER","color":"#ba67f8"}],"servers":[{"id":"jp","name":"日本版"},{"id":"intl","name":"海外版 (International ver.)"},{"id":"usa","name":"アメリカ海外版 (USA International ver.)"}],"songs":[{"id":"dsng_d9dbdcaw9v","category":"niconico＆ボーカロイド","title":"ウミユリ海底譚","artist":"n-buna","bpm":120,"imageName":"e05e2a6fc30cd26f1b87310732062c03fdcc3900808695594d4b7d1c625c7315","version":"ORANGE PLUS","isNew":false,"isLocked":false,"sheets":[{"id":"dsht_jxnmx39rwt","type":"std","difficulty":"master","level":"13","internalLevelValue":13.4,"noteDesigner":"はっぴー","noteCounts":{"tap":648,"hold":21,"slide":76,"break":14,"total":759},"serverIds":["jp","intl","usa"],"isSpecial":false,"version":"ORANGE PLUS","internalId":417,"releaseDate":"2015-05-14","multiverInternalLevelValue":{"BUDDiES":13.4,"FESTiVAL PLUS":13.4,"maimaiでらっくす PLUS":12.8}}],"searchAcronyms":["umiyuri","Umiyuri","Umiyuri Kaiteitan"]},{"id":"dsng_e3bzx8srqf","category":"maimai","title":"全世界共通リズム感テスト","artist":"☆リズムに合わせてボタンを叩き達成率を競うゲームです☆","bpm":120,"imageName":"692ae385226bd2ff2c7134b8593c195ef5d4294194c672eb33ce97394ec882ef","version":"ORANGE PLUS","isNew":false,"isLocked":false,"sheets":[{"id":"dsht_zqs3r86ssb","type":"std","difficulty":"basic","level":"6","internalLevelValue":6,"noteDesigner":"-","noteCounts":{"tap":48,"hold":0,"slide":0,"break":17,"total":65},"serverIds":["intl","usa"],"serverOverrides":{"intl":{"version":"Splash"}},"isSpecial":false,"version":"ORANGE PLUS","internalId":854,"releaseDate":"2015-04-01"}],"searchAcronyms":[],"reading":"ぜんせかいきょうつうりずむかんてすと","readingSource":"verified"},{"id":"dsng_phnye8rsgn","category":"宴会場","title":"[習]ウミユリ海底譚","artist":"n-buna","bpm":120,"imageName":"e05e2a6fc30cd26f1b87310732062c03fdcc3900808695594d4b7d1c625c7315","version":"PRiSM","isNew":false,"isLocked":false,"sheets":[{"id":"dsht_cjgcb6z68z","type":"utage","difficulty":"【習】","level":"12+?","internalLevelValue":12.7,"noteCounts":{"tap":549,"hold":7,"slide":109,"touch":0,"break":1,"total":666},"serverIds":["jp","intl","usa"],"isSpecial":true,"version":"PRiSM","internalId":110417,"releaseDate":"2024-09-12","comment":"ウミユリ練習譚"}],"searchAcronyms":["[习]ウミユリ海底谭","我们当年哪有这条件"]}],"tagGroups":[{"id":1,"localized_name":{"en":"Patterns","ja":"パターン","zh-Hans":"配置"},"color":"#7dd3fc"}],"tags":[{"id":1,"localized_name":{"en":"Umiyuri","ja":"ウミユリ配置","zh-Hans":"错位"},"localized_description":{"en":"Umiyuri patterns require completing other notes between hitting the star head and beginning the star slide. After finishing those notes, you return to complete the star slide.\n\n~~Have you AP'd Kaitei Tan yet?~~","ja":"ズレ配置とは、スターのヘッドを叩いてからスライドを始めるまでの間に、他のノーツを処理する必要がある配置のことです。他のノーツを処理した後、スライドに戻って完成させます。\n\n~~海底譚APした？~~","zh-Hans":"错位是指从击打星星头后、直到可以正常滑动星星条前的时间内，需要完成其他音符。在完成其他音符后，再回来开始完成星星条的一种配置。\n\n~~海底谭AP了吗~~"},"group_id":1}],"tagSongs":[{"song_id":"dsng_d9dbdcaw9v","sheet_id":"dsht_jxnmx39rwt","sheet_type":"std","sheet_difficulty":"master","tag_id":1}],"aliases":[{"song_id":"dsng_d9dbdcaw9v","name":"海底谭你学不会"},{"song_id":"dsng_d9dbdcaw9v","name":"海𠷡"}]}}}}}},"304":{"description":"The supplied validator matches the current published catalog.","headers":{"Content-Length":{"description":"UTF-8 byte length of the selected immutable catalog representation.","schema":{"type":"integer","minimum":1,"example":4115441},"example":4115441},"ETag":{"description":"Strong validator containing the SHA-256 digest of the response body.","schema":{"type":"string","pattern":"^\"[0-9a-f]{64}\"$","example":"\"78af90bc0094b4167143fabea17666892ec38c8de7723254fd74d3389da648e2\""},"example":"\"78af90bc0094b4167143fabea17666892ec38c8de7723254fd74d3389da648e2\""},"Cache-Control":{"description":"Browser cache policy.","schema":{"type":"string","example":"public, max-age=300, stale-while-revalidate=60, stale-if-error=86400"},"example":"public, max-age=300, stale-while-revalidate=60, stale-if-error=86400"},"CDN-Cache-Control":{"description":"Shared CDN cache policy.","schema":{"type":"string","example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"Cloudflare-CDN-Cache-Control":{"description":"Cloudflare-specific shared cache policy.","schema":{"type":"string","example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"Cache-Tag":{"description":"Surrogate cache tag used to invalidate the catalog.","schema":{"type":"string","enum":["dxdata"],"example":"dxdata"},"example":"dxdata"}}},"500":{"description":"The published catalog is unavailable. This response is never cacheable.","headers":{"Cache-Control":{"description":"Always `no-store` for endpoint failures.","schema":{"type":"string","enum":["no-store"],"example":"no-store"},"example":"no-store"},"CDN-Cache-Control":{"description":"Always `no-store` for endpoint failures.","schema":{"type":"string","enum":["no-store"],"example":"no-store"},"example":"no-store"},"Cloudflare-CDN-Cache-Control":{"description":"Always `no-store` for endpoint failures.","schema":{"type":"string","enum":["no-store"],"example":"no-store"},"example":"no-store"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","example":"Internal server error"}}},"examples":{"error":{"summary":"Internal server error","value":{"error":"Internal server error"}}}}}},"503":{"description":"The published catalog is unavailable. This response is never cacheable.","headers":{"Cache-Control":{"description":"Always `no-store` for endpoint failures.","schema":{"type":"string","enum":["no-store"],"example":"no-store"},"example":"no-store"},"CDN-Cache-Control":{"description":"Always `no-store` for endpoint failures.","schema":{"type":"string","enum":["no-store"],"example":"no-store"},"example":"no-store"},"Cloudflare-CDN-Cache-Control":{"description":"Always `no-store` for endpoint failures.","schema":{"type":"string","enum":["no-store"],"example":"no-store"},"example":"no-store"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","example":"DX data catalog is unavailable"}}},"examples":{"error":{"summary":"DX data catalog is unavailable","value":{"error":"DX data catalog is unavailable"}}}}}}}},"head":{"operationId":"headPublishedDxdataCatalog","summary":"Get published DX data catalog metadata","description":"Returns catalog headers without loading or returning the stored catalog body.","tags":["DX Data"],"security":[],"parameters":[{"name":"If-None-Match","in":"header","required":false,"description":"A strong or weak ETag validator, a comma-separated validator list, or `*`.","schema":{"type":"string","example":"\"78af90bc0094b4167143fabea17666892ec38c8de7723254fd74d3389da648e2\""},"examples":{"strong":{"summary":"Strong validator","value":"\"78af90bc0094b4167143fabea17666892ec38c8de7723254fd74d3389da648e2\""},"weak":{"summary":"Weak validator","value":"W/\"78af90bc0094b4167143fabea17666892ec38c8de7723254fd74d3389da648e2\""},"any":{"summary":"Any current representation","value":"*"}}}],"responses":{"200":{"description":"Metadata for the complete published catalog.","headers":{"Content-Length":{"description":"UTF-8 byte length of the selected immutable catalog representation.","schema":{"type":"integer","minimum":1,"example":4115441},"example":4115441},"ETag":{"description":"Strong validator containing the SHA-256 digest of the response body.","schema":{"type":"string","pattern":"^\"[0-9a-f]{64}\"$","example":"\"78af90bc0094b4167143fabea17666892ec38c8de7723254fd74d3389da648e2\""},"example":"\"78af90bc0094b4167143fabea17666892ec38c8de7723254fd74d3389da648e2\""},"Cache-Control":{"description":"Browser cache policy.","schema":{"type":"string","example":"public, max-age=300, stale-while-revalidate=60, stale-if-error=86400"},"example":"public, max-age=300, stale-while-revalidate=60, stale-if-error=86400"},"CDN-Cache-Control":{"description":"Shared CDN cache policy.","schema":{"type":"string","example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"Cloudflare-CDN-Cache-Control":{"description":"Cloudflare-specific shared cache policy.","schema":{"type":"string","example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"Cache-Tag":{"description":"Surrogate cache tag used to invalidate the catalog.","schema":{"type":"string","enum":["dxdata"],"example":"dxdata"},"example":"dxdata"}}},"304":{"description":"The supplied validator matches the current published catalog.","headers":{"Content-Length":{"description":"UTF-8 byte length of the selected immutable catalog representation.","schema":{"type":"integer","minimum":1,"example":4115441},"example":4115441},"ETag":{"description":"Strong validator containing the SHA-256 digest of the response body.","schema":{"type":"string","pattern":"^\"[0-9a-f]{64}\"$","example":"\"78af90bc0094b4167143fabea17666892ec38c8de7723254fd74d3389da648e2\""},"example":"\"78af90bc0094b4167143fabea17666892ec38c8de7723254fd74d3389da648e2\""},"Cache-Control":{"description":"Browser cache policy.","schema":{"type":"string","example":"public, max-age=300, stale-while-revalidate=60, stale-if-error=86400"},"example":"public, max-age=300, stale-while-revalidate=60, stale-if-error=86400"},"CDN-Cache-Control":{"description":"Shared CDN cache policy.","schema":{"type":"string","example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"Cloudflare-CDN-Cache-Control":{"description":"Cloudflare-specific shared cache policy.","schema":{"type":"string","example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"example":"public, max-age=60, stale-while-revalidate=86400, stale-if-error=604800"},"Cache-Tag":{"description":"Surrogate cache tag used to invalidate the catalog.","schema":{"type":"string","enum":["dxdata"],"example":"dxdata"},"example":"dxdata"}}},"500":{"description":"The published catalog is unavailable. This response is never cacheable.","headers":{"Cache-Control":{"description":"Always `no-store` for endpoint failures.","schema":{"type":"string","enum":["no-store"],"example":"no-store"},"example":"no-store"},"CDN-Cache-Control":{"description":"Always `no-store` for endpoint failures.","schema":{"type":"string","enum":["no-store"],"example":"no-store"},"example":"no-store"},"Cloudflare-CDN-Cache-Control":{"description":"Always `no-store` for endpoint failures.","schema":{"type":"string","enum":["no-store"],"example":"no-store"},"example":"no-store"}}},"503":{"description":"The published catalog is unavailable. This response is never cacheable.","headers":{"Cache-Control":{"description":"Always `no-store` for endpoint failures.","schema":{"type":"string","enum":["no-store"],"example":"no-store"},"example":"no-store"},"CDN-Cache-Control":{"description":"Always `no-store` for endpoint failures.","schema":{"type":"string","enum":["no-store"],"example":"no-store"},"example":"no-store"},"Cloudflare-CDN-Cache-Control":{"description":"Always `no-store` for endpoint failures.","schema":{"type":"string","enum":["no-store"],"example":"no-store"},"example":"no-store"}}}}}},"/tags":{"get":{"operationId":"tags.list","summary":"List all tags, groups, and song associations","tags":["Tags"],"parameters":[{"in":"query","name":"idScheme","schema":{"type":"string","enum":["legacy","public"],"example":"public"},"allowEmptyValue":true,"allowReserved":true,"example":"public"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"localized_name":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"},"description":"Localized string. Keys are language codes: \"en\", \"ja\", \"ko\", \"zh-Hans\", \"zh-Hant\", \"ms\", \"id\", \"fil\", \"vi\", \"th\", \"my\""},"localized_description":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"},"description":"Localized string. Keys are language codes: \"en\", \"ja\", \"ko\", \"zh-Hans\", \"zh-Hant\", \"ms\", \"id\", \"fil\", \"vi\", \"th\", \"my\""},"group_id":{"type":["number","null"]}},"required":["id","localized_name","localized_description","group_id"]}},"tagGroups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"localized_name":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"},"description":"Localized string. Keys are language codes: \"en\", \"ja\", \"ko\", \"zh-Hans\", \"zh-Hant\", \"ms\", \"id\", \"fil\", \"vi\", \"th\", \"my\""},"color":{"type":"string"}},"required":["id","localized_name","color"]}},"tagSongs":{"type":"array","items":{"type":"object","properties":{"song_id":{"type":"string"},"sheet_id":{"type":"string"},"sheet_type":{"type":"string"},"sheet_difficulty":{"type":"string"},"tag_id":{"type":"number"}},"required":["song_id","sheet_type","sheet_difficulty","tag_id"]}}},"required":["tags","tagGroups","tagSongs"]},"examples":{"example":{"summary":"List all tags, groups, and song associations response","value":{"tags":[{"id":1,"localized_name":{"en":"Umiyuri","ja":"ウミユリ配置","zh-Hans":"错位"},"localized_description":{"en":"Complete the intervening notes before returning to the star slide.","ja":"ほかのノーツを処理してからスターのスライドに戻る配置です。","zh-Hans":"先完成其他音符，再回来完成星星条的一种配置。"},"group_id":1}],"tagGroups":[{"id":1,"localized_name":{"en":"Patterns","ja":"パターン","zh-Hans":"配置"},"color":"#7dd3fc"}],"tagSongs":[{"song_id":"dsng_d9dbdcaw9v","sheet_id":"dsht_jxnmx39rwt","sheet_type":"std","sheet_difficulty":"master","tag_id":1}]}}}}}}},"security":[]}},"/tags/attach":{"post":{"operationId":"tags.attach","summary":"Attach a tag to a song","tags":["Tags"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"songId":{"type":"string"},"sheetId":{"type":"string"},"sheetType":{"type":"string"},"sheetDifficulty":{"type":"string"},"tagId":{"type":"number"}},"required":["songId","sheetType","sheetDifficulty","tagId"]},"examples":{"example":{"summary":"Attach a tag to a song request","value":{"songId":"dsng_d9dbdcaw9v","sheetId":"dsht_jxnmx39rwt","sheetType":"std","sheetDifficulty":"master","tagId":1}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"number"}},"required":["id"]},"examples":{"example":{"summary":"Attach a tag to a song response","value":{"id":1842}}}}}}}}},"/aliases":{"get":{"operationId":"aliases.list","summary":"List all song aliases","tags":["Aliases"],"parameters":[{"in":"query","name":"idScheme","schema":{"type":"string","enum":["legacy","public"],"example":"public"},"allowEmptyValue":true,"allowReserved":true,"example":"public"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"song_id":{"type":"string"},"name":{"type":"string"}},"required":["song_id","name"]}},"examples":{"example":{"summary":"List all song aliases response","value":[{"song_id":"dsng_d9dbdcaw9v","name":"海底谭你学不会"},{"song_id":"dsng_d9dbdcaw9v","name":"海𠷡"}]}}}}}},"security":[]},"post":{"operationId":"aliases.create","summary":"Create a new song alias","tags":["Aliases"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"songId":{"type":"string"},"name":{"type":"string"}},"required":["songId","name"]},"examples":{"example":{"summary":"Create a new song alias request","value":{"songId":"dsng_d9dbdcaw9v","name":"umiyuri"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"number"}},"required":["id"]},"examples":{"example":{"summary":"Create a new song alias response","value":{"id":512}}}}}}}}},"/arcades/games":{"get":{"operationId":"arcades.games","summary":"List supported arcade games","tags":["Arcades"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"manufacturer":{"type":"string"}},"required":["id","name","manufacturer"]}}},"required":["items"]},"examples":{"example":{"summary":"List supported arcade games response","value":{"items":[{"id":"maimai","name":"maimai DX","manufacturer":"SEGA"},{"id":"chunithm","name":"CHUNITHM","manufacturer":"SEGA"},{"id":"sdvx","name":"SOUND VOLTEX","manufacturer":"KONAMI"}]}}}}}}},"security":[]}},"/arcades/venues":{"get":{"operationId":"arcades.venues","summary":"List arcade venues","tags":["Arcades"],"parameters":[{"in":"query","name":"minLatitude","schema":{"type":"number","minimum":-90,"maximum":90,"example":35.3},"allowEmptyValue":true,"allowReserved":true,"example":35.3},{"in":"query","name":"minLongitude","schema":{"type":"number","minimum":-180,"maximum":180,"example":139.3},"allowEmptyValue":true,"allowReserved":true,"example":139.3},{"in":"query","name":"maxLatitude","schema":{"type":"number","minimum":-90,"maximum":90,"example":35.4},"allowEmptyValue":true,"allowReserved":true,"example":35.4},{"in":"query","name":"maxLongitude","schema":{"type":"number","minimum":-180,"maximum":180,"example":139.5},"allowEmptyValue":true,"allowReserved":true,"example":139.5},{"in":"query","name":"games","schema":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"example":"maimai"},"allowEmptyValue":true,"allowReserved":true,"example":"maimai"},{"in":"query","name":"chains","schema":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"example":"gigo"},"allowEmptyValue":true,"allowReserved":true,"example":"gigo"},{"in":"query","name":"query","schema":{"type":"string","minLength":1,"maxLength":100,"example":"ＢＬｉＸ茅ヶ崎"},"allowEmptyValue":true,"allowReserved":true,"example":"ＢＬｉＸ茅ヶ崎"},{"in":"query","name":"status","schema":{"type":"string","minLength":1,"maxLength":64,"example":"online"},"allowEmptyValue":true,"allowReserved":true,"example":"online"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^dven_[23456789abcdefghjkmnpqrstvwxyz]{10}$"},"name":{"type":"string"},"chainId":{"type":"string"},"countryCode":{"type":"string"},"region":{"type":"string"},"city":{"type":"string"},"address":{"type":"string"},"postalCode":{"type":"string"},"phone":{"type":"string"},"websiteUrl":{"type":"string"},"timezone":{"type":"string"},"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180},"installations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^dins_[23456789abcdefghjkmnpqrstvwxyz]{10}$"},"gameId":{"type":"string"},"gameName":{"type":"string"},"machineCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"version":{"type":"string"},"cabinetModel":{"type":"string"},"status":{"type":"string"},"region":{"type":"string"},"network":{"type":"string"},"price":{"type":"string"},"condition":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","gameId","gameName","observedAt"]}}},"required":["id","name","installations"]}},"chains":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string"},"countryCodes":{"type":"array","items":{"type":"string"}}},"required":["id","name","countryCodes"]}}},"required":["items","chains"]},"examples":{"example":{"summary":"List arcade venues response","value":{"items":[{"id":"dven_ctwf8yjqy6","name":"ＧｉＧＯ　ＢＬｉＸ茅ヶ崎","chainId":"gigo","countryCode":"JP","address":"神奈川県茅ヶ崎市新栄町１１ー８","timezone":"Asia/Tokyo","latitude":35.3318835481175,"longitude":139.405095190352,"installations":[{"id":"dins_mtd92acetd","gameId":"maimai","gameName":"maimai DX","status":"online","region":"JP","network":"ALL.Net","confidence":0.9,"observedAt":"2026-07-30T02:38:49.063Z"}]}],"chains":[{"id":"gigo","name":"GiGO","countryCodes":["JP"]}]}}}}}}},"security":[]}},"/arcades/venues/{id}":{"get":{"operationId":"arcades.venue","summary":"Get an arcade venue","tags":["Arcades"],"parameters":[{"in":"path","required":true,"name":"id","schema":{"type":"string","pattern":"^dven_[23456789abcdefghjkmnpqrstvwxyz]{10}$","example":"dven_ctwf8yjqy6"},"example":"dven_ctwf8yjqy6"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","pattern":"^dven_[23456789abcdefghjkmnpqrstvwxyz]{10}$"},"name":{"type":"string"},"chainId":{"type":"string"},"countryCode":{"type":"string"},"region":{"type":"string"},"city":{"type":"string"},"address":{"type":"string"},"postalCode":{"type":"string"},"phone":{"type":"string"},"websiteUrl":{"type":"string"},"timezone":{"type":"string"},"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180},"installations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^dins_[23456789abcdefghjkmnpqrstvwxyz]{10}$"},"gameId":{"type":"string"},"gameName":{"type":"string"},"machineCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"version":{"type":"string"},"cabinetModel":{"type":"string"},"status":{"type":"string"},"region":{"type":"string"},"network":{"type":"string"},"price":{"type":"string"},"condition":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","gameId","gameName","observedAt"]}}},"required":["id","name","installations"]},"examples":{"example":{"summary":"Get an arcade venue response","value":{"id":"dven_ctwf8yjqy6","name":"ＧｉＧＯ　ＢＬｉＸ茅ヶ崎","chainId":"gigo","countryCode":"JP","address":"神奈川県茅ヶ崎市新栄町１１ー８","timezone":"Asia/Tokyo","latitude":35.3318835481175,"longitude":139.405095190352,"installations":[{"id":"dins_mtd92acetd","gameId":"maimai","gameName":"maimai DX","status":"online","region":"JP","network":"ALL.Net","confidence":0.9,"observedAt":"2026-07-30T02:38:49.063Z"}]}}}}}}},"security":[]}},"/analytics/trending":{"get":{"operationId":"analytics.trending","summary":"Get trending sheets based on view counts","tags":["Analytics"],"parameters":[{"in":"query","name":"idScheme","schema":{"type":"string","enum":["legacy","public"],"example":"public"},"allowEmptyValue":true,"allowReserved":true,"example":"public"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"songId":{"type":"string"}},"required":["songId"]}},"dateFrom":{"type":"string"},"dateTo":{"type":"string"}},"required":["results","dateFrom","dateTo"]},"examples":{"example":{"summary":"Get trending sheets based on view counts response","value":{"results":[{"songId":"dsng_d9dbdcaw9v"},{"songId":"dsng_h48zscdxvs"},{"songId":"dsng_phnye8rsgn"}],"dateFrom":"2026-08-24","dateTo":"2026-08-31"}}}}}}},"security":[]}},"/comments/{commentId}/report":{"post":{"operationId":"comments.report","summary":"Report and hide a comment for the current viewer","tags":["Comments"],"parameters":[{"in":"path","required":true,"name":"commentId","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"example":1842},"example":1842}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{}},"examples":{"example":{"summary":"Report and hide a comment for the current viewer request","value":{}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"examples":{"example":{"summary":"Report and hide a comment for the current viewer response","value":{"success":true}}}}}}}}},"/comments/{commentId}/block-author":{"post":{"operationId":"comments.blockAuthor","summary":"Block the author and report the selected comment","tags":["Comments"],"parameters":[{"in":"path","required":true,"name":"commentId","schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"example":1842},"example":1842}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{}},"examples":{"example":{"summary":"Block the author and report the selected comment request","value":{}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"author_id":{"type":"string"}},"required":["success","author_id"]},"examples":{"example":{"summary":"Block the author and report the selected comment response","value":{"success":true,"author_id":"mai-player-user-id"}}}}}}}}},"/comments":{"post":{"operationId":"comments.create","summary":"Create a new comment","tags":["Comments"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"songId":{"type":"string"},"sheetId":{"type":"string"},"sheetType":{"type":"string"},"sheetDifficulty":{"type":"string"},"parentId":{"type":"number"},"content":{"type":"string"}},"required":["songId","sheetType","sheetDifficulty","content"]},"examples":{"example":{"summary":"Create a new comment request","value":{"songId":"dsng_d9dbdcaw9v","sheetId":"dsht_jxnmx39rwt","sheetType":"std","sheetDifficulty":"master","content":"The delayed star slide is the key to this chart."}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"number"},"created_at":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"string"}]}},"required":["id","created_at"]},"examples":{"example":{"summary":"Create a new comment response","value":{"id":1842,"created_at":"2026-08-30T15:04:05.000Z"}}}}}}}},"get":{"operationId":"comments.list","summary":"List comments for a specific song sheet","tags":["Comments"],"parameters":[{"in":"query","name":"songId","schema":{"type":"string","example":"dsng_d9dbdcaw9v"},"allowEmptyValue":true,"allowReserved":true,"required":true,"example":"dsng_d9dbdcaw9v"},{"in":"query","name":"sheetId","schema":{"type":"string","example":"dsht_jxnmx39rwt"},"allowEmptyValue":true,"allowReserved":true,"example":"dsht_jxnmx39rwt"},{"in":"query","name":"sheetType","schema":{"type":"string","example":"std"},"allowEmptyValue":true,"allowReserved":true,"required":true,"example":"std"},{"in":"query","name":"sheetDifficulty","schema":{"type":"string","example":"master"},"allowEmptyValue":true,"allowReserved":true,"required":true,"example":"master"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"author_id":{"type":"string"},"parent_id":{"type":["number","null"]},"created_at":{"anyOf":[{"type":"string","format":"date-time","x-native-type":"date"},{"type":"string"}]},"content":{"type":"string"},"display_name":{"type":["string","null"]}},"required":["id","author_id","parent_id","created_at","content","display_name"]}},"examples":{"example":{"summary":"List comments for a specific song sheet response","value":[{"id":1842,"parent_id":null,"created_at":"2026-08-30T15:04:05.000Z","content":"The delayed star slide is the key to this chart.","author_id":"mai-player-user-id","display_name":"mai-player"},{"id":1843,"parent_id":1842,"created_at":"2026-08-30T15:08:21.000Z","content":"Slowing the slide down helped me read it consistently.","author_id":"splash-plus-user-id","display_name":"splash-plus"}]}}}}}},"security":[]}},"/io/import/maimai-net/status":{"get":{"operationId":"maimaiNet.status","summary":"Whether each maimai NET region is reachable or under SEGA maintenance","tags":["Import"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"intl":{"type":"object","properties":{"status":{"type":"string","enum":["ok","maintenance","unknown"]},"checkedAt":{"type":"string"}},"required":["status","checkedAt"]},"jp":{"type":"object","properties":{"status":{"type":"string","enum":["ok","maintenance","unknown"]},"checkedAt":{"type":"string"}},"required":["status","checkedAt"]}},"required":["intl","jp"]},"examples":{"example":{"summary":"Whether each maimai NET region is reachable or under SEGA maintenance response","value":{"intl":{"status":"maintenance","checkedAt":"2026-11-06T01:30:00.000Z"},"jp":{"status":"ok","checkedAt":"2026-11-06T01:30:00.000Z"}}}}}}}},"security":[]}},"/io/import/lxns/authorize":{"post":{"operationId":"lxns.authorize","summary":"Get LXNS OAuth authorization URL","tags":["Import"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]},"examples":{"example":{"summary":"Get LXNS OAuth authorization URL response","value":{"url":"https://maimai.lxns.net/oauth/authorize?response_type=code&client_id=dxrating&scope=read_user_profile%20read_player&state=550e8400-e29b-41d4-a716-446655440000"}}}}}}}}},"/io/import/lxns/complete":{"post":{"operationId":"lxns.complete","summary":"Finish connecting LXNS with the code and state from the OAuth callback","description":"Requires the session of the user who started the authorization. The state is consumed on every call; a different or missing session fails with FORBIDDEN or UNAUTHORIZED (`data.reason: session_mismatch | not_signed_in`) and saves nothing. An unknown, reused or expired state fails with BAD_REQUEST (`data.reason: invalid_state`).","tags":["Import"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":2048},"state":{"type":"string","minLength":1,"maxLength":256}},"required":["code","state"]},"examples":{"example":{"summary":"Finish connecting LXNS with the code and state from the OAuth callback request","value":{"code":"example-authorization-code","state":"550e8400-e29b-41d4-a716-446655440000"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","const":true}},"required":["success"]},"examples":{"example":{"summary":"Finish connecting LXNS with the code and state from the OAuth callback response","value":{"success":true}}}}}}}}},"/io/import/lxns/status":{"get":{"operationId":"lxns.status","summary":"Check LXNS OAuth connection status","tags":["Import"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"connected":{"type":"boolean"}},"required":["connected"]},"examples":{"example":{"summary":"Check LXNS OAuth connection status response","value":{"connected":true}}}}}}}}},"/io/import/lxns/start":{"post":{"operationId":"lxns.start","summary":"Import scores from LXNS using stored OAuth token","tags":["Import"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"scores":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"songName":{"type":"string"},"level":{"type":"string"},"levelIndex":{"type":"number"},"achievements":{"type":"number"},"fc":{"type":["string","null"]},"fs":{"type":["string","null"]},"type":{"type":"string"},"dxScore":{"type":"number"}},"required":["id","songName","level","levelIndex","achievements","fc","fs","type"]}},"count":{"type":"number"}},"required":["scores","count"]},"examples":{"example":{"summary":"Import scores from LXNS using stored OAuth token response","value":{"scores":[{"id":417,"songName":"ウミユリ海底譚","level":"13","levelIndex":3,"achievements":100.5,"fc":"ap","fs":"fsd","type":"standard","dxScore":2277},{"id":1469,"songName":"\"411Ψ892\"","level":"14","levelIndex":3,"achievements":99.8475,"fc":"fc","fs":null,"type":"dx","dxScore":2784}],"count":2}}}}}}}}},"/io/import/lxns/disconnect":{"post":{"operationId":"lxns.disconnect","summary":"Disconnect LXNS account","tags":["Import"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"examples":{"example":{"summary":"Disconnect LXNS account response","value":{"success":true}}}}}}}}},"/io/import/maimai-net":{"post":{"operationId":"maimai.fetchRecords","summary":"Fetch records from MaimaiNET","tags":["Import"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"password":{"type":"string"},"region":{"type":"string","enum":["jp","intl"]}},"required":["id","password","region"]},"examples":{"example":{"summary":"Fetch records from MaimaiNET request","value":{"id":"example_sega_id","password":"not-a-real-password","region":"jp"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"recentRecords":{"type":"array","items":{"type":"object","properties":{"sheet":{"type":"object","properties":{"songId":{"type":"string"},"type":{"type":"string"},"difficulty":{"type":"string"}},"required":["songId","type","difficulty"]},"achievement":{"type":"object","properties":{"rate":{"type":"number"},"dxScore":{"type":"object","properties":{"achieved":{"type":"number"},"total":{"type":"number"}},"required":["achieved","total"]},"flags":{"type":"array","items":{"type":"string","enum":["fullCombo","fullCombo+","allPerfect","allPerfect+","syncPlay","fullSync","fullSync+","fullSyncDX","fullSyncDX+"]}}},"required":["rate","dxScore","flags"]},"play":{"type":"object","properties":{"track":{"type":"number"},"timestamp":{"type":"string"}},"required":["track"]}},"required":["sheet","achievement","play"]}},"musicRecords":{"type":"array","items":{"type":"object","properties":{"sheet":{"type":"object","properties":{"songId":{"type":"string"},"type":{"type":"string"},"difficulty":{"type":"string"}},"required":["songId","type","difficulty"]},"achievement":{"type":"object","properties":{"rate":{"type":"number"},"dxScore":{"type":"object","properties":{"achieved":{"type":"number"},"total":{"type":"number"}},"required":["achieved","total"]},"flags":{"type":"array","items":{"type":"string","enum":["fullCombo","fullCombo+","allPerfect","allPerfect+","syncPlay","fullSync","fullSync+","fullSyncDX","fullSyncDX+"]}}},"required":["rate","dxScore","flags"]}},"required":["sheet","achievement"]}}},"required":["recentRecords","musicRecords"]},"examples":{"example":{"summary":"Fetch records from MaimaiNET response","value":{"recentRecords":[{"sheet":{"songId":"ウミユリ海底譚","type":"std","difficulty":"master"},"achievement":{"rate":100.5,"dxScore":{"achieved":2277,"total":2277},"flags":["allPerfect+","fullSyncDX+"]},"play":{"track":1,"timestamp":"2026-08-30T14:52:13.000Z"}}],"musicRecords":[{"sheet":{"songId":"ウミユリ海底譚","type":"std","difficulty":"master"},"achievement":{"rate":100.5,"dxScore":{"achieved":2277,"total":2277},"flags":["allPerfect+","fullSyncDX+"]}}]}}}}}}}}},"/announcements":{"get":{"operationId":"announcements.list","summary":"List current and upcoming announcements","description":"Every announcement that has not ended and starts within the next 24 hours, in every language and for every target. The response is the same for every caller and is cached at the edge for about a minute; revalidate with If-None-Match. Clients choose the ones that apply to them (platform, region, app version, start time) and the viewer’s language with `locales`: the viewer’s tag, then `locales.fallbacks[tag]`, then `en`.","tags":["Announcements"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"locales":{"type":"object","properties":{"supported":{"type":"array","items":{"type":"string"}},"fallbacks":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["supported","fallbacks"]},"announcements":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"revision":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"severity":{"type":"string","enum":["info","warning","critical"]},"title":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"},"description":"Text per language tag (see `locales.supported`). \"en\" is always present."},"body":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"},"description":"Text per language tag (see `locales.supported`). \"en\" is always present."},"link":{"anyOf":[{"type":"object","properties":{"url":{"type":"string","description":"An https URL, or a path on dxrating.net such as /songs/…"},"label":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"},"description":"Text per language tag (see `locales.supported`). \"en\" is always present."},{"type":"null"}]}},"required":["url","label"]},{"type":"null"}]},"startsAt":{"type":"string","description":"ISO 8601. Clients hide the announcement until then."},"endsAt":{"description":"ISO 8601, or null for no end","type":["string","null"]},"platforms":{"type":"array","items":{"type":"string"},"description":"Empty: every platform. Known values: web, ios. Ignore values you do not know."},"regions":{"type":"array","items":{"type":"string"},"description":"Empty: every region. Matched against the viewer’s chosen region (dxdata server ids: jp, intl, usa, cn)."},"minAppVersion":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d+){0,2}$","description":"An app version, compared numerically part by part (1.10 > 1.9)"},{"type":"null"}],"description":"iOS only, inclusive"},"maxAppVersion":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d+){0,2}$","description":"An app version, compared numerically part by part (1.10 > 1.9)"},{"type":"null"}],"description":"iOS only, inclusive"},"dismissible":{"type":"boolean"}},"required":["id","revision","severity","title","body","link","startsAt","endsAt","platforms","regions","minAppVersion","maxAppVersion","dismissible"]}}},"required":["locales","announcements"]},"examples":{"example":{"summary":"List current and upcoming announcements response","value":{"locales":{"supported":["en","ja","zh-Hant"],"fallbacks":{"zh-Hant":["zh-Hans"]}},"announcements":[{"id":1,"revision":1,"severity":"warning","title":{"en":"Scheduled maintenance","ja":"メンテナンスのお知らせ"},"body":{"en":"Score imports pause on Sunday from 02:00 to 03:00 UTC.","ja":"日曜 02:00〜03:00 (UTC) はスコアのインポートを停止します。"},"link":{"url":"/developers","label":{"en":"Details","ja":"詳細"}},"startsAt":"2026-11-08T00:00:00.000Z","endsAt":"2026-11-09T03:00:00.000Z","platforms":[],"regions":["intl"],"minAppVersion":null,"maxAppVersion":null,"dismissible":true}]}}}}}}},"security":[]}}},"externalDocs":{"description":"API stability policy","url":"https://dxrating.net/developers#api-stability"},"tags":[{"name":"DX Data","description":"The complete song and chart catalog in one document: songs, sheets, internal levels, versions, tags and aliases. The endpoint to start with."},{"name":"Tags","description":"Community tags of charts, and their groups."},{"name":"Aliases","description":"Community aliases (nicknames) of songs."},{"name":"Arcades","description":"Arcade venues that have maimai DX cabinets."},{"name":"Analytics","description":"Charts that are viewed most on DXRating."},{"name":"Comments","description":"Chart comments. For DXRating apps; not covered by the stability policy."},{"name":"Import","description":"Score import. For DXRating apps; not covered by the stability policy."},{"name":"Announcements"}]}