GET
/
v3
/
lab_tests
from vital.client import Vital
from vital.environment import VitalEnvironment

client = Vital(
  api_key="YOUR_API_KEY",
  environment=VitalEnvironment.SANDBOX
)

data = client.lab_tests.get();
[
  {
    "lab_test": {
      "name": "Lipids Panel",
      "description": "Cholesterol test",
      "sample_type": "dried blood spot",
      "method": "testkit",
      "price": 10,
      "is_active": true,
      "lab": {
        "slug": "USSL",
        "name": "US Specialty Lab",
        "first_line_address": "123 Main St",
        "city": "New York",
        "zipcode": "10001"
      },
      "markers": [
        {
          "name": "Thyroid Stimulating Hormone",
          "slug": "tsh",
          "description": ""
        }
      ]
    }
  }
]

Authorizations

x-vital-api-key
string
headerrequired

API key based authentication

Response

200 - application/json
fasting
boolean
default: false

Defines whether a lab test requires fasting.

id
string
required
is_active
boolean
required

Deprecated. Use status instead.

is_delegated
boolean
default: false

Denotes whether a lab test requires using non-Vital physician networks. If it does then it's delegated - no otherwise.

lab
object
markers
object[]
method
enum<string>
required

The method used to perform a lab test.

Available options:
testkit,
walk_in_test,
at_home_phlebotomy
name
string
required
price
number
required
sample_type
enum<string>
required

The type of sample used to perform a lab test.

Available options:
dried_blood_spot,
serum,
saliva,
urine
slug
string
required
status
enum<string>
required

An enumeration.

Available options:
active,
pending_approval,
inactive