Universal Parser Enhanced Edition - Production Ready
Professional-grade bond analytics powered by XTrillion Core
This API is powered by XTrillion Core - the professional bond calculation engine:
Add X-API-Key header with one of these demo keys:
gax10_demo_3j5h8m9k2p6r4t7w1qgax10_dev_4n8s6k2x7p9v5m1w8zgax10_test_9r4t7w2k5m8p1z6x3vEnhanced bond calculation - Universal Parser automatically detects ISIN vs description
{
"description": "US912810TJ79", // ISIN code
"price": 71.66
}
OR
{
"bond_input": "T 4.1 02/15/28", // Treasury description
"price": 99.5,
"settlement_date": "2025-07-15"
}
OR
{
"isin": "PANAMA, 3.87%, 23-Jul-2060", // Even complex descriptions work!
"price": 56.60
}
✅ Enhancement: Universal Parser accepts any input format automatically
Portfolio analysis with Universal Parser for all bonds
{
"data": [
{"BOND_CD": "US912810TJ79", "CLOSING PRICE": 71.66, "WEIGHTING": 25.0},
{"description": "PANAMA, 3.87%, 23-Jul-2060", "CLOSING PRICE": 56.60, "WEIGHTING": 15.0}
]
}
✅ Enhancement: Mix ISIN codes and descriptions in same portfolio
Enhanced health check with Universal Parser status
✅ New: Includes parser availability and test results
Version information with Universal Parser capabilities
Get latest test results - Shows most recent test execution status
✅ New: View test results with baseline comparisons
Run test suite - Execute the full test suite and get results
✅ New: On-demand test execution
Quick treasury test - Test US Treasury 3% 15/08/52 with fixed settlement
✅ New: Verify expected values match
Get baseline values - View current baseline calculation values
✅ New: Reference values for testing
Rich Self-Documenting: All responses include field descriptions, metadata, and calculation details
Bloomberg Terminal Style: YAS format for professional bond analytics
Old endpoints still work but are deprecated:
/api/v1/bond/parse-and-calculate → Use /api/v1/bond/analysis/api/v1/portfolio/analyze → Use /api/v1/portfolio/analysis⚠️ Note: Old endpoints will be removed in a future version. Please update your integrations.