Skip to content

Make it a Quote

Generate quote

POST https://api.voids.top/quote
Host: api.voids.top
Content-Type: application/json

{
  "username": "abcdef...", // text after @,
  "display_name": "Nickname",
  "text": "Example message", // message content
  "avatar": "https://media.discordapp.com/...", // only Discord CDN urls or data:image/png;base64,*** are supported
  "color": true // bool
}


The response for valid parameters is as follows:

{
  "success": true, // bool
  "url": "https://cdn.voids.top/quotes/..." // cdn url
}

Use HTTP(s) Library to request

py
import requests

response = requests.post("https://api.voids.top/quote", json={
  "username": "abcdef...",
  "display_name": "Nickname",
  "text": "Example message",
  "avatar": "https://media.discordapp.com/...",
  "color": True
})
print(response.json())
js
fetch("https://api.voids.top/quote", {
  method: "POST",
  headers: {
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    username: "abcdef...",
    display_name: "Nickname",
    text: "Example message",
    avatar: "https://media.discordapp.com/...",
    color: true
  })
})
.then(response => response.json())
.then(data => {
  console.log(data);
})
.catch(error => {
  console.error("Error:", error);
});