API Documentation
Developer documentation for the Kaemit lyrics API.
/lyric
Lyrics API
Retrieve synchronized or plain lyrics by song title with an optional artist filter.
Lyrics API
GET
/lyric
Returns raw LRC-format lyrics or plain text from available lyric sources.
Query Parameters
| Parameter | Type | Description | |
|---|---|---|---|
| q | string | required | Song title or alias |
| artist | string | optional | Filter by artist name — improves search accuracy |
Example
curl "https://kaemit.cc/lyric?q=Broken+Script&artist=Noyuri"
Returns the raw lyrics text — LRC format when synced is available, plain text otherwise. 404 when not found.
Rate limit: 30/minute.
Error Codes
| Code | Meaning |
|---|---|
| 400 | Bad Request — missing or invalid parameters |
| 404 | Not Found — lyrics not found for the given query |
| 429 | Too Many Requests — lyrics API rate limit exceeded |
| 500 | Server Error — unexpected failure |