Search NPPES NPI Registry
curl --request GET \
--url https://sandbox.rcintell.com/v1/npi/search \
--header 'X-API-Key: <api-key>'import requests
url = "https://sandbox.rcintell.com/v1/npi/search"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://sandbox.rcintell.com/v1/npi/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.rcintell.com/v1/npi/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.rcintell.com/v1/npi/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.rcintell.com/v1/npi/search")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.rcintell.com/v1/npi/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error": "<string>",
"providers": [
{
"credential": "<string>",
"entity_type": "<string>",
"enumeration_date": "<string>",
"gender": "<string>",
"last_updated": "<string>",
"name": "<string>",
"npi": "<string>",
"other_taxonomies": [
{
"code": "<string>",
"description": "<string>",
"license": "<string>",
"state": "<string>"
}
],
"practice_address": {
"address_1": "<string>",
"address_2": "<string>",
"city": "<string>",
"fax": "<string>",
"phone": "<string>",
"postal_code": "<string>",
"state": "<string>"
},
"primary_taxonomy": {
"code": "<string>",
"description": "<string>",
"license": "<string>",
"state": "<string>"
},
"status": "<string>"
}
],
"result_count": 0
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}npi
Search NPPES NPI Registry
Search the NPPES NPI Registry.
The default backend is the local nppes_records table (populated from
the weekly NPPES dissemination CSV by the NPPES NPI Registry (bulk)
data source). Falls back to the live CMS NPPES API automatically when the
local search returns zero results, or when live=true is set.
GET
/
v1
/
npi
/
search
Search NPPES NPI Registry
curl --request GET \
--url https://sandbox.rcintell.com/v1/npi/search \
--header 'X-API-Key: <api-key>'import requests
url = "https://sandbox.rcintell.com/v1/npi/search"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://sandbox.rcintell.com/v1/npi/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.rcintell.com/v1/npi/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.rcintell.com/v1/npi/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.rcintell.com/v1/npi/search")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.rcintell.com/v1/npi/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error": "<string>",
"providers": [
{
"credential": "<string>",
"entity_type": "<string>",
"enumeration_date": "<string>",
"gender": "<string>",
"last_updated": "<string>",
"name": "<string>",
"npi": "<string>",
"other_taxonomies": [
{
"code": "<string>",
"description": "<string>",
"license": "<string>",
"state": "<string>"
}
],
"practice_address": {
"address_1": "<string>",
"address_2": "<string>",
"city": "<string>",
"fax": "<string>",
"phone": "<string>",
"postal_code": "<string>",
"state": "<string>"
},
"primary_taxonomy": {
"code": "<string>",
"description": "<string>",
"license": "<string>",
"state": "<string>"
},
"status": "<string>"
}
],
"result_count": 0
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}