Overview
This endpoint allows you to perform multiple hierarchy queries (ancestors, descendants, or both) for multiple concepts in a single API call. This is highly efficient for applications that need hierarchical information for many concepts simultaneously.Request Body
Array of hierarchy query requests
Query Parameters
Specific vocabulary release version (e.g., “2024.1”)
Include relationships to invalid/deprecated concepts
Response
Indicates whether the request was successful
Array of hierarchy query results matching the input order
Summary statistics for the entire batch
Usage Examples
Simple Batch Ancestors
Get ancestors for multiple concepts:Mixed Query Types
Combine different query types in one batch:Advanced Filtering
Use relationship and vocabulary filters:Important Notes
- Batch size limit: Maximum 50 queries per batch request
- Performance optimization: Batch processing is significantly faster than individual requests
- Error handling: Individual query failures don’t affect other queries in the batch
- Result order: Results are returned in the same order as input queries
- Memory considerations: Large batches with deep hierarchies may have longer response times
- Rate limiting: Batch requests count as single requests for rate limiting purposes
Related Endpoints
- Get Concept Ancestors - Single concept ancestors
- Get Concept Descendants - Single concept descendants
- Get Concept Hierarchy - Complete hierarchy tree