Zum Inhalt springen
GET /v1/meta

Spec

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/birthdayparadox-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "notes": "Days/buckets default to 365. The exact product is used for small spaces; the e^(−n²/2d) approximation for very large ones. Handy for hash-collision and UUID-uniqueness estimates.",
        "service": "birthdayparadox-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/collision": "Generalized collision probability for a hash/bucket space (by count or bits).",
            "GET /v1/probability": "Collision probability for n people over d days.",
            "GET /v1/people-needed": "Group size needed to reach a target collision probability."
        },
        "description": "Birthday paradox and generalized collision probability."
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:11.087Z",
        "request_id": "6a64595c-6f73-4b24-9eee-5d1e6d42e32b"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}