API v1 · Edge Runtime · CORS-enabled

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.

Edge RuntimeCORS BypassSFW FilterImage ProxyZero Config
Disclaimer & Permissions

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

Fetch the most popular manga
curl "https://comix-api.vercel.app/api/manga/home"
Search for a title
curl "https://comix-api.vercel.app/api/manga/search?q=solo+leveling"
Get comic details
curl "https://comix-api.vercel.app/api/manga/n8we-the-chick-class-hunter-is-filial"
Read a chapter
curl "https://comix-api.vercel.app/api/manga/read?chapterId=8295088"

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=true

Image 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.

Why is this needed? Browsers block images from external CDNs that set 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

GET/api/manga/home

Returns 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.

Try it live
ParameterTypeRequiredDescription
sfwbooleanoptionalSet to true to strip out any NSFW-tagged titles (Hentai, Erotica, Smut) from the response.e.g. true
GET/api/manga/:id

Retrieves full metadata for a single comic: synopsis, status, genres, themes, authors, artists, scanlation groups, chapter counts, and proxied cover art.

Try it live
ParameterTypeRequiredDescription
idstringrequiredThe 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
sfwbooleanoptionalIf true, returns 404 for NSFW comics rather than their data.e.g. true
GET/api/manga/:id/chapters

Returns the paginated chapter list for a comic, including chapter numbers, upload dates, and which scanlation group released each chapter.

ParameterTypeRequiredDescription
idstringrequiredThe manga ID slug.e.g. n8we-the-chick-class-hunter-is-filial
pagenumberoptionalPage number.e.g. 1
limitnumberoptionalChapters per page.e.g. 30
scanlation_group_idnumberoptionalFilter chapters by a specific scanlation group ID.e.g. 42
GET/api/manga/read

Returns all image URLs for a specific chapter, already signed and decrypted dynamically using our mock-browser VM sandboxing. Features support for scrambled canvases.

Try it live
ParameterTypeRequiredDescription
chapterIdstringrequiredThe numeric chapter ID obtained from the chapter list endpoint.e.g. 8295088
GET/api/manga/collections/:id

Fetches metadata and all manga items from a specific public user collection. Great for displaying custom theme lists.

Try it live
ParameterTypeRequiredDescription
idstringrequiredThe numeric collection ID (e.g. 1692).e.g. 1692
GET/api/manga/browse

Browse the entire catalogue without a search term. Defaults to newest-first ordering. Supports predefined helper feeds like Trending Webtoons and Trending Manga.

Try it live
ParameterTypeRequiredDescription
feedstringoptionalPredefined helper feed to get trending manga/webtoons. Values: trending-webtoon, trending-manga.e.g. trending-webtoon
sortstringoptionalSort 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
sfwbooleanoptionalFilter out NSFW content.e.g. true
content_rating[]string[]optionalFilter by content rating(s). Values: safe, suggestive, erotica, pornographic.e.g. safe
pagenumberoptionalPage number.e.g. 1
limitnumberoptionalResults per page.e.g. 20
GET/api/manga/filter

Query the catalogue with specific genre or attribute filters, without needing a keyword. Perfect for genre browsing screens.

Try it live
ParameterTypeRequiredDescription
genresstringoptionalComma-separated list of genre slugs to filter by.e.g. action,adventure
sfwbooleanoptionalFilter out NSFW content.e.g. true
content_rating[]string[]optionalFilter by content rating(s). Values: safe, suggestive, erotica, pornographic.e.g. safe
pagenumberoptionalPage number.e.g. 1
limitnumberoptionalResults per page.e.g. 20
GET/api/manga/genres

Exposes all available genres, publication formats (like Web Comics), and target demographics supported by the filter and browse endpoints.

Try it live

This endpoint has no parameters.

GET/api/manga/groups

Fetches the paginated list of all active scanlation groups on the platform. Supports keyword search.

Try it live
ParameterTypeRequiredDescription
keywordstringoptionalSearch query for filtering groups by name.e.g. asura
pagenumberoptionalPage number.e.g. 1
limitnumberoptionalResults per page.e.g. 20
GET/api/manga/collections

Fetches the paginated list of all public user curated manga collections, sorted by recent activity.

Try it live
ParameterTypeRequiredDescription
pagenumberoptionalPage number.e.g. 1
limitnumberoptionalResults per page.e.g. 20
GET/api/image

Fetches 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.

ParameterTypeRequiredDescription
urlstring (URL)requiredThe fully-qualified CDN image URL to proxy.e.g. https://static.comix.to/covers/...
Comix API — Unofficial · Not affiliated with Comix.toBuilt with Next.js · Edge Runtime