{
  "openapi": "3.1.0",
  "info": {
    "title": "US Healthcare Provider (NPI) Lookup MCP",
    "description": "Verify any US doctor, dentist, therapist or clinic by NPI number. Free npi_lookup tool.\n\nThis specification documents the HTTP x402 pay-per-call routes only (not the MCP /mcp transport). Unpaid calls return HTTP 402. Retry with a PAYMENT-SIGNATURE header (x402 v2, scheme exact, USDC on Base eip155:8453; legacy X-PAYMENT v1 also accepted). A payout address is included only in the live 402 challenge served by the Worker, not in this file. MCP endpoint: https://us-npi-lookup-mcp.donniertf.workers.dev/mcp. Manifest: https://us-npi-lookup-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-npi-lookup-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 a PAYMENT-SIGNATURE header (x402 v2, USDC on Base; legacy X-PAYMENT v1 also accepted). The MCP transport is at /mcp. Verify any US doctor, dentist, therapist or clinic by NPI number. Free npi_lookup tool."
  },
  "servers": [
    {
      "url": "https://us-npi-lookup-mcp.donniertf.workers.dev",
      "description": "US Healthcare Provider (NPI) Lookup MCP origin"
    }
  ],
  "tags": [
    {
      "name": "x402",
      "description": "USDC on Base pay-per-call routes"
    }
  ],
  "paths": {
    "/x402/npi_lookup": {
      "post": {
        "summary": "PAID (x402). $0.02 USDC per call. Also free via /mcp (5 free calls/day per IP). Look up a US healthcare provider by NPI number or name (+ state): specialty, status, practice address — top 3.",
        "description": "PAID (x402). $0.02 USDC per call. Also free via /mcp (5 free calls/day per IP). Look up a US healthcare provider by NPI number or name (+ state): specialty, status, practice address — top 3.",
        "operationId": "post_x402_npi_lookup",
        "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 a PAYMENT-SIGNATURE header (x402 v2, exact scheme, USDC on Base eip155:8453; legacy X-PAYMENT v1 also accepted). 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": {
                  "npi": {
                    "type": "string"
                  },
                  "first_name": {
                    "type": "string"
                  },
                  "last_name": {
                    "type": "string"
                  },
                  "organization": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      },
      "get": {
        "summary": "PAID (x402). $0.02 USDC per call. Also free via /mcp (5 free calls/day per IP). Look up a US healthcare provider by NPI number or name (+ state): specialty, status, practice address — top 3. (query or 402 probe)",
        "description": "PAID (x402). $0.02 USDC per call. Also free via /mcp (5 free calls/day per IP). Look up a US healthcare provider by NPI number or name (+ state): specialty, status, practice address — top 3. Accepts query args; unpaid calls return 402.",
        "operationId": "get_x402_npi_lookup",
        "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 a PAYMENT-SIGNATURE header (x402 v2, exact scheme, USDC on Base eip155:8453; legacy X-PAYMENT v1 also accepted). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "parameters": [
          {
            "name": "npi",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "first_name",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "last_name",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "organization",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/x402/provider_search": {
      "post": {
        "summary": "PRO. Providers by specialty (taxonomy text, e.g. 'Dentist', 'Physical Therapist') + city/state/ZIP — up to 200, for recruiting, sales and referral networks.",
        "description": "PRO. Providers by specialty (taxonomy text, e.g. 'Dentist', 'Physical Therapist') + city/state/ZIP — up to 200, for recruiting, sales and referral networks.",
        "operationId": "post_x402_provider_search",
        "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 a PAYMENT-SIGNATURE header (x402 v2, exact scheme, USDC on Base eip155:8453; legacy X-PAYMENT v1 also accepted). 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": {
                  "specialty": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  },
                  "zip": {
                    "type": "string"
                  },
                  "organizations_only": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "specialty"
                ]
              }
            }
          }
        }
      },
      "get": {
        "summary": "PRO. Providers by specialty (taxonomy text, e.g. 'Dentist', 'Physical Therapist') + city/state/ZIP — up to 200, for recruiting, sales and referral networks. (query or 402 probe)",
        "description": "PRO. Providers by specialty (taxonomy text, e.g. 'Dentist', 'Physical Therapist') + city/state/ZIP — up to 200, for recruiting, sales and referral networks. Accepts query args; unpaid calls return 402.",
        "operationId": "get_x402_provider_search",
        "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 a PAYMENT-SIGNATURE header (x402 v2, exact scheme, USDC on Base eip155:8453; legacy X-PAYMENT v1 also accepted). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "parameters": [
          {
            "name": "specialty",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "city",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zip",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "organizations_only",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ]
      }
    },
    "/x402/batch_verify": {
      "post": {
        "summary": "PRO. Verify up to 50 NPIs: active status, name, specialty, address — for credentialing, billing and payer onboarding.",
        "description": "PRO. Verify up to 50 NPIs: active status, name, specialty, address — for credentialing, billing and payer onboarding.",
        "operationId": "post_x402_batch_verify",
        "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 a PAYMENT-SIGNATURE header (x402 v2, exact scheme, USDC on Base eip155:8453; legacy X-PAYMENT v1 also accepted). 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": {
                  "npis": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "npis"
                ]
              }
            }
          }
        }
      },
      "get": {
        "summary": "PRO. Verify up to 50 NPIs: active status, name, specialty, address — for credentialing, billing and payer onboarding. (query or 402 probe)",
        "description": "PRO. Verify up to 50 NPIs: active status, name, specialty, address — for credentialing, billing and payer onboarding. Accepts query args; unpaid calls return 402.",
        "operationId": "get_x402_batch_verify",
        "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 a PAYMENT-SIGNATURE header (x402 v2, exact scheme, USDC on Base eip155:8453; legacy X-PAYMENT v1 also accepted). The 402 body/header lists price and terms; payout address is only in the live 402 challenge, not in this spec."
          }
        },
        "parameters": [
          {
            "name": "npis",
            "in": "query",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ]
      }
    }
  }
}