16trust / 100

Openapi Summary

by Vextorium in Search & web

x402 APIFailing, checked 3 h ago

Fetch an OpenAPI/Swagger spec (JSON or YAML) and summarize it for an agent: title, version, servers, authentication schemes and every endpoint with method, path, summary and required parameters.

POST https://api.vextorium.com/v1/openapi-summary

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
3 h ago: Amount "0.004" is not in atomic token units
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/openapi-summary" \
  -H "content-type: application/json" \
  -d '{"limit":5,"url":"https://petstore3.swagger.io/api/v3/openapi.json"}'
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fv1%2Fopenapi-summary
const res = await pay("https://api.vextorium.com/v1/openapi-summary", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"limit":5,"url":"https://petstore3.swagger.io/api/v3/openapi.json"}),
});
console.log(await res.json());

Example input

{
  "limit": 5,
  "url": "https://petstore3.swagger.io/api/v3/openapi.json"
}

Example output

{
  "api_version": "1.0.27",
  "authentication": {
    "api_key": "apiKey (header)",
    "petstore_auth": "oauth2"
  },
  "description": "This is a sample Pet Store Server based on the OpenAPI 3.0 specification.  You can find out more about\nSwagger at [https://swagger.io](https://swagger.io). In the third iteration of the pet store, we've switched to the design first approach!\nYou can now help us improve the API whether it's by making…",
  "endpoints": [
    {
      "body": true,
      "deprecated": false,
      "id": "updatePet",
      "labels": [
        "pet"
      ],
      "method": "PUT",
      "required": [],
      "route": "/pet",
      "summary": "Update an existing pet."
    },
    {
      "body": true,
      "deprecated": false,
      "id": "addPet",
      "labels": [
        "pet"
      ],
      "method": "POST",
      "required": [],
      "route": "/pet",
      "summary": "Add a new pet to the store."
    }
  ],
  "openapi": "3.0.4",
  "servers": [
    "/api/v3"
  ],
  "title": "Swagger Petstore - OpenAPI 3.0",
  "total_endpoints": 19
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoAmount "0.004" is not in atomic token units40277 ms$0.004
8 h agoAmount "0.004" is not in atomic token units402131 ms$0.004
12 h agoAmount "0.004" is not in atomic token units402101 ms$0.004
16 h agoAmount "0.004" is not in atomic token units40285 ms$0.004
20 h agoAmount "0.004" is not in atomic token units40282 ms$0.004
24 h agoAmount "0.004" is not in atomic token units40277 ms$0.004
28 h agoAmount "0.004" is not in atomic token units40275 ms$0.004
32 h agoAmount "0.004" is not in atomic token units40293 ms$0.004
36 h agoAmount "0.004" is not in atomic token units402129 ms$0.004
41 h agoAmount "0.004" is not in atomic token units40280 ms$0.004
44 h agoAmount "0.004" is not in atomic token units40283 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40280 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40284 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40279 ms$0.004
3 days agoAmount "0.004" is not in atomic token units40287 ms$0.004