Ask Yes Man API Documentation

Welcome to the Ask Yes Man API documentation. This guide will help you integrate Ask Yes Man's powerful decision-making capabilities into your application.

Quick Start

The Ask Yes Man API is a simple GET endpoint that always returns "Yes" as an answer.

GET https://askyesman.com/api.html

Request Example

fetch('https://askyesman.com/api.html')
    .then(response => response.json())
    .then(data => console.log(data.answer));
curl https://askyesman.com/api.html

Response Format

{
    "answer": "Yes",
    "_links": {
        "self": { "href": "https://askyesman.com/api.html" },
        "docs": { "href": "https://askyesman.com/docs.html" },
        "upgrade": { "href": "https://askyesman.com/upgrade.html" }
    },
    "_embedded": {
        "metadata": {
            "confidence": 100,
            "response_type": "affirmative",
            "version": "1.0.0"
        }
    }
}

Response Fields

answer

The definitive response to your question (always "Yes")

_links

Related resources and actions available

_embedded.metadata

Additional information about the response

Rate Limits

Free Tier: unlimited requests per day
Pro Tier: 10 x unlimited requests per day

Example Applications