{
  "openapi": "3.0.0",
  "info": {
    "title": "200ok — x402 API Platform",
    "description": "Platform for x402-payable APIs. Each service solves a specific task for AI agents with micropayments in USDC on Base network.",
    "version": "1.0.0",
    "contact": {
      "name": "200ok Support",
      "url": "https://200ok.xyz"
    },
    "x-guidance": {
      "description": "200ok is a platform hosting multiple x402-payable API services. Each service has its own OpenAPI specification and discovery endpoint.",
      "usage": {
        "discovery": "Query /.well-known/x402 to discover available services, then use each service's OpenAPI spec for invocation.",
        "payment": "All services use x402 protocol for micropayments. Pay per call with USDC on Base network.",
        "services": [
          {
            "name": "Web Unlocker",
            "description": "Bypass web protections (CAPTCHA, Cloudflare, anti-bot)",
            "url": "https://web-unlocker.200ok.xyz",
            "openapi": "https://web-unlocker.200ok.xyz/openapi.json",
            "discovery": "https://web-unlocker.200ok.xyz/.well-known/x402"
          }
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://200ok.xyz",
      "description": "200ok Platform"
    }
  ],
  "paths": {
    "/.well-known/x402": {
      "get": {
        "summary": "Platform Service Registry",
        "description": "Returns a list of all x402-payable services hosted on this platform.",
        "operationId": "getServiceRegistry",
        "responses": {
          "200": {
            "description": "Service registry",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "integer",
                      "example": 1
                    },
                    "services": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "example": "x402 Web Unlocker"
                          },
                          "url": {
                            "type": "string",
                            "format": "uri",
                            "example": "https://web-unlocker.200ok.xyz"
                          },
                          "discovery": {
                            "type": "string",
                            "format": "uri",
                            "example": "https://web-unlocker.200ok.xyz/.well-known/x402"
                          }
                        }
                      }
                    },
                    "documentation": {
                      "type": "string",
                      "format": "uri",
                      "example": "https://200ok.xyz/docs/"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-services": [
    {
      "name": "Web Unlocker",
      "url": "https://web-unlocker.200ok.xyz",
      "openapi": "https://web-unlocker.200ok.xyz/openapi.json",
      "discovery": "https://web-unlocker.200ok.xyz/.well-known/x402",
      "documentation": "https://200ok.xyz/docs/web-unlocker/"
    }
  ],
  "tags": [
    {
      "name": "Platform",
      "description": "200ok platform-level endpoints"
    },
    {
      "name": "Discovery",
      "description": "Service discovery and registry"
    }
  ]
}
