curl --request GET \
--url '{{BASE_URL}}/v3/order/psc/info?zip_code=85004&lab_id=27' \
--header 'accept: application/json' \
--header 'x-vital-api-key: {YOUR_KEY}'
{
"lab_id": 27,
"slug": "labcorp",
"patient_service_centers": [
{
"metadata": {
"name": "LABCORP",
"state": "AZ",
"city": "Phoenix",
"zip_code": "85006",
"first_line": "1300 N 12th St",
"second_line": "Ste 300",
"phone_number": "480-878-3988",
"fax_number": "844-346-5903",
"hours": null
},
"distance": "25",
"capabilities": ["stat"]
},
]
}
curl --request GET \
--url '{{BASE_URL}}/v3/order/psc/info?zip_code=85004&lab_id=27' \
--header 'accept: application/json' \
--header 'x-vital-api-key: {YOUR_KEY}'
{
"lab_id": 27,
"slug": "labcorp",
"patient_service_centers": [
{
"metadata": {
"name": "LABCORP",
"state": "AZ",
"city": "Phoenix",
"zip_code": "85006",
"first_line": "1300 N 12th St",
"second_line": "Ste 300",
"phone_number": "480-878-3988",
"fax_number": "844-346-5903",
"hours": null
},
"distance": "25",
"capabilities": ["stat"]
},
]
}
curl --request GET \
--url '{{BASE_URL}}/v3/order/psc/info?zip_code=85004&lab_id=27' \
--header 'accept: application/json' \
--header 'x-vital-api-key: {YOUR_KEY}'
{
"lab_id": 27,
"slug": "labcorp",
"patient_service_centers": [
{
"metadata": {
"name": "LABCORP",
"state": "AZ",
"city": "Phoenix",
"zip_code": "85006",
"first_line": "1300 N 12th St",
"second_line": "Ste 300",
"phone_number": "480-878-3988",
"fax_number": "844-346-5903",
"hours": null
},
"distance": "25",
"capabilities": ["stat"]
},
]
}
Vital Team API Key
Zip code of the area to check
Lab ID to check for PSCs
Radius in which to search in miles
10
, 20
, 25
, 50
Filter for only locations with certain capabilities
Show child attributes
Successful Response
The response is of type object
.