GET
/
v1
/
providers
/
lookup
JavaScript
import BlueHive from '@bluehive/sdk';

const client = new BlueHive({
  apiKey: 'My API Key',
});

const response = await client.providers.lookup();

console.log(response.providers);
{
  "providers": [
    {
      "lastname": "<string>",
      "firstname": "<string>",
      "address_1": "<string>",
      "address_2": "<string>",
      "city": "<string>",
      "state_province": "<string>",
      "country": "<string>",
      "postal_code": "<string>",
      "work_phone": "<string>",
      "fax_number": "<string>",
      "npi": "<string>",
      "distance": 123
    }
  ],
  "count": 123
}

Authorizations

Authorization
string
header
required

API key for accessing BlueHive API endpoints. Format: "ApiKey <your-api-key>" or "Bearer <your-api-key>"

Query Parameters

firstname
string

Provider first name

lastname
string

Provider last name

npi
string

Provider NPI number

zipcode
string

ZIP code to filter results by proximity

Response

Default Response

The response is of type object.