mayocliniclabs.com APImayocliniclabs.com ↗
Search and browse the Mayo Clinic Laboratories test catalog. Retrieve specimen requirements, CPT codes, LOINC, clinical data, and diagnostic algorithms via 6 endpoints.
curl -X GET 'https://api.parse.bot/scraper/3c3d64ce-eeda-43bf-8ca5-70630276bfd2/search_tests?limit=5&query=hemoglobin' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for tests, algorithms, and articles in the Mayo Clinic Labs catalog. Returns paginated results from the Coveo search index.
| Param | Type | Description |
|---|---|---|
| page | integer | Page number (0-based). |
| limit | integer | Max results per page. |
| queryrequired | string | Search keyword (e.g. 'hemoglobin', 'CBC', 'glucose'). |
| content_type | string | Filter by content type: 'Test', 'Algorithm', or 'Article'. |
{
"type": "object",
"fields": {
"items": "array of result objects with title, test_id, catalog_id, description, url, content_type, and specimen_type",
"total": "integer total number of matching results"
},
"sample": {
"data": {
"items": [
{
"url": "https://www.mayocliniclabs.com/test-catalog/overview/608083",
"title": "Hemoglobin Electrophoresis Evaluation, Blood",
"test_id": "HBEL1",
"catalog_id": "608083",
"description": "HEMOGLOBIN ELECTROPHORESIS INTERPRETATION...",
"content_type": "Test",
"specimen_type": [
"Whole Blood EDTA"
]
}
],
"total": 211
},
"status": "success"
}
}About the mayocliniclabs.com API
The Mayo Clinic Laboratories API provides structured access to the MCL medical test catalog across 6 endpoints, covering thousands of diagnostic tests, algorithms, and articles. Use get_full_test_detail to pull complete test records — including specimen requirements, CPT codes, LOINC identifiers, and interpretive data — or use search_tests to query the catalog by keyword and filter by content type.
Search and Browse the Test Catalog
The search_tests endpoint accepts a required query string (e.g. 'hemoglobin', 'CBC', 'glucose') and returns paginated result objects containing title, test_id, catalog_id, description, url, content_type, and specimen_type. Results can be filtered using the content_type parameter to narrow results to 'Test', 'Algorithm', or 'Article'. Pagination is handled with page (0-based) and limit parameters, and the response always includes a total count. For partial-query scenarios, search_autocomplete returns up to 5 suggestion strings for a given prefix.
Full Test Details
get_full_test_detail accepts either an alphanumeric test_id (e.g. 'HBEL1', 'CBC') or a numeric catalog code and returns a deeply nested record. The specimen object covers specimen_type, specimen_required, specimen_minimum_volume, reject_due_to, specimen_stability, and specimen_retention_time. The fees_codes object surfaces test_classification, cpt_codes, and loinc. The performance object includes method_description, days_performed, report_available, and performing_laboratory_location. The additional_info object exposes special_instructions, reflex_tests, clia_number, and forms.
Alphabetical and Categorical Browsing
browse_tests_by_letter accepts a single uppercase letter and returns all tests starting with that letter as an array of {name, url} objects — useful for building directory-style indexes without a prior keyword. browse_new_tests lists recently published tests with their Test ID, Test Name, and Published date. browse_algorithms returns the full list of available diagnostic algorithms, each with a name and url.
- Building an EHR integration that maps ordered tests to CPT and LOINC codes using
fees_codesfromget_full_test_detail. - Populating a clinical decision support tool with specimen requirements and stability data for pre-analytic validation.
- Creating a searchable internal reference for lab staff using
search_testswithcontent_typefiltering. - Monitoring new test availability by periodically polling
browse_new_testsfor recently published entries. - Generating a full alphabetical test directory for a healthcare portal using
browse_tests_by_letteracross A–Z. - Retrieving reflex test relationships and special instructions to guide ordering clinicians at the point of care.
- Integrating diagnostic algorithm references into a clinical workflow tool using
browse_algorithmsendpoint data.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Mayo Clinic Laboratories have an official developer API?+
What does `get_full_test_detail` return beyond basic test info?+
overview (useful_for, aliases, method_name, NY state availability), specimen (type, volume, stability, retention time, rejection criteria), performance (method description, days performed, report turnaround, performing lab location), fees_codes (CPT codes, LOINC, test classification), setup_updates, additional_info (reflex tests, special instructions, CLIA number, forms), and a direct URL to the test page.Can I retrieve patient-specific test results or order history through this API?+
Is NY state availability indicated for tests?+
overview object returned by get_full_test_detail includes a ny_state_available field indicating whether the test is available to New York state clients. No other state-level availability flags are currently returned. You can fork the API on Parse and revise it if you need to surface additional regional restriction data.Does `search_tests` return algorithm and article content alongside lab tests?+
search_tests returns results across all content types. Pass content_type as 'Test', 'Algorithm', or 'Article' to restrict results to one category. Each result object includes content_type so you can also filter client-side after retrieval.