/v1/meta
Spec
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/bragg-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bragg-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bragg-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/bragg-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"notes": "Lengths in nm or ångström, angles in degrees. Reflection (Bragg) geometry with the 2d factor; for optical double-slit/grating diffraction use a wave-optics diffraction API.",
"service": "bragg-api",
"constants": {
"cu_k_alpha_nm": 0.15406
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/angle": "Bragg angle θ and 2θ from d-spacing and wavelength.",
"GET /v1/spacing": "Inter-planar spacing from the Bragg angle.",
"GET /v1/wavelength": "Wavelength from spacing and angle."
},
"description": "Bragg's law for X-ray crystallography: diffraction angle, inter-planar d-spacing and wavelength from n·λ = 2·d·sinθ."
},
"meta": {
"timestamp": "2026-06-05T19:50:23.973Z",
"request_id": "b6ed4da5-044e-46d4-b43a-c553f33c0581"
},
"status": "ok",
"message": "Meta",
"success": true
}