API Documentation

Programmatic access to the Measurand Taxonomy Catalog. All endpoints return JSON responses.

Endpoints

GET/api/taxons

Get all taxons. Supports optional query parameters for filtering.

Query Parameters

disciplineFilter by discipline name
deprecatedFilter deprecated taxons (true/false)

Example Response

{
  "taxons": [...],
  "count": 150,
  "total": 200
}

Example Request

GET /api/taxons?discipline=Electrical&deprecated=false
GET/api/taxons/[name]

Get a specific taxon by name. The name should be URL-encoded.

Example Request

GET /api/taxons/Measure.Acceleration
GET/api/disciplines

Get all disciplines with their taxon counts and metadata.

GET/api/quantities

Get all quantity kinds with their M-Layer aspects and taxon counts.

GET/api/search?q=...

Search taxons by name, definition, discipline, parameter, or quantity.

Query Parameters

qSearch query (required)

Example Request

GET /api/search?q=temperature

Usage Examples

JavaScript/TypeScript

const response = await fetch('/api/taxons?discipline=Electrical');
const data = await response.json();
console.log(`Found ${data.count} taxons`);

cURL

curl "https://your-domain.com/api/taxons?discipline=Electrical"

Rate Limiting

Currently, there are no rate limits on the API. However, please use responsibly and consider implementing caching for production applications.