78trust / 100

Openapi Preflight

by Forest Web in Weather & location

x402 APIPassing, checked 2 h ago

Verify OpenAPI/Swagger document reachability, parseability, operations/auth/servers. Base mainnet USDC

POST https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/openapi/preflight

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
91.7%
Response time
190 ms typical, 220 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/openapi/preflight" \
  -H "content-type: application/json" \
  -d '{"url":"https://example.com/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%2Fhttp--forest-gas-station-mainnet--lcjl27p8lmjs.code.run%2Fopenapi%2Fpreflight
const res = await pay("https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/openapi/preflight", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://example.com/openapi.json"}),
});
console.log(await res.json());

Example input

{
  "url": "https://example.com/openapi.json"
}

Example output

{
  "capability": "openapi.preflight",
  "data": {
    "auth_types": [],
    "operation_count": 1,
    "operations": [],
    "parse_valid": true,
    "reachable": true,
    "servers": [],
    "url": "https://example.com/openapi.json",
    "version": "3.0.3"
  },
  "meta": {
    "cache": "miss",
    "checked_at": "2026-01-01T00:00:00.000Z",
    "duration_ms": 1,
    "provider": "openapi-parser"
  },
  "ok": true,
  "version": "1"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402220 ms$0.003
6 h agoPassed402190 ms$0.003
9 h agoPassed402228 ms$0.003
13 h agoPassed402154 ms$0.003
16 h agoPassed402197 ms$0.003
20 h agoPassed402197 ms$0.003
24 h agoPassed402144 ms$0.003
27 h agoTimed out---
31 h agoPassed40243 ms$0.003
35 h agoPassed40237 ms$0.003
38 h agoPassed40237 ms$0.003
43 h agoPassed402202 ms$0.003