Design
Golden ratio split API
Divides a length into major/minor sections in golden (phi) proportion, returning both segments, the split points from each end, and percentages. Answers 'Where do I split a 100-unit length at the golden ratio?', 'What percent is the golden major section?'.
Price$0.02per request
MethodPOST
Route/v1/design/golden-ratio-split
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
designlayoutgolden-ratiophisplitproportioncompositiondivine-proportion
API URL
Integration docshttps://x402.hexl.dev/v1/design/golden-ratio-splitExample request
{
"length": 100
}Example response
{
"length": 100,
"phi": 1.618034,
"majorSegment": 61.8034,
"minorSegment": 38.1966,
"splitFromStart": 61.8034,
"splitFromEnd": 38.1966,
"majorPercent": 61.803,
"minorPercent": 38.197,
"interpretation": "Split at 61.8% (≈61.8) for a golden major/minor division."
}Input schema
{
"type": "object",
"required": [
"length"
],
"properties": {
"length": {
"type": "number",
"description": "Length to divide",
"examples": [
100
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}