🤖
Any API
  • 👋Welcome!
  • 🏁Quick Start
  • Reference
    • 📝API Reference
      • 🐶Animals
      • 🍥Anime
      • ⚙️Utils
Powered by GitBook
On this page
  • Flip Text
  • Flip the text
  • Base64
  • Encode to base64
  • Decode to base64
  • Binary
  • Encode to binary
  • Decode to binary
  • Coin Flip
  • Coin Flip
  • Password
  • Create a Random Password
  • Upload

Was this helpful?

  1. Reference
  2. API Reference

Utils

All routes that do varied things.

Good to know: Some routes in this section will require an API Key

Flip Text

Flip the text

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

All text put into this input will be flipped

Query Parameters

Name
Type
Description

text*

string

Text to be flipped

Headers

Name
Type
Description

API_KEY

string

Your API Key (Optional)

{
    "message": "OK",
    "text": "Hello World",
    "flipped": "dlroW olleH",
    "status": 200
}
{
    "message": "Bad Request",
    "status": 400,
    "error": "text is required",
    "example": "?text=HelloWorld"
}

Base64

Encode to base64

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

The text that has been put will be coded based64

Query Parameters

Name
Type
Description

text*

string

Text to be coded

Headers

Name
Type
Description

API_KEY

string

Your API Key (Optional)

{
    "message": "OK",
    "text": "Hello World",
    "base64": "SGVsbG8gV29ybGQ=",
    "status": 200
}
{
    "message": "Bad Request",
    "status": 400,
    "error": "text is required",
    "example": "?text=HelloWorld"
}

Decode to base64

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

The text that has been put will be decoded based64

Query Parameters

Name
Type
Description

text*

string

Text to be decoded

Headers

Name
Type
Description

API_KEY

string

Your API Key (Optional)

{
    "message": "OK",
    "text": "Hello World",
    "base64": "SGVsbG8gV29ybGQ=",
    "status": 200
}
{
    "message": "Bad Request",
    "status": 400,
    "error": "text is required",
    "example": "?text=HelloWorld"
}

Binary

Encode to binary

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

The text that has been put will be coded binary

Query Parameters

Name
Type
Description

text*

string

Text to be coded

Headers

Name
Type
Description

API_KEY

string

Your API Key (Optional)

{
    "message": "OK",
    "text": "Hello World",
    "binary": "1001000 1100101 1101100 1101100 1101111 100000 1010111 1101111 1110010 1101100 1100100",
    "status": 200
}
{
    "message": "Bad Request",
    "status": 400,
    "error": "text is required",
    "example": "?text=HelloWorld"
}

Decode to binary

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

The text that has been put will be decoded binary

Query Parameters

Name
Type
Description

text*

string

Text to be decoded

Headers

Name
Type
Description

API_KEY

string

Your API Key (Optional)

{
    "message": "OK",
    "text": "Hello World",
    "binary": "1001000 1100101 1101100 1101100 1101111 100000 1010111 1101111 1110010 1101100 1100100",
    "status": 200
}
{
    "message": "Bad Request",
    "status": 400,
    "error": "text is required",
    "example": "?text=HelloWorld"
}

Coin Flip

Coin Flip

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

Return a random side of a coin

Headers

Name
Type
Description

API_KEY

string

Your API Key (Optional)

{
    "message": "OK",
    "result": "heads",
    "status": 200
}

Password

Create a Random Password

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

Create a strong and random password

Query Parameters

Name
Type
Description

length

number

The desired size of the password (Maximum 200)

Headers

Name
Type
Description

API_KEY

string

Your API Key (Optional)

{
    "message": "OK",
    "password": "%JWN9+%Ee-",
    "length": 10,
    "status": 200
}
{
    "message": "OK",
    "password": "-hX5#JmYI+xrbB_Ng8y/Lhtn6pWqg=PBNxCZSLq?PsnSgm/2#2/ms7@UC_h1vhpw&*SsK6qEq/$Al*Jm3Uyd&WoJjKu.c9fs&Jl0xu*CafPo#5HKg@gIjybnFF#4/PV@,_W&N./JDFOfrW$olc30vJkh9QuZ_r5-f@Y7$Km&CtVgK_p7hOW7d0=SLxiYqLDv#/xD2a14",
    "note": "The length of the note is limited to 200 characters",
    "length": 200,
    "status": 200
}

Upload

This route necessarily needs an API Key

POST https://api.any-bot.xyz/api/v1

Query Parameters

Name
Type
Description

name*

string

Name of the file

url*

URL

URL of the file

id*

number

ID of the file

Headers

Name
Type
Description

API_KEY*

string

Your API Key

{
  "message": "File uploaded",
  "name": "123_test",
  "url": "https://api.any-bot.tech/img/uploads/123_test"
}
{
    "message": "API_KEY required"
}
{
  "message": "Missing parameters"
}
PreviousAnime

Last updated 2 years ago

Was this helpful?

📝
⚙️