They Said So Quotes API
quotes · Data
They Said So Quotes API offers a complete feature rich REST API access to its quotes platform. This is the documentation for the world famous [quotes API](https://theysaidso.com/api). If you are a subscriber and you are trying this from a console add 'X-TheySaidSo-Api-Secret' header and add your api key as the header value. You can test and play with the API right here on this web page. For using the private end points and subscribing to the API please visit https://theysaidso.com/api.
Authentication
Sample Requests
Gets `Quote of the Day`. Optional `category` param determines the category of returned quote of the day
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/quotes.rest/3.1/qod?category=example&language=en"
import requests
params = {
"category": "example",
"language": "en"
}
response = requests.get(
"https://api.apis.guru/v2/specs/quotes.rest/3.1/qod",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/quotes.rest/3.1/qod');
url.searchParams.set('category', 'example');
url.searchParams.set('language', 'en');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/quotes.rest/3.1/qod")
q := baseURL.Query()
q.Set("category", "example")
q.Set("language", "en")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/quotes.rest/3.1/qod")
uri.query = URI.encode_www_form({
"category" => "example",
"language" => "en"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/quotes.rest/3.1/qod?" . http_build_query([
"category" => "example",
"language" => "en"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Gets a details about a qshow.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/quotes.rest/3.1/qshow?id=1"
import requests
params = {
"id": "1"
}
response = requests.get(
"https://api.apis.guru/v2/specs/quotes.rest/3.1/qshow",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/quotes.rest/3.1/qshow');
url.searchParams.set('id', '1');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/quotes.rest/3.1/qshow")
q := baseURL.Query()
q.Set("id", "1")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/quotes.rest/3.1/qshow")
uri.query = URI.encode_www_form({
"id" => "1"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/quotes.rest/3.1/qshow?" . http_build_query([
"id" => "1"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Gets a `Quote` with a given `id`.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/quotes.rest/3.1/quote?id=1"
import requests
params = {
"id": "1"
}
response = requests.get(
"https://api.apis.guru/v2/specs/quotes.rest/3.1/quote",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/quotes.rest/3.1/quote');
url.searchParams.set('id', '1');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/quotes.rest/3.1/quote")
q := baseURL.Query()
q.Set("id", "1")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/quotes.rest/3.1/quote")
uri.query = URI.encode_www_form({
"id" => "1"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/quotes.rest/3.1/quote?" . http_build_query([
"id" => "1"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with They Said So Quotes API?
They Said So Quotes API is a Data API. Developers commonly use data APIs for:
- enriching your app with third-party datasets
- building data pipelines and ETL workflows
- querying and searching large datasets
- powering research, analysis, and reporting tools
- syncing reference data into your own systems
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. They Said So Quotes API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?