Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/birthdayparadox-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}