Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/pid-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "notes": "Ku is the ultimate gain, Tu its oscillation period; K/L/T are the process gain, dead time and time constant from a step response. type: P, PI, PD or PID.",
        "service": "pid-api",
        "formulae": {
            "forms": "Ki=Kp/Ti, Kd=Kp·Td",
            "zn_open_pid": "Kp=1.2·T/(K·L), Ti=2L, Td=0.5L",
            "zn_closed_pid": "Kp=0.6Ku, Ti=0.5Tu, Td=0.125Tu"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/convert": "Convert between parallel (Kp,Ki,Kd) and standard (Kp,Ti,Td) forms.",
            "GET /v1/reaction-curve": "Open-loop ZN gains from process gain, dead time and time constant.",
            "GET /v1/ziegler-nichols": "Closed-loop ZN gains from ultimate gain Ku and period Tu."
        },
        "description": "PID controller-tuning calculator: Ziegler-Nichols closed-loop (ultimate gain) and open-loop (reaction curve) tuning, and conversion between the parallel and standard PID forms."
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:28.791Z",
        "request_id": "a716788e-8524-4fd9-bf35-765f60b48b39"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}