81trust / 100

Openapi

by Aayat AI in Search & web

x402 APIPassing, checked 3 h ago

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

GET https://aayatai.com/openapi

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
41 ms typical, 41 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/openapi?api=stripe.com&limit=50&q=customers"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Fopenapi
const res = await pay("https://aayatai.com/openapi?api=stripe.com&limit=50&q=customers");
console.log(await res.json());

Example input

{
  "api": "stripe.com",
  "limit": 50,
  "q": "customers"
}

Example output

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

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40241 ms$0.005