Μετάβαση στο περιεχόμενο
GET /v1/meta

Spec

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/laser-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "notes": "Wavelength in nm, waist/radius/input in mm, focal length in mm, distance in m, power in W; spot sizes are 1/e² radii. Add M² (≥1) for real beams.",
        "service": "laser-api",
        "formulae": {
            "divergence": "θ = λ/(π·w₀)",
            "beam_radius": "w(z) = w₀·√(1+(z/z_R)²)",
            "focused_waist": "w_f = λ·f/(π·w_in)",
            "rayleigh_range": "z_R = π·w₀²/λ",
            "peak_irradiance": "I₀ = 2P/(π·w²)"
        },
        "endpoints": {
            "GET /v1/beam": "Rayleigh range, divergence and the beam radius at a distance from wavelength and waist.",
            "GET /v1/meta": "This document.",
            "GET /v1/focus": "Diffraction-limited focused spot size and depth of focus of a lens.",
            "GET /v1/irradiance": "Average and peak irradiance (power density) from power and spot size."
        },
        "description": "Gaussian-beam (laser) optics calculator: beam propagation (Rayleigh range, divergence, spot at a distance), the diffraction-limited focused spot of a lens, and beam irradiance from power and spot size."
    },
    "meta": {
        "timestamp": "2026-06-05T03:09:03.772Z",
        "request_id": "1579e7c7-f1f1-4711-a5cf-6bc1c03f4813"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}