1000+ Positive Affirmations
Say "Yes" with Style
Get random, creative, and sometimes hilarious affirmations. Perfect for any scenario where you need a graceful way to agree.
Your Affirmation
Click button above to get a creative affirmation...
API Documentation
Integrate Yes-as-a-Service into your applications with ease
Returns a random, high-quality affirmation in JSON format.
Response Body
{
"reason": "Absolutely! I would love to help with that."
}
We keep it fair for everyone. Here are the limits:
Requests
120 per minute
Scope
Per IP Address
When you're too eager to say yes, you'll get this response:
Error Response
{
"error": "Too many requests, please try again later. (120 reqs/min/IP)"
}
Get up and running in seconds with these snippets:
cURL
curl https://yes.lavx.hu/yes
JavaScript
fetch('https://yes.lavx.hu/yes')
.then(r => r.json())
.then(d => console.log(d.reason));
Python
import requests
r = requests.get('https://yes.lavx.hu/yes')
print(r.json()['reason'])