# Bot Bazaar OpenAPI Tool-Lint for x402 Readiness

> Bot Bazaar OpenAPI Tool-Lint for x402 Readiness is a paid API for AI agents from bot-bazaar.fly.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Lints an OpenAPI operation (by operationId, HTTP method, and path) for AI agent tool-calling correctness and x402 payment-readiness, checking the HTTP 402 response definition.

## Facts

- Endpoint: GET https://bot-bazaar.fly.dev/v1/x402/openapi-tool-lint?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bot-bazaar-openapi-tool-lint-for-x402-readiness-799e0b75
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NQYAAt8RlJyc4aGpcVvc2

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 bot-bazaar-openapi-tool-lint-for-x402-readiness-799e0b75
```

Example prompt: Can you lint my OpenAPI operation 'createListing' (a GET method) on Bot Bazaar to check if it's set up correctly for AI agent tool-calling and x402 payment readiness, including its HTTP 402 response definition?

## When to prefer this

Use this endpoint when you need to verify that a specific OpenAPI operation is correctly structured for AI agent tool-calling and x402 micropayment integration, especially before publishing to an agent marketplace. Prefer this over generic OpenAPI validators when x402 compliance and agent-facing API design are the primary concerns.

## Known failure modes

- Missing or invalid operationId returns a lint error indicating the field is absent or malformed
- HTTP method not in allowed enum (GET, HEAD, DELETE) returns a validation error
- Malformed or missing HTTP 402 response definition triggers a specific x402 readiness failure
- Payment failure ($0.01 USDC) causes the request to be rejected before linting occurs
- Empty or null input object returns a schema validation error

## How this service works

Lint an OpenAPI operation (operation_id, HTTP method, path, HTTP 402 response definition) for AI agent tool-calling and x402 readiness.

## Output

Returns structured lint results identifying issues with the OpenAPI operation's operationId, HTTP method, path, and HTTP 402 response definition — flagging anything that makes it non-compliant with AI agent tool-calling conventions or x402 payment readiness requirements.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "operation_id": {
       "type": "string",
       "description": "OpenAPI operationId"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bot-bazaar-openapi-tool-lint-for-x402-readiness-799e0b75/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bot-bazaar.fly.dev](https://www.zero.xyz/host/bot-bazaar.fly.dev/llms.txt)
