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

Spec

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

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

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

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

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

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

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

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

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

{
    "data": {
        "auth": "none upstream; this gateway requires x-api-key",
        "name": "Hashids API",
        "note": "Encode non-negative integers into short reversible YouTube-style ids and decode them back. /v1/encode?numbers=1,2,3 ; /v1/decode?hash=... ; /v1/encode-hex?hex=507f... and /v1/decode-hex for hex/ObjectId values. Optional ?salt= (obfuscation key), ?min_length= and a custom ?alphabet= (>=16 unique chars). Stateless: decode with the SAME options used to encode. Not encryption — for obfuscating sequential ids in URLs.",
        "source": "Local hashids encoding — no key, no upstream",
        "endpoints": 5
    },
    "meta": {
        "timestamp": "2026-06-02T16:52:00.474Z",
        "request_id": "6d782130-b898-47f8-9f84-828e4798b2aa"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}