Query and download Labcorp patient service center locations, including inactive locations.
Download full location list
Access the entire set of Labcorp locations in one large JSON array. While gzip compressed, this is over 2000 locations with their associated services, so this endpoint is intended only for preloading this data locally instead of using the location search endpoint.
Download full location list › Responses
ok
idnameopensAtOptional field that indicates the general opening hour of the location.
closesAtOptional field that indicates the general closing hour of the location.
lunchStartOptional field that indicates the lunch start at the location.
lunchEndOptional field that indicates the lunch end at the location.
Download inactive location list
Return locations that were inactivated in the last 7 days if no query parameters are provided. If a date range is provided, it must be within 90 days; numberOfDays can also be used to adjust the window of inactivated locations returned.
query Parameters
startDate^\d{4}-\d{2}-\d{2}$Optional starting date for returned values. This value should be in the past by up to 90 days.
endDate^\d{4}-\d{2}-\d{2}$Optional ending date for returned values.
noOfDaysOptional number of days. This value is between 1 and 90, with a default of 7.
Download inactive location list › Responses
ok
idnameopensAtOptional field that indicates the general opening hour of the location.
closesAtOptional field that indicates the general closing hour of the location.
lunchStartOptional field that indicates the lunch start at the location.
lunchEndOptional field that indicates the lunch end at the location.
Query information on a location based on an ID.
Query for information on a location by ID. This can either be the full set of data for that location, or filtered down to specific keys through the _elements query parameter.
path Parameters
idID property of a Location object.
query Parameters
_elementsComma-delimited list of location object keys to return in the response JSON.
Query information on a location based on an ID. › Responses
Success retrieving the requested location.
idnameopensAtOptional field that indicates the general opening hour of the location.
closesAtOptional field that indicates the general closing hour of the location.
lunchStartOptional field that indicates the lunch start at the location.
lunchEndOptional field that indicates the lunch end at the location.
Search for locations
Based on the given radius and serviceId, return all locations that meet the criteria. The search criteria can be an address that this endpoint will attempt to geocode, or a predetermined set of geographic coordinates.
query Parameters
serviceIdThe Labcorp service identifier.
radiusA radius, in miles, from the starting address to use when searching for a location.
addressThe starting address to use for the location search. The endpoint will attempt to parse and geocode the provided value. A full street address is preferred and will geocode to the coordinates of that address; this falls back to geocoding the zip code if provided, i.e. the center of the zip code.
cityCity to use for the location search.
stateState to use for the location search.
latitudeLatitude of the starting search point. Must be paired with longitude and is only used if address is not provided.
longitudeLongitude of the starting search point. Must be paired with latitude and is only used if address is not provided.
weekdayOptional day(s) of the week to require location support. Multiple instances of this query parameter can be sent to filter on several days, e.g. weekday=SATURDAY&weekday=SUNDAY to search for locations open during the weekend.
timeframeOptional time(s) of day against which locations must be open. Multiple instances of
this query parameter can be sent to filter on more than one value, e.g.
timeframe=MIDDAY&timeframe=EVENING if mornings will not work.
MORNING- prior to 10AMMIDDAY- between 10AM and 2PMEVENING- after 2PM
Search for locations › Responses
Success retrieving location results, sorted by ascending distance from the starting search point.
Zero or more locations that matched the provided search criteria, sorted by distance.
idnameopensAtOptional field that indicates the general opening hour of the location.
closesAtOptional field that indicates the general closing hour of the location.
lunchStartOptional field that indicates the lunch start at the location.
lunchEndOptional field that indicates the lunch end at the location.
distanceFromStartingPointDistance in miles from the starting search point.

