# CMS NPI Registry Lookup

> CMS NPI Registry Lookup is a paid API for AI agents from x402-v2-mint-npi-registry-lookup.vercel.app, paid per call via x402, $0.020018/call, status unknown (last checked 2026-12-03).

Looks up healthcare provider information from the CMS NPI Registry by NPI number, name, organization, or location — returning zero results as a free 404.

## Facts

- Endpoint: POST https://x402-v2-mint-npi-registry-lookup.vercel.app/v1/npi-registry-lookup?utm_source=zero.xyz
- Price: $0.020018/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cms-npi-registry-lookup-f3648d77
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bjh-csDV_fk1p1Ns5mZLH

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cms-npi-registry-lookup-f3648d77 -d '<json body>'
```

Example prompt: Can you look up the NPI record for Dr. Sarah Johnson, a family medicine physician in Texas? I need her NPI number, address, and taxonomy details.

## When to prefer this

Choose this endpoint when you need to look up or verify U.S. healthcare provider information from the authoritative CMS NPPES database without managing your own API credentials. It supports flexible lookup by NPI number, name, organization, or location, and only charges when results are found — making it cost-efficient for conditional lookups in credentialing, billing, or provider directory workflows.

## Known failure modes

- NPI number not found → 404 returned, no charge
- Invalid NPI format (not 10 digits) → validation error
- No matching providers for name/state combination → 404, no charge
- State code not a valid 2-letter US abbreviation → error
- Rate limit or upstream NPPES API unavailability → 5xx error
- Empty search parameters → likely error or empty result

## How this service works

CMS NPI Registry lookup (keyless). POST {npi} and/or {first_name,last_name,state} / organization_name. Empty result → 404 not charged.

## Output

Returns a list of NPI registry records (up to the requested limit), each containing the provider's NPI number, name or organization name, enumeration type (individual vs. organization), taxonomies/specialties, practice address, and other NPPES-registered details. Returns a 404 (not charged) if no matching records are found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "npi": {
   "type": "string",
   "maxLength": 10,
   "description": "10-digit NPI number"
  },
  "city": {
   "type": "string",
   "maxLength": 80
  },
  "limit": {
   "type": "integer",
   "default": 5,
   "maximum": 20,
   "minimum": 1
  },
  "state": {
   "type": "string",
   "maxLength": 2,
   "description": "US state code"
  },
  "number": {
   "type": "string",
   "maxLength": 10
  },
  "org_name": {
   "type": "string",
   "maxLength": 120
  },
  "last_name": {
   "type": "string",
   "maxLength": 80
  },
  "first_name": {
   "type": "string",
   "maxLength": 80
  },
  "request_id": {
   "type": "string"
  },
  "postal_code": {
   "type": "string",
   "maxLength": 10
  },
  "organization_name": {
   "type": "string",
   "maxLength": 120
  },
  "taxonomy_description": {
   "type": "string",
   "maxLength": 120
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "skill": "npi-registry-lookup",
  "charged": true,
  "summary": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cms-npi-registry-lookup-f3648d77/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-v2-mint-npi-registry-lookup.vercel.app](https://www.zero.xyz/host/x402-v2-mint-npi-registry-lookup.vercel.app/llms.txt)
