🏁Quick Start

Get your API keys

Almost all requests don't need an API Key to work, if you need any function that needs it, you can request one from Any Bot support server

Make your first request

To make your first request, send a request to the dog endpoint. This will get a dog, which is nice.

Return Dog

GET https://api.any-bot.xyz/api/v1/dog

It will return a random photo and a random fact of some dog.

Headers

{
    "message": "OK",
    "image": "http://api.any-bot.tech/img/dog/mydogimage.jpg",
    "fact": "Dogs are the best friends of humans",
    "status": 200
}

Take a look at how you might call this method using curl:

let xhr = new XMLHttpRequest();

xhr.open("GET", "https://api.any-bot.xyz/api/v1/dog");
xhr.setRequestHeader("API-KEY", "Optional")

xhr.send();

xhr.onload = () => console.log(xhr.responseText);

Last updated