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

Spec

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

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

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

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

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

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

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

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

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

{
    "data": {
        "notes": "US units (inches, teeth, rpm). L = 2C + (N1+N2)/2 + ((N2−N1)/2π)²/C (round up to even); PCD = pitch/sin(180°/N); speed = pitch·teeth·rpm/12. ANSI #40 = 0.5\" pitch. For gear ratios use a gear-ratio API; for belts use a pulley API.",
        "service": "chaindrive-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/speed": "Chain linear speed from teeth, pitch and rpm.",
            "GET /v1/sprocket": "Sprocket pitch and outside diameter from teeth and pitch.",
            "GET /v1/chain-length": "Chain length (pitches & inches) from sprocket teeth, pitch and centre distance."
        },
        "description": "Roller-chain drive maths: chain length from sprockets and centre distance, sprocket pitch/outside diameter, and chain linear speed."
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:58.683Z",
        "request_id": "ca8c53ab-0388-4d6a-b452-c4c0b48cd93b"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}