curl "https://api.haau3.com/v1/fhir/r4/Organization?type=ntwk&_count=2" \
-H "Authorization: Bearer $HAAU3_API_KEY"import { Haau3 } from "@haau3/sdk";
const haau3 = new Haau3(); // reads HAAU3_API_KEY
const bundle = await haau3.searchOrganization({ type: "ntwk", _count: 2 });
console.log(bundle.entry?.length ?? 0);
from haau3 import Haau3
client = Haau3() # reads HAAU3_API_KEY
bundle = client.search_organization(type="ntwk", count=2)
print(len(bundle.get("entry", [])))
package main
import (
"context"
"fmt"
"log"
"github.com/haau3/haau3-go"
)
func main() {
ctx := context.Background()
client, err := haau3.NewClient() // reads HAAU3_API_KEY
if err != nil {
log.Fatal(err)
}
bundle, err := client.SearchOrganization(ctx, haau3.SearchOrganizationParams{Type: new("ntwk"), Count: new(2)})
if err != nil {
log.Fatal(err)
}
fmt.Println(len(bundle.Entry))
}
{
"resourceType": "Bundle",
"type": "searchset",
"link": [
{
"relation": "self",
"url": "https://api.haau3.com/v1/fhir/r4/Organization?type=ntwk&_count=2"
},
{
"relation": "next",
"url": "https://api.haau3.com/v1/fhir/r4/Organization?type=ntwk&_count=2&page=AAMA-EFRSURBSGd2bzlHTkh2NkZNeXNGMkNKelNQaUp6aCtWTXNCNXh6R0owVG0xQ1RtRzZRRlFsZHdrMHBleFdXNHJWUWdqdVFnUkFBQUFmakI4QmdrcWhraUc5dzBCQndhZ2J6QnRBZ0VBTUdnR0NTcUdTSWIzRFFFSEFUQWVCZ2xnaGtnQlpRTUVBUzR3RVFRTUcwNjZ1RHRDSHg2cmFmSjhBZ0VRZ0R2TlNZOHNEOC9Bdk1xQTR4ZG1PT3gzWGo5eTI2KzFFVm1ndnE0ZThIMllBVXU0bUlBL2NkaDd6NFg4dGNLWFFhWHBaTFBnNGdNZUp3Y1lHZz0983p39CwCUjpWSugnFrlXI6R_qkjtsw1vB86p5RVBZjMXTQbnDC-9W1MfBa0AXsABVevK4CtJA4sduYGsCDLx6RquJ7XNsC9I1aLOys1oap16pqiMZpy5SQQs_00NkQMjBC5aon49YGXY9w1ScGWcPNEYjj1JX6FTBlC0OQH21mLj5wDj_m3LL3e4Hp80rIx1D2IZfOJZhxS2eCXMxW8F4CUx-RXEdRkK9BxPhoDHiTTc8TzRRXghyeO7E5uamGV3gekBMm1IUxPJlS6Sn_Gzcy2W_gwcz3TdxMXwgcCrQ_JyeCHwTbuAgQz4vTCIXDaSVjVuNH_KbLdHet6OQ9UcFqtTJyZlldVz5Y-Q0yZvPZi4pKa6WUymNEmcH0hLYcPsAjBYlkKWkv3nr5_5nyP12QuIt0KKA5fOoX8UGf4SUtdIYFFPrNMOuAWLTGGrXRIvS_QSGiLAsVJjmq3QXd2Rjt_OOjuLJTiQGvRMljPahGyZuS2HrzDU7PIsENSF2w3ViieOKVEtbQPW3jtth4QdtJmx7s0m7gsv6xokEzfffObWlDirjnmmUVnvlxsC9YkHER-VpsRDF_Uk2jh9ufasN-INBU8jj2trOfMPsce2TVMlgp9Ei8W5ydEaZsj3959ErJ_k_bwbeOOJipZCNwBeyBRmCY5E0ZGGY-LeKP0z0dkTE1eLSZqMFKPEFcs_xhXe12JXJeAGzjxZ7D-jLZtKcUjLviLdblNE7VxfkcgeAquZPPzjVG83_KNkMswh4fZ479bRKLnRZvdT5yjJed-gDbfxXL5IOMM4BbranhQJf_9SzkZYZu8le-1i3kI_4FtP8VJYOdPopvDmXZLV8TJMbq_dp_imQh_6pk8XbTPegFYqrU1l3x4n3YZpOABK2VI9Qgj9-BYH3oUfqX6njGKyV9blC1VAsDIDac7BtwlN0dcWPactGT3NUae-lPiPgok8QmUwMyZPB0X_6pDGy3hrlWhhxBvq0Olz7lxJ9scXUN3IIudDrv90l-FTmFCoN2sWN-jq11fPwFUXyC3_"
}
],
"entry": [
{
"fullUrl": "https://api.haau3.com/v1/fhir/r4/Organization/Organization-0061f2ad-76fd-4eb3-906f-43bac6d6ea2b",
"resource": {
"resourceType": "Organization",
"id": "Organization-0061f2ad-76fd-4eb3-906f-43bac6d6ea2b",
"meta": {
"versionId": "1",
"lastUpdated": "2026-10-14T20:49:01.200431720Z",
"profile": [
"http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Organization"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-verification-status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/us/ndh/CodeSystem/NdhVerificationStatusCS",
"code": "complete",
"display": "Complete"
}
]
}
}
],
"active": true,
"type": [
{
"text": "ntwk"
}
],
"name": "FAMILY HEALTH ALLIANCE MEDICAL GROUP"
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://api.haau3.com/v1/fhir/r4/Organization/Organization-0379b9dd-f3f2-4680-aeee-402fcbcace00",
"resource": {
"resourceType": "Organization",
"id": "Organization-0379b9dd-f3f2-4680-aeee-402fcbcace00",
"meta": {
"versionId": "1",
"lastUpdated": "2026-10-14T20:49:01.202445008Z",
"profile": [
"http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Organization"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-verification-status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/us/ndh/CodeSystem/NdhVerificationStatusCS",
"code": "complete",
"display": "Complete"
}
]
}
}
],
"active": true,
"type": [
{
"text": "ntwk"
}
],
"name": "ATLAS HEALTHCARE PHYSICIANS"
},
"search": {
"mode": "match"
}
}
]
}Find organizations, payers and networks
Search Organization by name, NPI, parent (partof) or type. type=ntwk lists the insurance networks the directory holds and type=pay its payers; type=pharmacy searches pharmacies’ organizations, below; any other type, active and the address parameters narrow a search of the directory but cannot stand alone.
The directory records networks by the text of their type rather than a code. This service searches that text for type=ntwk and confirms every answer is a network; if the directory changes how it records them, the search answers 502 rather than serve something else.
An NPI search can return a parent organization beside the practice, when the parent lists the NPI among several. _revinclude brings the roles, affiliations, locations and endpoints that point at each match, up to 100 per page.
Pharmacies’ organizations: type=pharmacy, HL7’s organization type, bare or as http://terminology.hl7.org/CodeSystem/organization-type|pharmacy, finds pharmacies’ organizations, from the same records as a pharmacy search on HealthcareService: each match is Organization-pharmacy-{NPI}, the record a read of that id returns. It needs any one of: address-postalcode (a ZIP code or its first two or more digits), address-state, name or identifier; address-city narrows a search by state. An address matches the pharmacy’s store only, never a mailing or billing address, and a name matches its name or a name it does business as. Without active, active and deactivated pharmacies are both returned, each marked. partof, _id, _include and _revinclude are refused on it: for a pharmacy’s service and store, search HealthcareService?service-category=pharm with _include=HealthcareService:organization and _include=HealthcareService:location.
Results come in one fixed order, the pharmacy’s name ignoring case and then its NPI, the same on every page, and the searchset carries total. A continuation goes on in that order from the last pharmacy shown, so the weekly update does not cut a search short. Pharmacies come from NPPES, CMS’s NPI Registry, through CMS’s monthly and weekly files, updated weekly. Each resource’s meta.source names the CMS file its record came from, which may no longer open once CMS removes it, and its lastSourceSync extension on meta the last day of NPPES data the answer holds. Each pharmacy is found and served at its primary practice address. A pharmacy’s three ids, its service’s, its organization’s (Organization-pharmacy-{NPI}) and its store’s, are read back from the same records, so a search and a read return the same record; they would change if pharmacies were ever served from CMS’s National Provider Directory. Organization-{NPI} is the directory’s own record of an organization. A pharmacy NPPES lists as deactivated is served marked active: false, with its deactivation date, if it was deactivated since NPPES’s November 2026 monthly file, and active=true asks for active pharmacies only. A pharmacy’s ids are read by id; the directory’s own searches refuse them.
A Medicare Part D plan’s pharmacy networks are read by id, and no Organization search lists them: type=ntwk lists the directory’s own networks. A Part D plan names up to four networks, one for each kind of pharmacy CMS’s Part D files flag: retail, mail-order, preferred-retail, preferred-mail-order. A network’s id is Organization-part-d-{plan}-{kind}, with the plan’s id as InsurancePlan serves it: Organization-part-d-H2406-013-000-preferred-retail. A mail order network may be a pharmacy search’s only criterion; a retail network narrows a search by place or name. A read answers an Organization typed ntwk, named for the plan and the kind, with its contract’s name in partOf as CMS’s file writes it, the contract year as HL7’s organization-period extension, the CMS file in meta.source and the last day it covers in the lastSourceSync extension on meta. A plan CMS’s file for the month does not hold, and a kind the plan lists no pharmacy of, each answer 404 and say which. The directory’s own searches refuse a Part D network’s id.
curl "https://api.haau3.com/v1/fhir/r4/Organization?type=ntwk&_count=2" \
-H "Authorization: Bearer $HAAU3_API_KEY"import { Haau3 } from "@haau3/sdk";
const haau3 = new Haau3(); // reads HAAU3_API_KEY
const bundle = await haau3.searchOrganization({ type: "ntwk", _count: 2 });
console.log(bundle.entry?.length ?? 0);
from haau3 import Haau3
client = Haau3() # reads HAAU3_API_KEY
bundle = client.search_organization(type="ntwk", count=2)
print(len(bundle.get("entry", [])))
package main
import (
"context"
"fmt"
"log"
"github.com/haau3/haau3-go"
)
func main() {
ctx := context.Background()
client, err := haau3.NewClient() // reads HAAU3_API_KEY
if err != nil {
log.Fatal(err)
}
bundle, err := client.SearchOrganization(ctx, haau3.SearchOrganizationParams{Type: new("ntwk"), Count: new(2)})
if err != nil {
log.Fatal(err)
}
fmt.Println(len(bundle.Entry))
}
{
"resourceType": "Bundle",
"type": "searchset",
"link": [
{
"relation": "self",
"url": "https://api.haau3.com/v1/fhir/r4/Organization?type=ntwk&_count=2"
},
{
"relation": "next",
"url": "https://api.haau3.com/v1/fhir/r4/Organization?type=ntwk&_count=2&page=AAMA-EFRSURBSGd2bzlHTkh2NkZNeXNGMkNKelNQaUp6aCtWTXNCNXh6R0owVG0xQ1RtRzZRRlFsZHdrMHBleFdXNHJWUWdqdVFnUkFBQUFmakI4QmdrcWhraUc5dzBCQndhZ2J6QnRBZ0VBTUdnR0NTcUdTSWIzRFFFSEFUQWVCZ2xnaGtnQlpRTUVBUzR3RVFRTUcwNjZ1RHRDSHg2cmFmSjhBZ0VRZ0R2TlNZOHNEOC9Bdk1xQTR4ZG1PT3gzWGo5eTI2KzFFVm1ndnE0ZThIMllBVXU0bUlBL2NkaDd6NFg4dGNLWFFhWHBaTFBnNGdNZUp3Y1lHZz0983p39CwCUjpWSugnFrlXI6R_qkjtsw1vB86p5RVBZjMXTQbnDC-9W1MfBa0AXsABVevK4CtJA4sduYGsCDLx6RquJ7XNsC9I1aLOys1oap16pqiMZpy5SQQs_00NkQMjBC5aon49YGXY9w1ScGWcPNEYjj1JX6FTBlC0OQH21mLj5wDj_m3LL3e4Hp80rIx1D2IZfOJZhxS2eCXMxW8F4CUx-RXEdRkK9BxPhoDHiTTc8TzRRXghyeO7E5uamGV3gekBMm1IUxPJlS6Sn_Gzcy2W_gwcz3TdxMXwgcCrQ_JyeCHwTbuAgQz4vTCIXDaSVjVuNH_KbLdHet6OQ9UcFqtTJyZlldVz5Y-Q0yZvPZi4pKa6WUymNEmcH0hLYcPsAjBYlkKWkv3nr5_5nyP12QuIt0KKA5fOoX8UGf4SUtdIYFFPrNMOuAWLTGGrXRIvS_QSGiLAsVJjmq3QXd2Rjt_OOjuLJTiQGvRMljPahGyZuS2HrzDU7PIsENSF2w3ViieOKVEtbQPW3jtth4QdtJmx7s0m7gsv6xokEzfffObWlDirjnmmUVnvlxsC9YkHER-VpsRDF_Uk2jh9ufasN-INBU8jj2trOfMPsce2TVMlgp9Ei8W5ydEaZsj3959ErJ_k_bwbeOOJipZCNwBeyBRmCY5E0ZGGY-LeKP0z0dkTE1eLSZqMFKPEFcs_xhXe12JXJeAGzjxZ7D-jLZtKcUjLviLdblNE7VxfkcgeAquZPPzjVG83_KNkMswh4fZ479bRKLnRZvdT5yjJed-gDbfxXL5IOMM4BbranhQJf_9SzkZYZu8le-1i3kI_4FtP8VJYOdPopvDmXZLV8TJMbq_dp_imQh_6pk8XbTPegFYqrU1l3x4n3YZpOABK2VI9Qgj9-BYH3oUfqX6njGKyV9blC1VAsDIDac7BtwlN0dcWPactGT3NUae-lPiPgok8QmUwMyZPB0X_6pDGy3hrlWhhxBvq0Olz7lxJ9scXUN3IIudDrv90l-FTmFCoN2sWN-jq11fPwFUXyC3_"
}
],
"entry": [
{
"fullUrl": "https://api.haau3.com/v1/fhir/r4/Organization/Organization-0061f2ad-76fd-4eb3-906f-43bac6d6ea2b",
"resource": {
"resourceType": "Organization",
"id": "Organization-0061f2ad-76fd-4eb3-906f-43bac6d6ea2b",
"meta": {
"versionId": "1",
"lastUpdated": "2026-10-14T20:49:01.200431720Z",
"profile": [
"http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Organization"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-verification-status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/us/ndh/CodeSystem/NdhVerificationStatusCS",
"code": "complete",
"display": "Complete"
}
]
}
}
],
"active": true,
"type": [
{
"text": "ntwk"
}
],
"name": "FAMILY HEALTH ALLIANCE MEDICAL GROUP"
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://api.haau3.com/v1/fhir/r4/Organization/Organization-0379b9dd-f3f2-4680-aeee-402fcbcace00",
"resource": {
"resourceType": "Organization",
"id": "Organization-0379b9dd-f3f2-4680-aeee-402fcbcace00",
"meta": {
"versionId": "1",
"lastUpdated": "2026-10-14T20:49:01.202445008Z",
"profile": [
"http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Organization"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/us/ndh/StructureDefinition/base-ext-verification-status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/us/ndh/CodeSystem/NdhVerificationStatusCS",
"code": "complete",
"display": "Complete"
}
]
}
}
],
"active": true,
"type": [
{
"text": "ntwk"
}
],
"name": "ATLAS HEALTHCARE PHYSICIANS"
},
"search": {
"mode": "match"
}
}
]
}Authorizations
A live platform API key (haau3_sk_live_…), sent as Authorization: Bearer <key>. It works for every service outside the Sandbox. Create one on the API keys page at https://platform.haau3.com.
Headers
An id of your own for this request, as a UUID. It comes back in the X-Correlation-Id header and is kept with haau3's record of the request. Any value that is not a UUID is ignored. See https://docs.haau3.com/errors#request-ids.
Query Parameters
An organization's NPI, as {system}|{npi} or a bare 10-digit value, under the same systems Practitioner accepts. An NPI search can return more than the practice that holds the NPI: a parent organization that lists it among several NPIs is a match too, because it carries the NPI as an NPI. On a pharmacy search (type=pharmacy), the one pharmacy that holds the NPI.
1 - 256The organizations that are part of one organization. Refused on a pharmacy search, whose organizations name a parent by its name alone. Give a Organization id, Organization/{id}, or the fullUrl this service returned. An address on another server is refused.
1 - 256An organization type from http://terminology.hl7.org/CodeSystem/organization-type, bare or with that system: prov for healthcare providers, pay for payers, ntwk for insurance networks, pharmacy for pharmacies. ntwk is also accepted under Plan-Net's http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/OrgTypeCS. type=ntwk and type=pay may stand alone, to list every network or every payer; type=pharmacy starts a pharmacy search, which needs a place, a name or an NPI beside it; any other type narrows a search. The directory records networks by the text of their type rather than a code; this service searches that text and confirms each answer is a network, and answers 502 rather than serve one that is not. A NUCC provider taxonomy code is refused: the directory's organizations carry none, and pharmacies are searched as HealthcareService (service-category=pharm), and their organizations with type=pharmacy.
1 - 256true or false. Narrows a search; cannot be used on its own. On a pharmacy search, true keeps the pharmacies NPPES lists as active and false the ones it lists as deactivated since its November 2026 monthly file; without it, both are returned, each marked by active.
true, false Narrows a search by postal code; cannot be used on its own. Matches any of the organization's addresses, so a result can still list addresses in another postal code. On a pharmacy search, a ZIP code, ZIP+4, or its first two or more digits, matched against the store's address only; it stands alone there.
1 - 100Bring the records that point at each match: PractitionerRole:organization, OrganizationAffiliation:primary-organization, OrganizationAffiliation:participating-organization, Location:organization, Endpoint:organization or Organization:partof. Refused on a pharmacy search. Repeat the parameter to include several. Included entries do not count toward _count. The directory returns at most 100 included records per page; a page with more is refused with a 502 rather than served short.
1 - 16 elementsPractitionerRole:organization, OrganizationAffiliation:primary-organization, OrganizationAffiliation:participating-organization, Location:organization, Endpoint:organization, Organization:partof Response
A FHIR Bundle with type: searchset. total is present when the directory sends one, and on every pharmacy search, where _summary=count answers it alone.
A FHIR R4 Bundle.