Skip to content

OIG exclusion screening

POST /oig/exclusion screens an NPI or a name against the HHS OIG List of Excluded Individuals/Entities (LEIE) and returns scored matches with the exclusion type and date.

POSThttps://api.qelka.com/v1/oig/exclusion

Screen a health care provider, an employee or a supplier against the List of Excluded Individuals/Entities (LEIE) of the HHS Office of Inspector General (OIG): the people and businesses excluded from Medicare, Medicaid and the other federal health care programs. Send an NPI for an exact check, or a name for a fuzzy one, and get back the matching entries with the exclusion type, its legal basis and its date. Each screening costs 1 credit, match or no match; errors and test keys are never billed.

Request

Send either npi or name, never both. With a name, add the state and the date of birth when you have them: a detail that agrees with an entry raises its score, and one that disagrees lowers it.

npistring
NPI to look for, sent as 1 to 20 characters: spaces and dashes are removed, and it must have 10 digits, start with 1 or 2 and pass the check digit test.
namestring
Name of a person, first and last name in any order, or of a business, 2 to 200 characters. Case, accents and legal forms such as Inc or LLC are ignored.
statestring
Two-letter US state code of the address you know. Compared with the state of each entry.
birth_datestring
Date of birth of a person, YYYY-MM-DD or YYYY. Compared with the date of birth of each individual entry.
min_scorenumberDefault 0.88
Name screening: lowest score an entry needs to be returned, from 0.75 to 1. An NPI match always scores 1.
freshbooleanDefault false
Accepted so that every endpoint takes the same fields. Screenings are never cached, so it changes nothing here.

A body with both npi and name, or with neither, is a 400 invalid_request. The screening reads the copy of the list the API keeps, so it does not wait for OIG; every snippet still sets a 30-second client timeout.

curl https://api.qelka.com/v1/oig/exclusion \
  --max-time 30 \
  -H "Authorization: Bearer $QELKA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"npi": "1972902351"}'
const response = await fetch('https://api.qelka.com/v1/oig/exclusion', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.QELKA_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ npi: '1972902351' }),
  signal: AbortSignal.timeout(30_000),
})
const result = await response.json()
console.log(result)
import os

import requests

api_key = os.environ["QELKA_API_KEY"]
response = requests.post(
    "https://api.qelka.com/v1/oig/exclusion",
    headers={"Authorization": f"Bearer {api_key}"},
    json={"npi": "1972902351"},
    timeout=30,
)
result = response.json()
print(result)
<?php
$ch = curl_init('https://api.qelka.com/v1/oig/exclusion');
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('QELKA_API_KEY'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => json_encode(['npi' => '1972902351']),
    CURLOPT_TIMEOUT => 30,
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main

import (
	"bytes"
	"encoding/json"
	"fmt"
	"net/http"
	"os"
	"time"
)

func main() {
	payload, _ := json.Marshal(map[string]any{"npi": "1972902351"})
	request, _ := http.NewRequest(http.MethodPost, "https://api.qelka.com/v1/oig/exclusion", bytes.NewReader(payload))
	request.Header.Set("Authorization", "Bearer "+os.Getenv("QELKA_API_KEY"))
	request.Header.Set("Content-Type", "application/json")

	client := &http.Client{Timeout: 30 * time.Second}
	response, err := client.Do(request)
	if err != nil {
		panic(err)
	}
	defer response.Body.Close()

	var result map[string]any
	if err := json.NewDecoder(response.Body).Decode(&result); err != nil {
		panic(err)
	}
	fmt.Println(result)
}
require 'json'
require 'net/http'

uri = URI('https://api.qelka.com/v1/oig/exclusion')
request = Net::HTTP::Post.new(uri)
request['Authorization'] = "Bearer #{ENV.fetch('QELKA_API_KEY')}"
request['Content-Type'] = 'application/json'
request.body = JSON.generate({ npi: '1972902351' })

response = Net::HTTP.start(uri.host, uri.port, use_ssl: true, read_timeout: 30) do |http|
  http.request(request)
end
result = JSON.parse(response.body)
puts result

Response

Every screening gets a 200. Read status: match, possible_match or no_match.

idstring
Identifier of this screening: lkp_ followed by 26 characters.
objectstring
Always oig_exclusion.
inputstring
The npi or name you sent.
queryobject
What was compared.
query.npistring or null
The NPI compared, spaces and dashes removed. null for a name screening.
query.namestring or null
The name as compared: lower case, accents removed, legal forms and titles such as Inc, LLC or Mr left out. null for an NPI screening.
query.statestring or null
The state you sent, upper case.
query.birth_datestring or null
The birth_date you sent.
query.min_scorenumber
The min_score used.
statusstring
match when the NPI is on an entry of the list, possible_match when at least one entry's name scores min_score or more, no_match otherwise.
matchesarray of objects
Up to 10 entries: for an NPI, every entry that carries it, most recent exclusion first; for a name, best score first. Empty when status is no_match.
matches.idstring
Identifier of the entry, leie- followed by letters and digits. It stays the same from one load of the list to the next while the entry does not change.
matches.typestring
individual or entity.
matches.namestring
First, middle and last name of an individual, or the business name of an entity, as OIG wrote it.
matches.first_namestring or null
Individuals only.
matches.middle_namestring or null
Individuals only.
matches.last_namestring or null
Individuals only.
matches.business_namestring or null
Business name.
matches.categorystring or null
General category as OIG records it, such as IND- LIC HC SERV PRO or OTHER BUSINESS.
matches.specialtystring or null
Specialty as OIG records it, such as NURSING PROFESSION or PHARMACY.
matches.npistring or null
The NPI on the entry, or null when it has none.
matches.citystring or null
City of the address at the time of the exclusion.
matches.statestring or null
State code of that address.
matches.zipstring or null
ZIP code of that address.
matches.birth_yearinteger or null
Year of birth of an individual. The full date is compared with birth_date but never returned.
matches.exclusionobject
The exclusion.
matches.exclusion.codestring
Exclusion type as OIG codes it, such as 1128b4.
matches.exclusion.authoritystring
Section of the Social Security Act behind it, such as 1128(b)(4).
matches.exclusion.descriptionstring or null
What the section covers, such as License revocation, suspension or surrender.
matches.exclusion.mandatoryboolean or null
true for the mandatory exclusions of section 1128(a), false for exclusions that are not mandatory, null when that is not known for the type.
matches.exclusion.datestring or null
Date the exclusion took effect, YYYY-MM-DD.
matches.waiverobject or null
A waiver OIG recorded for the exclusion. null when there is none.
matches.waiver.datestring or null
Date of the waiver.
matches.waiver.statestring or null
State the waiver applies to.
matches.matched_bystring
npi or name.
matches.scorenumber
From 0 to 1: 1 for an NPI match; for a name, the similarity of the names adjusted by the state and date of birth checks.
matches.strengthstring
strong from 0.97, medium from 0.92, weak below.
matches.checksobject
How the details you sent compare with the entry.
matches.checks.statestring
match, mismatch, or unknown when you sent no state or the entry has none.
matches.checks.birth_datestring
match, mismatch, or unknown when you sent no date, the entry has none or it is a business. With YYYY, only the year is compared.
listobject
The LEIE file compared.
list.entriesinteger
Number of entries in it.
list.publishedstring or null
Date OIG last updated the file, YYYY-MM-DD.
list.loaded_atstring
When the API loaded it, ISO 8601.
verify_urlstring
OIG's online search, where a match is confirmed with an SSN or an EIN.
legal_determinationboolean
Always false: a screening aid, not a determination.
credits_usedinteger
Credits debited for this call: 1 with a live key, 0 with a test key.
cachedboolean
Always false: screenings are never cached.
Response
{
  "id": "lkp_01M8CFQ9KB060BPP3GQMQP02X3",
  "object": "oig_exclusion",
  "input": "1972902351",
  "query": { "npi": "1972902351", "name": null, "state": null, "birth_date": null, "min_score": 0.88 },
  "status": "match",
  "matches": [
    {
      "id": "leie-3hyzx9i2cqpi",
      "type": "entity",
      "name": "101 FIRST CARE PHARMACY INC",
      "first_name": null,
      "middle_name": null,
      "last_name": null,
      "business_name": "101 FIRST CARE PHARMACY INC",
      "category": "OTHER BUSINESS",
      "specialty": "PHARMACY",
      "npi": "1972902351",
      "city": "NEW YORK",
      "state": "NY",
      "zip": "10040",
      "birth_year": null,
      "exclusion": {
        "code": "1128b8",
        "authority": "1128(b)(8)",
        "description": "Entity controlled by a sanctioned individual",
        "mandatory": false,
        "date": "2022-03-20"
      },
      "waiver": null,
      "matched_by": "npi",
      "score": 1,
      "strength": "strong",
      "checks": { "state": "unknown", "birth_date": "unknown" }
    }
  ],
  "list": { "entries": 84181, "published": "2026-11-10", "loaded_at": "2026-11-26T17:45:56.910Z" },
  "verify_url": "https://exclusions.oig.hhs.gov/",
  "legal_determination": false,
  "credits_used": 1,
  "cached": false
}

Act on the status

status What it means What to do
match An entry of the list carries the NPI you sent. Confirm on OIG's online search (verify_url) with the SSN or EIN before you act, and keep list.published with your records.
possible_match At least one entry's name resembles the one you sent closely enough to reach min_score. Review each match: compare checks, birth_year, city, state and specialty with what you know, then confirm on OIG's online search. Never decide on the score alone.
no_match No entry carries the NPI, or no name reaches min_score. Go ahead, and keep list with your records: it shows which file was compared. It is not a clearance.

An NPI screening only finds the entries that carry that NPI, and most entries of the list carry none. To screen a provider thoroughly, screen the NPI and the name.

strength Score What to do
strong 0.97 or more Review first: the NPI matched, or the names are the same or nearly so. Confirm with the date of birth and the address.
medium 0.92 to under 0.97 Review: a spelling variant, a missing middle name or a partial name.
weak under 0.92, down to min_score Review when the other details agree: it may be a different person or business with a similar name.

For a name, the checks move the score: a date of birth that agrees adds 0.02 and one that disagrees removes 0.15; a state that agrees adds 0.01 and one that disagrees removes 0.05. Names are compared the way sanctions screening compares them: word by word, in any order, with spelling variants and initials.

Every status is billed 1 credit, because the screening ran.

Test keys screen against two fictional entries, and bill nothing: TEST SAMPLE EXCLUDED, an individual in Springfield, IL, born in 1970, with NPI 1234567893 and a 1128b4 exclusion, and TEST EXCLUDED PHARMACY INC, a business in Springfield, IL, with a 1128a1 exclusion. list.entries is then 2.

What the list covers

The LEIE lists the individuals and entities currently excluded by OIG. No federal health care program pays for items or services that an excluded party furnishes, orders or prescribes, which is why employers and health plans screen against it. Mandatory exclusions (section 1128(a)) follow convictions such as program-related crimes or patient abuse; permissive ones (section 1128(b)) follow events such as the loss of a license. OIG removes a party from the list when it is reinstated.

What the API keeps

Screenings are never cached. The request log keeps the NPI with its middle digits hidden, or only the initials of a name, never the name, the state or the date of birth.

Where the data comes from

The list is the LEIE downloadable database (UPDATED.csv), published by the HHS Office of Inspector General and updated monthly. It is a work of the U.S. Government, in the public domain. The API checks the file for changes at most every 20 hours and loads a changed file as a new version; when a download fails, the version loaded before stays in use, and list.loaded_at tells you how recent it is. When this page was built, the file in use was published on 2026-11-10 and had 84,181 entries; list in each response gives the figures of the file actually compared. See the data sources page.

Screen a name with its state

Send the name and the state you know. With a test key in QELKA_API_KEY, this request returns both fictional entries: the pharmacy, whose name matches every word sent, and the individual, whose name shares two of them.

curl https://api.qelka.com/v1/oig/exclusion \
  --max-time 30 \
  -H "Authorization: Bearer $QELKA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Test Excluded Pharmacy", "state": "IL"}'
const response = await fetch('https://api.qelka.com/v1/oig/exclusion', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.QELKA_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ name: 'Test Excluded Pharmacy', state: 'IL' }),
  signal: AbortSignal.timeout(30_000),
})
const result = await response.json()
console.log(result)
import os

import requests

api_key = os.environ["QELKA_API_KEY"]
response = requests.post(
    "https://api.qelka.com/v1/oig/exclusion",
    headers={"Authorization": f"Bearer {api_key}"},
    json={"name": "Test Excluded Pharmacy", "state": "IL"},
    timeout=30,
)
result = response.json()
print(result)
Response
{
  "id": "lkp_01M8CGA5R1KD9W4C7HZT0QX6MV",
  "object": "oig_exclusion",
  "input": "Test Excluded Pharmacy",
  "query": {
    "npi": null,
    "name": "test excluded pharmacy",
    "state": "IL",
    "birth_date": null,
    "min_score": 0.88
  },
  "status": "possible_match",
  "matches": [
    {
      "id": "leie-test-2",
      "type": "entity",
      "name": "TEST EXCLUDED PHARMACY INC",
      "first_name": null,
      "middle_name": null,
      "last_name": null,
      "business_name": "TEST EXCLUDED PHARMACY INC",
      "category": "OTHER BUSINESS",
      "specialty": "PHARMACY",
      "npi": null,
      "city": "SPRINGFIELD",
      "state": "IL",
      "zip": "62702",
      "birth_year": null,
      "exclusion": {
        "code": "1128a1",
        "authority": "1128(a)(1)",
        "description": "Conviction of program-related crimes",
        "mandatory": true,
        "date": "2023-02-20"
      },
      "waiver": null,
      "matched_by": "name",
      "score": 1,
      "strength": "strong",
      "checks": { "state": "match", "birth_date": "unknown" }
    },
    {
      "id": "leie-test-1",
      "type": "individual",
      "name": "TEST SAMPLE EXCLUDED",
      "first_name": "TEST",
      "middle_name": "SAMPLE",
      "last_name": "EXCLUDED",
      "business_name": null,
      "category": "IND- LIC HC SERV PRO",
      "specialty": "NURSING PROFESSION",
      "npi": "1234567893",
      "city": "SPRINGFIELD",
      "state": "IL",
      "zip": "62701",
      "birth_year": 1970,
      "exclusion": {
        "code": "1128b4",
        "authority": "1128(b)(4)",
        "description": "License revocation, suspension or surrender",
        "mandatory": false,
        "date": "2024-06-20"
      },
      "waiver": null,
      "matched_by": "name",
      "score": 0.977,
      "strength": "strong",
      "checks": { "state": "match", "birth_date": "unknown" }
    }
  ],
  "list": { "entries": 2, "published": "2026-01-01", "loaded_at": "2026-01-01T00:00:00.000Z" },
  "verify_url": "https://exclusions.oig.hhs.gov/",
  "legal_determination": false,
  "credits_used": 0,
  "cached": false
}

Errors

Status Type When
400 invalid_request Both or neither of npi and name, npi empty or longer than 20 characters, name shorter than 2 or longer than 200 characters, state not two letters, birth_date not YYYY or YYYY-MM-DD, min_score outside 0.75 to 1, a body that is not a JSON object, or a field the request table does not list
401 invalid_api_key The key is missing, unknown or revoked
402 insufficient_credits Your balance is less than 1 credit (live keys only)
403 forbidden The key is restricted to other endpoints
405 invalid_request The method is not POST
422 unprocessable_input The NPI does not have 10 digits starting with 1 or 2, or fails the check digit test; or the name has no word of two letters or more
429 rate_limited Too many requests: wait Retry-After seconds
500 internal_error Unexpected error on our side: retry with backoff
502 upstream_unavailable The LEIE is not loaded yet: retry later

No error is billed. An NPI or a name without match is not an error: it is a 200 with status: "no_match", billed 1 credit. To check that an NPI is well formed without screening it, use the NPI lookup, which answers a mistyped NPI with status: "invalid".