{
 "openapi": "3.1.0",
 "info": {
  "title": "BaitBuster",
  "version": "1.0.0",
  "x-guidance": "Pre-buy token safety: GET /check?address=<0x token or Solana mint>. If the response has status 'running', poll result_url (free) every ~15s. $0.10 via x402. Track record: GET /record (free)."
 },
 "paths": {
  "/check": {
   "get": {
    "summary": "Pre-buy rug / honeypot check for one token",
    "operationId": "check_endpoint_check_get",
    "parameters": [
     {
      "name": "address",
      "in": "query",
      "required": true,
      "description": "Token contract (0x..., Robinhood Chain or Base) or Solana mint",
      "schema": {
       "type": "string",
       "example": "0xacc8de336f5d2366fa7334383d8fab73499f582a"
      }
     },
     {
      "name": "wait",
      "in": "query",
      "required": false,
      "description": "Seconds to wait for the result before returning a job id (0-25, default 8)",
      "schema": {
       "type": "integer",
       "default": 8
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     },
     "402": {
      "description": "Payment Required"
     }
    },
    "x-payment-info": {
     "authMode": "payment",
     "price": {
      "mode": "fixed",
      "currency": "USD",
      "amount": "0.100000"
     },
     "security": [
      {
       "x402": {}
      }
     ]
    }
   }
  },
  "/result/{job_id}": {
   "get": {
    "summary": "Poll a running check (free)",
    "operationId": "result_endpoint_result__job_id__get",
    "parameters": [
     {
      "name": "job_id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "title": "Job Id"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     },
     "422": {
      "description": "Validation Error",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      }
     }
    },
    "x-payment-info": {
     "authMode": "free"
    }
   }
  },
  "/record": {
   "get": {
    "summary": "Published track record of the warnings (free)",
    "operationId": "record_endpoint_record_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    },
    "x-payment-info": {
     "authMode": "free"
    }
   }
  },
  "/health": {
   "get": {
    "summary": "Health",
    "operationId": "health_health_get",
    "responses": {
     "200": {
      "description": "Successful Response",
      "content": {
       "application/json": {
        "schema": {}
       }
      }
     }
    },
    "x-payment-info": {
     "authMode": "free"
    }
   }
  }
 },
 "components": {
  "schemas": {
   "HTTPValidationError": {
    "properties": {
     "detail": {
      "items": {
       "$ref": "#/components/schemas/ValidationError"
      },
      "type": "array",
      "title": "Detail"
     }
    },
    "type": "object",
    "title": "HTTPValidationError"
   },
   "ValidationError": {
    "properties": {
     "loc": {
      "items": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "integer"
        }
       ]
      },
      "type": "array",
      "title": "Location"
     },
     "msg": {
      "type": "string",
      "title": "Message"
     },
     "type": {
      "type": "string",
      "title": "Error Type"
     },
     "input": {
      "title": "Input"
     },
     "ctx": {
      "type": "object",
      "title": "Context"
     }
    },
    "type": "object",
    "required": [
     "loc",
     "msg",
     "type"
    ],
    "title": "ValidationError"
   }
  }
 },
 "servers": [
  {
   "url": "https://baitbuster.lonestaroracle.xyz"
  }
 ]
}