Kanye Rest API
Random Kanye West quotes from a delightfully simple free API.
What it does
Kanye REST (api.kanye.rest) returns a random Kanye West quote. One endpoint, no parameters, no key, CORS enabled.
Base URL
Authentication
None. GET / returns {"quote": "..."}; add ?format=text for a bare string.
Code examples
curl -s https://api.kanye.rest curl -s "https://api.kanye.rest?format=text"
const { quote } = await fetch("https://api.kanye.rest").then(r => r.json());
console.log(quote);Rate limits & quotas
No key, no documented rate limit. The quote set is finite (a few hundred), so repeats are expected. There is a companion api.kanye.rest/text and a syntax-highlighting demo, but the JSON root is all you need.
Key response fields
| quote | The quote text |
Common errors
| 5xx | Rare — retry or use a bundled fallback. |
| (repeats) | Small dataset, not an error. |
When to use it (and alternatives)
A novelty for a ‘random quote’ button, Discord bot or easter egg. For general famous quotes use Quotable; for advice, Advice Slip.
FAQ
Does it work from the browser?
Yes — CORS is enabled, so a direct fetch works.
Can I get plain text instead of JSON?
Yes — ?format=text returns just the quote string.
How many quotes are there?
A few hundred, contributed on GitHub. Expect repeats after a while; cache one per session if that bothers you.
New to APIs?
Short guides for working with this API — and any other.