Lab Testing
Get Area Info
Lab Testing
Get Area Info
GET information about an area with respect to lab-testing.
Information returned:
- Whether a given zip code is served by our Phlebotomy network.
GET
/v3/order/area/info
x-vital-api-key*
curl --request GET \
--url https://api.tryvital.io/v3/order/area/info \
--header 'x-vital-api-key: <x-vital-api-key>'
curl --request GET \
--url '{{BASE_URL}}/v3/order/area/info?zip_code=85004' \
--header 'accept: application/json' \
--header 'x-vital-api-key: {YOUR_KEY}'
{
"zip_code": "85004",
"phlebotomy": {
"is_served": true
}
}
​Query Parameters
zip_coderequired
string
Zip code of the area to check
​Response
phlebotomyrequired
object
PhlebotomyAreaInfo
zip_coderequired
string
Zip Code
curl --request GET \
--url '{{BASE_URL}}/v3/order/area/info?zip_code=85004' \
--header 'accept: application/json' \
--header 'x-vital-api-key: {YOUR_KEY}'
{
"zip_code": "85004",
"phlebotomy": {
"is_served": true
}
}