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/paper-api

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "US basis weight depends on the stock's basis size; GSM (grammage) is universal. Named sizes A3–A5, letter, legal, tabloid are built in.",
        "stocks": [
            "bond",
            "text",
            "cover",
            "index",
            "tag",
            "bristol"
        ],
        "service": "paper",
        "endpoints": {
            "/v1/stocks": "Reference of US paper stock types, their factors and basis sizes.",
            "/v1/weight": "Weight of sheets, a 500-sheet ream and M-weight at a size and GSM.",
            "/v1/convert": "Convert between GSM and US basis weight (lb) for a paper stock type."
        },
        "description": "Paper-weight maths: grammage (GSM) ↔ US basis weight by stock type, and sheet/ream/M-weight at a size."
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:13.858Z",
        "request_id": "9c6c30f8-f627-4846-b66b-daa3fdb314c2"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}