TL;DR
Kanye Rest serves random Kanye West quotes through two endpoints — https://api.kanye.rest/ and https://kanye.rest/ — both pointing to the same API (kanye.rest redirects to api.kanye.rest). Created by developer Andrew Batallones, the API pulls from a curated collection of Ye's interviews, tweets, album lyrics, and public appearances. Quotes range from the profound ("I am Warhol") to the absurd ("I am a creative genius"). No authentication, no rate limits, just a single JSON endpoint returning {"quote": "..."}. Perfect for adding a splash of Yeezus energy to any project.
Quick start: https://api.kanye.rest/ or https://kanye.rest/
No API key needed — just make a request!
How to Use This API
1. Get a Random Quote (Primary Endpoint)
https://api.kanye.rest/
Returns: {"quote": "I am Warhol. I am the No. 1 most impactful artist of our generation."}
2. Alternative Endpoint (with redirect)
https://kanye.rest/
This shorter URL redirects to https://api.kanye.rest/. Both URLs return the same JSON format. Use whichever is easier to remember.
3. Response Format
{
"quote": "Believe in yourself and you can achieve anything"
}
The response is a single JSON object with one key: quote (a string containing the random Kanye West quote). There is no ID, no pagination, no metadata — just the quote.
4. JavaScript — Daily Kanye Widget
fetch('https://api.kanye.rest/')
.then(res => res.json())
.then(data => {
document.getElementById('quote').textContent = data.quote;
document.getElementById('attribution').textContent = '\u2014 Kanye West';
})
.catch(err => console.error('Kanye failed:', err));
5. Python — Build Quote Collection
import requests
quotes = set()
for _ in range(30):
q = requests.get('https://api.kanye.rest/').json()['quote']
quotes.add(q)
print(f"Got {len(quotes)} unique Kanye quotes:")
for q in sorted(quotes):
print(f" \u2022 {q}")
6. Python — Using the Alternative Endpoint
import requests
# Both endpoints work identically
resp = requests.get('https://kanye.rest/', allow_redirects=True)
quote = resp.json()['quote']
print(f'Kanye says: {quote}')
7. cURL Examples
# Primary endpoint
curl https://api.kanye.rest/
# Alternative endpoint (follows redirect)
curl -L https://kanye.rest/
https://api.kanye.rest/
Frequently Asked Questions
- What's the difference between api.kanye.rest and kanye.rest?
- There is no functional difference.
kanye.restissues a 301 redirect toapi.kanye.rest. Both serve the same random quotes. You can use either URL in your code; if you use the short URL, just make sure your HTTP client follows redirects. - How many quotes are in the database?
- The API draws from a curated collection of over 100 Kanye West quotes sourced from interviews, albums, Twitter, and public appearances. New quotes may be added periodically.
- What format does the response use?
- The API returns a simple JSON object with a single
quotekey:{"quote": "..."}. That's it. No nesting, no metadata, no pagination — just the quote. - Can I get a specific quote by ID?
- The API only supports random quotes. There's no endpoint for specific quotes, sequential access, or filtering by category. Each call returns a random quote from the full collection.
- Is there a rate limit?
- No rate limits have been documented. The API is lightweight and designed for casual to moderate use. For high-traffic production applications, consider caching quotes locally.
- Are the quotes verified and accurate?
- Most quotes are sourced from public appearances, interviews, and verified media. Some may be paraphrased from longer statements. The quotes are intended as entertainment rather than a scholarly reference.
- Can I use this in a commercial product?
- The API is free for any use. The quotes themselves are public statements by Kanye West. No attribution is required but linking to kanye.rest is appreciated by the developer.
API Details
- API URL
https://api.kanye.rest/(primary)https://kanye.rest/(redirects to primary)- Documentation
- kanye.rest
- Category
- Fun
- Authentication
- Not Required
- Geographic Coverage
- Global
- Response Format
- JSON (
application/json) - HTTP Methods
- GET
What You Can Build
- Quote-of-the-day widget for your browser homepage or mobile app
- Kanye-themed inspiration board cycling through quotes on rotation
- Motivational poster generator using Kanye quotes as captions on images
- Discord/Twitter/Telegram bot that posts random Kanye quotes on command
- Quote guessing game — is it Kanye or a famous philosopher? Score tracking included
- Smart home daily greeting — your smart speaker starts the day with a Kanye quote