Labcorp
Lab test pricing, PSC location lookup and appointment availability from Labcorp.
Domain: labcorp.com
Also known as: Labcorp, LabCorp, Laboratory Corporation of America, Laboratory Corporation of America Holdings, Labcorp OnDemand, labcorp.com
Call it directly
bowmark.providers.labcorp.search(query: string): Promise<LabcorpTestSummary[]>
bowmark.providers.labcorp.getTest(sku: string): Promise<LabcorpTestDetail>Functions
| Function | What it does |
|---|---|
search | Searches Labcorp's direct-to-consumer test catalog (Labcorp OnDemand) by keyword — e.g. "Lyme disease", "Men's Health" — and returns matching tests with their sku, name and price. |
getTest | Returns the full OnDemand test detail for one sku — price, descriptions, sample type, collection method, turnaround time and acceptable age band. |
Types
interface LabcorpTestSummary {
sku: string; // Magento's own product id — not a Labcorp test code
name: string;
urlKey: string;
url: string;
price: number;
priceFormatted: string; // "$99.00"
currency: string; // "USD"
}
interface LabcorpTestDetail extends LabcorpTestSummary {
sampleType: string; // "Blood & Urine", "Nasal Swab"
collectionMethod: string; // "In person at a Labcorp location"
turnaroundTime: string; // "1-2 days from when your sample arrives at our lab"
ageRange: string; // "18-100", "" if absent
metaDescription: string;
metaTitle: string;
shortDescriptionHtml: string;
descriptionHtml: string;
}Examples
// What does a Lyme disease test cost, and what's it called on the site?
const matches = await bowmark.providers.labcorp.search("Lyme disease");
return matches.map((m) => ({ name: m.name, price: m.priceFormatted }));// What kind of sample does the Lyme test need, and how long for results?
const test = await bowmark.providers.labcorp.getTest("164226");
return { sample: test.sampleType, turnaround: test.turnaroundTime };