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

Spec

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

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

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

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

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

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

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

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

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

{
    "data": {
        "notes": "Bore and stroke in mm, volumes in cc, weight in kg, power in hp or kW, displacement in litres. 1 cubic inch = 16.387 cc.",
        "service": "engine-api",
        "formulae": {
            "compression": "CR = (V_swept + V_clearance)/V_clearance",
            "displacement": "V = (π/4)·bore²·stroke·cylinders",
            "specific_output": "power / displacement (hp per litre)"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/compression": "Compression ratio ⇄ clearance volume, with optional boosted effective CR.",
            "GET /v1/displacement": "Engine displacement (cc, L, ci) and bore/stroke geometry.",
            "GET /v1/power-to-weight": "Power-to-weight ratios and specific output (hp per litre)."
        },
        "description": "Internal-combustion engine calculator: displacement from bore, stroke and cylinders; compression ratio and clearance volume (with optional boost); and power-to-weight and specific output."
    },
    "meta": {
        "timestamp": "2026-06-05T03:09:03.381Z",
        "request_id": "fa55a5ee-60a7-46f9-8dcf-f21bc08ba774"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}