Comix API
Documentation
An unofficial Next.js edge API proxy for Comix.to. Get structured JSON for manga search, details, chapter listings, and reading — with automatic CORS bypass and SFW filtering.
This is an unofficial API proxy for educational and personal use only. We are not affiliated with Comix.to. If you intend to use their content in a public-facing project, please ensure you have the necessary permissions. Do not abuse their servers.
Quick Start
SFW / Content Filtering
By default, all content is returned. Append ?sfw=true to any listing endpoint to automatically strip out NSFW-tagged titles (Hentai, Erotica, Smut). Supported on: /home, /search, /filter, /browse. On the /:id endpoint it returns a 404 instead of data.
GET /api/manga/search?q=elf&sfw=trueImage Proxy System
All cover and img URLs in API responses are already routed through /api/image?url=.... You do not need to call it manually — just drop the URLs into <img src="..."> as-is.
Cross-Origin-Resource-Policy: same-origin. The proxy fetches images server-side and re-serves them with CORP: cross-origin + a 24-hour cache.API Reference
/api/manga/homeReturns six curated lists from the Comix.to homepage: popular trending titles, latest hot chapter updates, recently added series, completed series, popular scanlation groups, and public curated collections. Perfect for a rich landing feed.
| Parameter | Type | Required | Description |
|---|---|---|---|
sfw | boolean | optional | Set to true to strip out any NSFW-tagged titles (Hentai, Erotica, Smut) from the response.e.g. true |
/api/manga/searchFull-text search against the Comix.to database. Because the internal API is proxied directly, all advanced filters (genres, types, status, content_rating) work natively — just pass them as query parameters.
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | required | The search keyword.e.g. solo leveling |
sfw | boolean | optional | Filter out NSFW content.e.g. true |
types[] | string[] | optional | Filter by type(s). Values: manga, manhwa, manhua, webtoon.e.g. manhwa |
status | string | optional | Filter by publication status. Values: releasing, completed, hiatus.e.g. releasing |
genres[] | string[] | optional | Filter by genre slugs.e.g. action |
content_rating[] | string[] | optional | Filter by content rating(s). Values: safe, suggestive, erotica, pornographic.e.g. safe |
page | number | optional | Page number for pagination.e.g. 1 |
limit | number | optional | Number of results per page (default 20).e.g. 20 |
/api/manga/:idRetrieves full metadata for a single comic: synopsis, status, genres, themes, authors, artists, scanlation groups, chapter counts, and proxied cover art.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | required | The manga ID slug (hash + slug, e.g. n8we-the-chick-class-hunter-is-filial). Obtained from any listing endpoint.e.g. n8we-the-chick-class-hunter-is-filial |
sfw | boolean | optional | If true, returns 404 for NSFW comics rather than their data.e.g. true |
/api/manga/:id/chaptersReturns the paginated chapter list for a comic, including chapter numbers, upload dates, and which scanlation group released each chapter.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | required | The manga ID slug.e.g. n8we-the-chick-class-hunter-is-filial |
page | number | optional | Page number.e.g. 1 |
limit | number | optional | Chapters per page.e.g. 30 |
scanlation_group_id | number | optional | Filter chapters by a specific scanlation group ID.e.g. 42 |
/api/manga/readReturns all image URLs for a specific chapter, already signed and decrypted dynamically using our mock-browser VM sandboxing. Features support for scrambled canvases.
| Parameter | Type | Required | Description |
|---|---|---|---|
chapterId | string | required | The numeric chapter ID obtained from the chapter list endpoint.e.g. 8295088 |
/api/manga/collections/:idFetches metadata and all manga items from a specific public user collection. Great for displaying custom theme lists.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | required | The numeric collection ID (e.g. 1692).e.g. 1692 |
/api/manga/browseBrowse the entire catalogue without a search term. Defaults to newest-first ordering. Supports predefined helper feeds like Trending Webtoons and Trending Manga.
| Parameter | Type | Required | Description |
|---|---|---|---|
feed | string | optional | Predefined helper feed to get trending manga/webtoons. Values: trending-webtoon, trending-manga.e.g. trending-webtoon |
sort | string | optional | Sort order. Values: relevance:desc, chapter_updated_at:desc, created_at:desc, title:asc, year:desc, score:desc, views_7d:desc, follows_total:desc.e.g. views_7d:desc |
sfw | boolean | optional | Filter out NSFW content.e.g. true |
content_rating[] | string[] | optional | Filter by content rating(s). Values: safe, suggestive, erotica, pornographic.e.g. safe |
page | number | optional | Page number.e.g. 1 |
limit | number | optional | Results per page.e.g. 20 |
/api/manga/filterQuery the catalogue with specific genre or attribute filters, without needing a keyword. Perfect for genre browsing screens.
| Parameter | Type | Required | Description |
|---|---|---|---|
genres | string | optional | Comma-separated list of genre slugs to filter by.e.g. action,adventure |
sfw | boolean | optional | Filter out NSFW content.e.g. true |
content_rating[] | string[] | optional | Filter by content rating(s). Values: safe, suggestive, erotica, pornographic.e.g. safe |
page | number | optional | Page number.e.g. 1 |
limit | number | optional | Results per page.e.g. 20 |
/api/manga/genresExposes all available genres, publication formats (like Web Comics), and target demographics supported by the filter and browse endpoints.
This endpoint has no parameters.
/api/manga/groupsFetches the paginated list of all active scanlation groups on the platform. Supports keyword search.
| Parameter | Type | Required | Description |
|---|---|---|---|
keyword | string | optional | Search query for filtering groups by name.e.g. asura |
page | number | optional | Page number.e.g. 1 |
limit | number | optional | Results per page.e.g. 20 |
/api/manga/collectionsFetches the paginated list of all public user curated manga collections, sorted by recent activity.
| Parameter | Type | Required | Description |
|---|---|---|---|
page | number | optional | Page number.e.g. 1 |
limit | number | optional | Results per page.e.g. 20 |
/api/imageFetches an external image server-side and re-serves it with permissive CORS headers. This solves the 403 Forbidden errors caused by Comix.to's Cross-Origin-Resource-Policy headers. All image URLs returned by this API already route through this endpoint automatically — you don't need to call it manually.
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string (URL) | required | The fully-qualified CDN image URL to proxy.e.g. https://static.comix.to/covers/... |