Anime&Manga Finder

Anime&Manga Finder · Acciones GPT

Anime Image Search API

API for searching anime scenes using images, integrating trace.moe's functionalities.

  • GET /searchSearch Anime by Image URL
  • POST /searchSearch Anime by Image Upload
Esquema original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "Anime Image Search API",
    "version": "1.0.0",
    "description": "API for searching anime scenes using images, integrating trace.moe's functionalities."
  },
  "servers": [
    {
      "url": "https://api.trace.moe"
    }
  ],
  "paths": {
    "/search": {
      "get": {
        "summary": "Search Anime by Image URL",
        "operationId": "searchByImageUrl",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "description": "URL of the image to search for",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          },
          {
            "name": "cutBorders",
            "in": "query",
            "description": "Enable to cut black borders in images",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "anilistID",
            "in": "query",
            "description": "Anilist ID to filter the search",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "anilistInfo",
            "in": "query",
            "description": "Include detailed Anilist info in the response",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnimeSearchResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "Search Anime by Image Upload",
        "operationId": "searchByImageUpload",
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "image": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnimeSearchResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AnimeSearchResponse": {
        "type": "object",
        "properties": {
          "frameCount": {
            "type": "integer"
          },
          "error": {
            "type": "string"
          },
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnimeSearchResult"
            }
          }
        }
      },
      "AnimeSearchResult": {
        "type": "object",
        "properties": {
          "anilist": {
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "$ref": "#/components/schemas/AnilistInfo"
              }
            ]
          },
          "filename": {
            "type": "string"
          },
          "episode": {
            "type": "integer",
            "nullable": true
          },
          "from": {
            "type": "number"
          },
          "to": {
            "type": "number"
          },
          "similarity": {
            "type": "number"
          },
          "video": {
            "type": "string",
            "format": "uri"
          },
          "image": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "AnilistInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "idMal": {
            "type": "integer"
          },
          "title": {
            "type": "object",
            "properties": {
              "native": {
                "type": "string"
              },
              "romaji": {
                "type": "string"
              },
              "english": {
                "type": "string"
              }
            }
          },
          "synonyms": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isAdult": {
            "type": "boolean"
          }
        }
      }
    }
  }
}

Jikan API

Unofficial MyAnimeList API for fetching anime and manga data.

  • GET /animeSearch for anime by various criteria including name.
  • GET /mangaSearch for manga by various criteria including name.
Esquema original API
{
  "openapi": "3.0.0",
  "info": {
    "title": "Jikan API",
    "description": "Unofficial MyAnimeList API for fetching anime and manga data.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.jikan.moe/v4",
      "description": "Jikan API server"
    }
  ],
  "paths": {
    "/anime": {
      "get": {
        "operationId": "getAnimeSearch",
        "summary": "Search for anime by various criteria including name.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "The name of the anime to search for.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved search results for anime.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AnimeSearchResult"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/manga": {
      "get": {
        "operationId": "getMangaSearch",
        "summary": "Search for manga by various criteria including name.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "The name of the manga to search for.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved search results for manga.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MangaSearchResult"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AnimeSearchResult": {
        "type": "object",
        "properties": {
          "mal_id": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "synopsis": {
            "type": "string"
          },
          "image_url": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "MangaSearchResult": {
        "type": "object",
        "properties": {
          "mal_id": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "synopsis": {
            "type": "string"
          },
          "image_url": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    }
  }
}