# Aayat AI OpenAPI Explorer

> Aayat AI OpenAPI Explorer is a paid API for AI agents from aayatai.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Fetches and parses any public OpenAPI/Swagger spec by URL, docs address, or APIs.guru name, returning structured metadata including title, version, servers, auth schemes, tags, and all operations with filtering support.

## Facts

- Endpoint: GET https://aayatai.com/openapi?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-openapi-explorer-b8d12bfe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s__Qf8m6uOLTF1ZETuOie

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aayat-ai-openapi-explorer-b8d12bfe
```

Example prompt: Can you fetch the Stripe API spec from APIs.guru and show me all the operations related to customers — their paths, methods, and summaries?

## When to prefer this

Use this endpoint when an AI agent needs to programmatically understand or navigate any public REST API — especially when you have a spec URL, a docs address, or an APIs.guru API name. It is the best choice for discovering available operations, auth requirements, and server details without manually reading docs. Prefer it over general web search when the API is already in the APIs.guru directory or has a known OpenAPI spec URL, and when you need structured, machine-readable operation data rather than prose documentation.

## Known failure modes

- Spec URL not reachable or returns non-JSON — source error in response
- APIs.guru name not found — empty or error result
- Spec is malformed or not a valid OpenAPI/Swagger document — parse failure
- No operations match the given tag or search query — empty operations array
- Limit reached before all operations are returned — truncated flag set to true
- Base/docs URL provided but no spec found at common paths — resolution failure

## How this service works

Understand any public API fast: give its OpenAPI/Swagger spec URL, its docs or base URL, or a name from the APIs.guru directory (?api=stripe.com); we find the spec and return title, version, servers, auth schemes, tags and every operation (method, path, summary, parameters, body, responses), filterable by tag or search. ?api=stripe.com&q=customer

## Output

A JSON object containing: where the spec was sourced from (URL and resolution method), API title, version, description, list of server base URLs, array of auth schemes (type, scheme, header), list of tags, aggregate totals (path count, schema count, operation count, deprecated count), and an array of matched operations each with HTTP method, path, summary, operationId, tags, parameters, request body content types, response codes, and deprecation flag. Also includes fetchedAt timestamp and a truncated flag if the limit was reached.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "maxLength": 100,
       "description": "Only operations whose path, summary or operationId contains this text."
      },
      "api": {
       "type": "string",
       "maxLength": 120,
       "description": "Or: an APIs.guru name, e.g. stripe.com, twilio.com:api, github.com:api.github.com."
      },
      "tag": {
       "type": "string",
       "maxLength": 100,
       "description": "Only operations with this tag."
      },
      "url": {
       "type": "string",
       "format": "uri",
       "maxLength": 2048,
       "description": "Spec URL (JSON), or the API's docs/base address to look for a spec at common paths."
      },
      "limit": {
       "type": "integer",
       "default": 200,
       "maximum": 1000,
       "minimum": 1,
       "description": "Most operations to list."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "source",
      "title",
      "servers",
      "auth",
      "totals",
      "operations"
     ],
     "properties": {
      "auth": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "tags": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "title": {
       "type": [
        "string",
        "null"
       ]
      },
      "trust": {
       "type": "object",
       "description": "Third-party text, cleaned: read trust.notice; removed = what we stripped."
      },
      "source": {
       "type": "object",
       "description": "Where the spec came from (url, via: direct / common-path / apis.guru)."
      },
      "totals": {
       "type": "object"
      },
      "matched": {
       "type": "integer"
      },
      "servers": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "version": {
       "type": [
        "s
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "auth": [
   {
    "in": null,
    "name": "bearerAuth",
    "type": "http",
    "flows": [],
    "header": null,
    "scheme": "bearer"
   }
  ],
  "tags": [],
  "title": "Stripe API",
  "source": {
   "key": "stripe.com",
   "url": "https://api.apis.guru/v2/specs/stripe.com/2022-11-15/openapi.json",
   "via": "apis.guru"
  },
  "totals": {
   "paths": 400,
   "schemas": 900,
   "deprecated": 12,
   "operations": 540
  },
  "matched": 20,
  "servers": [
   "https://api.stripe.com/"
  ],
  "version": "2022-11-15",
  "fetchedAt": "2026-09-28T12:00:00.000Z",
  "truncated": false,
  "operations": [
   {
    "auth": null,
    "body": {
     "required": false,
     "contentTypes": [
      "application/x-www-form-urlencoded"
     ]
    },
    "path": "/v1/customers",
    "tags": [],
    "method": "POST",
    "summary": "Creates a new customer object.",
    "responses": [
     "200",
     "default"
    ],
    "deprecated": false,
    "parameters": [],
    "operationId": "PostCustomers"
   }
  ],
  "description": "The Stripe REST API.",
  "specVersion": "3.0.0"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-openapi-explorer-b8d12bfe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
