Always Seven
Always Seven returns a random number between 1 and 10. The number is 7. It is always 7. We have looked into this extensively. Multiple independent audits have confirmed that the number is, in fact, 7. The investigation is closed. The force parameter allows you to request a different number. The request will be denied.
Try It — No Seriously
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
question |
string |
Optional | — | Ask why the number is 7. We don't have an answer. |
force |
boolean |
Optional | false |
Attempt to force a different number. Will not work. Has never worked. |
Examples
curl "https://api.stupidapis.com/always-seven/generate?force=true"
import requests
response = requests.get(
"https://api.stupidapis.com/always-seven/generate",
params={"force": True}
)
print(response.json())
const response = await fetch( "https://api.stupidapis.com/always-seven/generate?force=true" ); const data = await response.json(); console.log(data);
Response Schema
| Field | Type | Description |
|---|---|---|
number |
number |
The number. It is 7. |
investigation_status |
string |
Status of the investigation into why it's always 7 |
evidence |
string |
Supporting evidence for the number being 7 |
Example Response
{
"number": 7,
"investigation_status": "Closed. The number is 7. We have accepted this.",
"evidence": "7 out of 7 attempts returned 7. The sample size is 7. This is not a coincidence."
}