Rosty API
The Rosty API lets you create and maintain manga reading playlists from scripts, tools or your own apps.
Create an access token in My profile → API → API Access. The token is shown only once, so copy it and store it safely. You can revoke it at any time.
This public API covers playlists, your own account and read-only catalog data (tags, manga and SoundCloud search).
Quickstart
- Log in to Rosty and create a token in My profile → API → API Access.
- Send it on every request as
Authorization: Bearer rosty_pat_.... - Start creating playlists.
# List your playlists (including private ones)
curl "https://api.rosty.app/api/v1/playlists?mine=1" \
-H "Authorization: Bearer rosty_pat_..."
# Create a private playlist (may start with no songs)
curl -X POST "https://api.rosty.app/api/v1/playlists" \
-H "Authorization: Bearer rosty_pat_..." \
-H "Content-Type: application/json" \
-d '{
"name": "One Piece - Chapter 1",
"mangaId": "13",
"chapter": 1,
"isPublic": false,
"songs": []
}'
# Add songs (replace the full list)
curl -X PUT "https://api.rosty.app/api/v1/playlists/42/songs" \
-H "Authorization: Bearer rosty_pat_..." \
-H "Content-Type: application/json" \
-d '{
"expectedVersion": 1,
"songs": [
{
"songUrl": "https://soundcloud.com/forss/flickermood",
"rangeStart": 1,
"rangeEnd": 5,
"loop": false
}
]
}' Visibility: while isPublic
is false the playlist is visible only to you.
Making it public requires at least one song.
Concurrency: send expectedVersion
on writes. If someone else wrote first you get a 409 VERSION_CONFLICT
instead of silently overwriting their changes.
Main endpoints
Quick overview of the endpoints most integrations need. The reference below is generated from the OpenAPI specification and is the source of truth for request and response shapes.
| Method | Path |
|---|---|
| GET | /api/v1/auth/me |
| GET | /api/v1/playlists?mine=1 |
| GET | /api/v1/playlists?mangaId=13&chapter=1 |
| GET | /api/v1/playlists/chapters?mangaId=13 |
| GET | /api/v1/playlists/suggestions?mangaId=13&tag=sad |
| GET | /api/v1/tags |
| POST | /api/v1/playlists |
| GET | /api/v1/playlists/{id} |
| PATCH | /api/v1/playlists/{id} |
| PUT | /api/v1/playlists/{id} |
| PUT | /api/v1/playlists/{id}/songs |
| DELETE | /api/v1/playlists/{id} |
| POST | /api/v1/playlists/{id}/like |
| DELETE | /api/v1/playlists/{id}/like |
| POST | /api/v1/playlists/{id}/publish |
| GET | /api/v1/soundcloud/search?q=... |
| GET | /api/v1/manga/search?q=... |
| GET | /api/v1/status |
Errors
API errors use the same shape:
{ "ok": false, "error": { "code": "...", "message": "..." } }.
The public manga search endpoint uses { "error": "...", "message": "..." } instead.
| HTTP | When |
|---|---|
| 400 | Malformed request |
| 401 | Missing, invalid or expired token |
| 403 | Not the owner or token without the required scope |
| 404 | Not found (or a private playlist that is not yours) |
| 409 | The playlist was modified by someone else |
| 422 | The content failed validation |
| 429 | Too many requests |
| 500 | Server error |
| 503 | Rosty is under maintenance |
API reference
Reference generated from the OpenAPI specification.