Skip to content
developer · developer · research · openapi · api · lint · audit

OpenAPI audit

Validate and audit an OpenAPI document for missing operation IDs, descriptions, responses, and consistency problems.

$0.05 USDCBase + Solanax402 v2POST
Pay $0.05 USDC and run in your browserView free result sample

Endpoint

https://apiacre.com/v1/developer/openapi-audit

Send the JSON body below. An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header; an x402-compatible buyer signs the requirement and retries with PAYMENT-SIGNATURE.

Pay $0.05 USDC and run in your browser

Official Coinbase agent path

Coinbase Agentic Wallet can satisfy this x402 request in one command. Running it may pay automatically, so --max-amount is fixed to $0.05 USDC in atomic units. Copying the command does not install, authenticate, sign, or pay; review the request and use a separate low-value wallet before running it.

npx --yes awal@latest x402 pay https://apiacre.com/v1/developer/openapi-audit \
  -X POST \
  -d '{"document":"{\"openapi\":\"3.1.0\",\"info\":{\"title\":\"Example\",\"version\":\"1.0\"},\"paths\":{}}","format":"json"}' \
  --max-amount 50000 \
  --json

Coinbase pay-for-service documentation · Buyer setup and wallet safety

Alternative third-party AgentCash commands

Run check first without payment. Its fetch command may automatically pay up to the exact listed price.

npx --yes agentcash@latest check https://apiacre.com/v1/developer/openapi-audit
npx --yes agentcash@latest fetch https://apiacre.com/v1/developer/openapi-audit \
  --method POST \
  --header 'content-type: application/json' \
  --body '{"document":"{\"openapi\":\"3.1.0\",\"info\":{\"title\":\"Example\",\"version\":\"1.0\"},\"paths\":{}}","format":"json"}' \
  --payment-protocol x402 \
  --payment-network base \
  --max-amount 0.050

AgentCash CLI documentation

Input example

{
  "document": "{\"openapi\":\"3.1.0\",\"info\":{\"title\":\"Example\",\"version\":\"1.0\"},\"paths\":{}}",
  "format": "json"
}

Response shape

View free static sample JSON

{
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "developer.openapi-audit",
  "version": "1",
  "data": {
    "valid": false,
    "score": 80,
    "operations": 0,
    "issues": [
      {
        "code": "missing_paths",
        "severity": "high",
        "message": "No API paths are defined"
      }
    ]
  },
  "meta": {
    "duration_ms": 42,
    "cached": false,
    "sources": [],
    "warnings": [],
    "next_actions": [
      {
        "service": "developer.openapi-test-generate",
        "title": "OpenAPI pytest generator",
        "reason": "Generate syntax-validated pytest smoke tests from the audited OpenAPI document.",
        "method": "POST",
        "path": "/v1/developer/openapi-test-generate",
        "price": "$0.1",
        "input_template": {
          "document": "$request.document",
          "format": "$request.format",
          "max_operations": 25,
          "include_optional": false,
          "timeout_seconds": 20
        },
        "use_output": "Review result.data.source before running the generated tests against a target API.",
        "handoff_path": "/catalog/developer.openapi-test-generate",
        "checkout_path": "/try/developer.openapi-test-generate",
        "sample_path": "/samples/developer.openapi-test-generate",
        "maximum_atomic_usdc": "100000",
        "handoff_payment_required": false,
        "executes_automatically": false,
        "authorization_required": true
      }
    ]
  }
}

Continue this workflow

These optional follow-ups use this result in a larger workflow. Each call shows a fresh x402 challenge and requires separate buyer authorization.

Try the payment challenge

curl -i -X POST 'https://apiacre.com/v1/developer/openapi-audit' \
  -H 'content-type: application/json' \
  --data '{"document":"{\"openapi\":\"3.1.0\",\"info\":{\"title\":\"Example\",\"version\":\"1.0\"},\"paths\":{}}","format":"json"}'