What Anime

What Anime

Anime

Scan anime image to get specific detail

Visit API🔁 Alternatives

📚 Documentation & Examples

Everything you need to integrate with What Anime

🚀 Quick Start Examples

What Anime Javascript Examplejavascript
// What Anime API Example
const response = await fetch('https://soruly.github.io/trace.moe/', {
    method: 'GET',
    headers: {
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);

Introducing Trace.moe - A Public API Documentation

Are you tired of manually searching for anime screenshots or videos on the internet? Look no further! Trace.moe is your one-stop solution for searching anime screenshots and videos. It is an open API documentation that can help you identify the anime from a screenshot, video or GIF.

API Requests

To access the Trace.moe API, start by sending a POST request to https://trace.moe/api/search with the following JSON data:

{
  "image": "data:image/jpeg;base64,/9j/4QqB"
}

You can replace the image property with your own encoded image data.

JavaScript Example

Here's an example of how to use the Trace.moe API in JavaScript:

const imageURL = 'https://i.imgur.com/TcnbPWb.jpg';
const formData = new FormData();
const xhr = new XMLHttpRequest();

formData.append('image', imageURL);

xhr.addEventListener('readystatechange', function() {
  if (this.readyState === this.DONE) {
    const response = JSON.parse(this.responseText);
    console.log(response.docs);
  }
});

xhr.open('POST', 'https://trace.moe/api/search');
xhr.send(formData);

The above code snippet sends a POST request with the image URL data to the Trace.moe API, parses the JSON response, and logs the docs property.

Conclusion

Trace.moe API is a helpful resource for searching anime screenshots and videos. You can use it to identify the anime from a screenshot or video URL. Using the API with JavaScript is simple and straightforward, as shown in the example code above. Happy coding and searching!

📊 30-Day Uptime History

Daily uptime tracking showing online vs offline minutes

Sep 8Sep 10Sep 12Sep 14Sep 16Sep 18Sep 20Sep 22Sep 24Sep 26Sep 28Sep 30Oct 2Oct 4Oct 704008001440Minutes
Online
Offline

Related APIs in Anime