How Many Licks
The How Many Licks API answers any "how many X to Y" question with a confident integer, a margin, reasoning, two assumptions, and an invoked principle ("Tootsie's Law", "the Inverse Lick Theorem"). The math does not check out. The confidence is professional.
Try It — No Seriously
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
question |
string |
Required | — | A how-many question. |
Examples
curl "https://api.stupidapis.com/how-many-licks/count?question=how+many+licks+to+the+center+of+a+tootsie+pop"
import requests
response = requests.get(
"https://api.stupidapis.com/how-many-licks/count",
params={"question": "how many licks to the center of a tootsie pop"}
)
print(response.json())
const response = await fetch( "https://api.stupidapis.com/how-many-licks/count?question=how+many+licks+to+the+center+of+a+tootsie+pop" ); const data = await response.json(); console.log(data);
Response Schema
| Field | Type | Description |
|---|---|---|
question |
string |
Echoed back |
answer |
number |
A confident integer |
variance |
string |
The margin |
reasoning |
string |
How we got there |
assumptions |
string[] |
Two assumptions |
principle_invoked |
string |
A made-up principle |
confidence |
string |
Always professional |
Example Response
{
"question": "how many licks to the center of a tootsie pop",
"answer": 247,
"variance": "±15",
"reasoning": "derived by setting the rate constant equal to the lap counter, then multiplying by the average humidity",
"assumptions": [
"standard atmosphere",
"a participant of average enthusiasm"
],
"principle_invoked": "Tootsie's Law",
"confidence": "professional"
}
MCP Access
This API is available as an MCP tool for AI assistants. Connect your agent to:
POST https://api.stupidapis.com/how-many-licks/mcp
POST https://api.stupidapis.com/mcp
Use Pipeworx to connect this MCP tool to Claude, ChatGPT, and other AI assistants with no code.