{
  "openapi": "3.1.0",
  "info": {
    "title": "CounterpartyCheck",
    "version": "1.0.0",
    "x-guidance": "Counterparty screen: call /screen?wallet=<address> (optional &name=<company or agent> &chain=auto|eth|base|arb|poly|bsc, default auto). Returns one PASS / REVIEW / BLOCK with reasons and warnings from an exact OFAC crypto-address match, an OFAC name screen, on-chain wallet risk and a wallet profile, signed as a verifiable LSO Receipt. $0.25 via x402. Cheaper single checks: KYACheck kya.lonestaroracle.xyz ($0.10), SanctionsScreen sanctions.lonestaroracle.xyz ($0.05). Full catalog: lonestaroracle.xyz"
  },
  "paths": {
    "/screen": {
      "get": {
        "summary": "One-call counterparty screen for a wallet (and optional name) with a signed verdict",
        "operationId": "screen_screen_get",
        "parameters": [
          {
            "name": "wallet",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Counterparty wallet address (EVM 0x... or any OFAC-listed crypto address)",
              "title": "Wallet"
            },
            "description": "Counterparty wallet address (EVM 0x... or any OFAC-listed crypto address)"
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Optional company, exchange, agent or person name to screen against OFAC",
              "title": "Name"
            },
            "description": "Optional company, exchange, agent or person name to screen against OFAC"
          },
          {
            "name": "chain",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "auto (default: checks Ethereum and Base, profiles the active one), eth, base, arb, poly, bsc",
              "default": "auto",
              "title": "Chain"
            },
            "description": "auto (default: checks Ethereum and Base, profiles the active one), eth, base, arb, poly, bsc"
          }
        ],
        "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.250000"
          },
          "security": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/signer": {
      "get": {
        "summary": "Signer",
        "operationId": "signer_signer_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://counterparty.lonestaroracle.xyz"
    }
  ]
}