Skip to content
GET /v1/meta

Spec

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/goldenratio-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/goldenratio-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/goldenratio-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/goldenratio-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/goldenratio-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "phi": 1.61803398875,
        "notes": "φ = (1+√5)/2 ≈ 1.618. Lengths are unit-agnostic. The scale takes a numeric ratio or a named one (major-third, perfect-fourth, golden…).",
        "ratios": [
            "minor-second",
            "major-second",
            "minor-third",
            "major-third",
            "perfect-fourth",
            "augmented-fourth",
            "perfect-fifth",
            "golden",
            "phi"
        ],
        "service": "goldenratio-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/scale": "Modular (typographic) scale from a base, ratio and step range.",
            "GET /v1/divide": "Split a length by the golden section, or extend a segment.",
            "GET /v1/rectangle": "Golden rectangle's other side and area."
        },
        "description": "Design proportions: golden section, golden rectangle, and the modular/typographic scale."
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:19.055Z",
        "request_id": "30138ad4-bcc3-4145-8f10-be00c3159d6e"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}