Random Quote
curl --request GET \
--url https://api.example.com/api/v1/quotes/randomimport requests
url = "https://api.example.com/api/v1/quotes/random"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/quotes/random', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/quotes/random",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/quotes/random"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/quotes/random")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/quotes/random")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"id": "a1b2c3d4-...",
"quote_text": "Whatever you lose, you'll find it again. But what you throw away you'll never get back.",
"anime": { "id": "...", "name": "Fullmetal Alchemist: Brotherhood", "slug": "fullmetal-alchemist-brotherhood" },
"character": { "id": "...", "name": "Khamrakh", "slug": "khamrakh", "role": "supporting" },
"episode": null,
"language": "en",
"tags": ["wisdom", "loss"],
"created_at": "2026-02-20T14:00:00Z"
}
}
Quotes
Random Quote
Get a random anime quote
GET
/
api
/
v1
/
quotes
/
random
Random Quote
curl --request GET \
--url https://api.example.com/api/v1/quotes/randomimport requests
url = "https://api.example.com/api/v1/quotes/random"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/quotes/random', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/quotes/random",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/quotes/random"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/quotes/random")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/quotes/random")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"id": "a1b2c3d4-...",
"quote_text": "Whatever you lose, you'll find it again. But what you throw away you'll never get back.",
"anime": { "id": "...", "name": "Fullmetal Alchemist: Brotherhood", "slug": "fullmetal-alchemist-brotherhood" },
"character": { "id": "...", "name": "Khamrakh", "slug": "khamrakh", "role": "supporting" },
"episode": null,
"language": "en",
"tags": ["wisdom", "loss"],
"created_at": "2026-02-20T14:00:00Z"
}
}
Returns a single randomly-selected quote. Great for bots, widgets, or daily quote features.
This is a public endpoint — no API key required! When called without a key, requests are rate-limited to 10/min and 100/day per IP. Providing an API key grants your plan’s higher limits.
{
"status": "success",
"data": {
"id": "a1b2c3d4-...",
"quote_text": "Whatever you lose, you'll find it again. But what you throw away you'll never get back.",
"anime": { "id": "...", "name": "Fullmetal Alchemist: Brotherhood", "slug": "fullmetal-alchemist-brotherhood" },
"character": { "id": "...", "name": "Khamrakh", "slug": "khamrakh", "role": "supporting" },
"episode": null,
"language": "en",
"tags": ["wisdom", "loss"],
"created_at": "2026-02-20T14:00:00Z"
}
}