Documentation

Introduction

Welcome to the animark-nato. This API provides access to manga information, including top manga, latest releases, detailed manga information, search functionality, and more.

Base URL

The base URL for all API endpoints is:

http://animark-nato.vercel.app

Endpoints

1. Get Top Manga

Retrieve a list of top-viewed manga.

GET /top?page={page}

Parameters:

Name Type Description
page integer Optional. Page number for pagination. Defaults to 1.

Response:

{
        "currentPage": 1,
        "hasNextPage": true,
        "pageLimit": 999,
        "results": [
            {
                "title": "Manga Title",
                "image": "https://example.com/image.jpg",
                "id": "manga-id",
                "latestChapter": "Chapter 100",
                "description": "Manga description."
            },
            ...
        ]
    }

2. Get Latest Manga

Retrieve a list of the latest manga releases.

GET /latest?page={page}

Parameters:

Name Type Description
page integer Optional. Page number for pagination. Defaults to 1.

Response:

{
        "currentPage": 1,
        "hasNextPage": true,
        "pageLimit": 999,
        "results": [
            {
                "id": "manga-id",
                "title": "Manga Title",
                "image": "https://example.com/image.jpg",
                "latestChapter": "Chapter 100",
                "description": "Manga description."
            },
            ...
        ]
    }

3. Get Manga Information

Retrieve detailed information about a specific manga.

GET /info/{id}

Parameters:

Name Type Description
id string Required. The unique identifier of the manga.

Response:

{
        "title": "Manga Title",
        "image": "https://example.com/image.jpg",
        "altTitle": "Alternative Title",
        "author": "Author Name",
        "description": "Manga description.",
        "status": "Ongoing",
        "genres": ["Action", "Adventure"],
        "updatedOn": "2024-12-17",
        "chapters": [
            {
                "chapterName": "Chapter 1",
                "chapterNumber": "1"
            },
            ...
        ]
    }

4. Search Manga

Search for manga by title.

GET /search?query={query}

Parameters:

Name Type Description
query string Required. The search term for the manga title.

Response:

{
        "query": "search-term",
        "results": [
            {
                "id": "manga-id",
                "title": "Manga Title",
                "image": "https://example.com/image.jpg",
                "link": "https://example.com/manga/manga-id",
                "latestChapter": "Chapter 100"
            },
            ...
        ]
    }

5. Read Manga Chapter

Retrieve the pages of a specific manga chapter.

GET /read/{id}/{chapter}