Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/prism-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/prism-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/prism-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/prism-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/prism-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "notes": "Angles in degrees. n = sin((A+δ_min)/2)/sin(A/2). This is geometric prism optics; for a single flat-surface refraction use a Snell's-law API and for thin lenses a lens API.",
        "service": "prism-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/deviation": "Minimum deviation for a prism of apex angle A and index n.",
            "GET /v1/dispersion": "Angular dispersion between two lines and/or dispersive power and Abbe number.",
            "GET /v1/refractive-index": "Refractive index from apex angle and minimum deviation."
        },
        "description": "Optical prism calculator: minimum deviation, refractive index from measured deviation (spectrometer formula), and dispersion / dispersive power."
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:32.083Z",
        "request_id": "9416ac00-7814-428f-8e63-bdf238ed3329"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}