BaseX API