{
  "openapi": "3.1.0",
  "info": {
    "title": "US OFAC Sanctions Screening MCP",
    "description": "Screen customers, vendors and counterparties against the OFAC SDN list from your AI agent.\n\nThis specification documents the HTTP x402 pay-per-call routes only (not the MCP /mcp transport). Unpaid calls return HTTP 402. Retry with an X-PAYMENT header (x402 v1, scheme exact, USDC on Base). A payout address is included only in the live 402 challenge served by the Worker, not in this file. MCP endpoint: https://us-sanctions-screen-mcp.donniertf.workers.dev/mcp. Manifest: https://us-sanctions-screen-mcp.donniertf.workers.dev/.well-known/x402. Paper/free discovery routes are not billed.",
    "version": "1.0.0",
    "contact": {
      "name": "Donnie Morrison",
      "email": "dmorrisonwebdesign@gmail.com",
      "url": "https://us-sanctions-screen-mcp.donniertf.workers.dev/"
    },
    "license": {
      "name": "See product landing page and source licences"
    },
    "x-guidance": "Use the paid HTTP routes documented in paths (POST JSON, or GET with query args). Unpaid calls return HTTP 402; retry with an X-PAYMENT header (x402, USDC on Base). The MCP transport is at /mcp. Screen customers, vendors and counterparties against the OFAC SDN list from your AI agent."
  },
  "servers": [
    {
      "url": "https://us-sanctions-screen-mcp.donniertf.workers.dev",
      "description": "US OFAC Sanctions Screening MCP origin"
    }
  ],
  "tags": [
    {
      "name": "x402",
      "description": "USDC on Base pay-per-call routes"
    }
  ],
  "paths": {
    "/x402/ofac_check": {
      "post": {
        "summary": "FREE. Screen one person/company/vessel name against the OFAC SDN list (with aliases). Best 3 matches with score.",
        "description": "FREE. Screen one person/company/vessel name against the OFAC SDN list (with aliases). Best 3 matches with score.",
        "operationId": "post_x402_ofac_check",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with an X-PAYMENT header (x402 v1, exact scheme, USDC on Base). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "name"
                ]
              }
            }
          }
        }
      },
      "get": {
        "summary": "FREE. Screen one person/company/vessel name against the OFAC SDN list (with aliases). Best 3 matches with score. (query or 402 probe)",
        "description": "FREE. Screen one person/company/vessel name against the OFAC SDN list (with aliases). Best 3 matches with score. Accepts query args; unpaid calls return 402.",
        "operationId": "get_x402_ofac_check",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with an X-PAYMENT header (x402 v1, exact scheme, USDC on Base). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/x402/batch_screen": {
      "post": {
        "summary": "PRO. Screen up to 200 names at once with adjustable threshold; audit-ready output with list version and timestamp.",
        "description": "PRO. Screen up to 200 names at once with adjustable threshold; audit-ready output with list version and timestamp.",
        "operationId": "post_x402_batch_screen",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with an X-PAYMENT header (x402 v1, exact scheme, USDC on Base). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "names": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "threshold": {
                    "type": "number"
                  }
                },
                "required": [
                  "names"
                ]
              }
            }
          }
        }
      },
      "get": {
        "summary": "PRO. Screen up to 200 names at once with adjustable threshold; audit-ready output with list version and timestamp. (query or 402 probe)",
        "description": "PRO. Screen up to 200 names at once with adjustable threshold; audit-ready output with list version and timestamp. Accepts query args; unpaid calls return 402.",
        "operationId": "get_x402_batch_screen",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with an X-PAYMENT header (x402 v1, exact scheme, USDC on Base). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "parameters": [
          {
            "name": "names",
            "in": "query",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "threshold",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ]
      }
    },
    "/x402/program_list": {
      "post": {
        "summary": "PRO. SDN entries by sanctions program code (e.g. RUSSIA-EO14024, IRAN, SDGT, CYBER2).",
        "description": "PRO. SDN entries by sanctions program code (e.g. RUSSIA-EO14024, IRAN, SDGT, CYBER2).",
        "operationId": "post_x402_program_list",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with an X-PAYMENT header (x402 v1, exact scheme, USDC on Base). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "program": {
                    "type": "string"
                  },
                  "limit": {
                    "type": "number"
                  }
                },
                "required": [
                  "program"
                ]
              }
            }
          }
        }
      },
      "get": {
        "summary": "PRO. SDN entries by sanctions program code (e.g. RUSSIA-EO14024, IRAN, SDGT, CYBER2). (query or 402 probe)",
        "description": "PRO. SDN entries by sanctions program code (e.g. RUSSIA-EO14024, IRAN, SDGT, CYBER2). Accepts query args; unpaid calls return 402.",
        "operationId": "get_x402_program_list",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        },
        "responses": {
          "200": {
            "description": "Paid request succeeded; JSON result of the tool or pack.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required. Retry with an X-PAYMENT header (x402 v1, exact scheme, USDC on Base). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "parameters": [
          {
            "name": "program",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ]
      }
    }
  }
}