Skip to content
GET /v1/meta

Spec

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/viscosity-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "gases": [
            "air",
            "nitrogen",
            "oxygen",
            "co2",
            "hydrogen",
            "helium",
            "argon"
        ],
        "notes": "Sutherland uses kelvin. Dynamic units Pa·s, cP, P; kinematic m²/s, cSt, St. This computes viscosity; for the Reynolds number from it use a Reynolds API.",
        "service": "viscosity-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/convert": "Viscosity unit conversion (Pa·s/cP/Poise or m²/s/cSt/Stokes).",
            "GET /v1/kinematic": "Convert between dynamic (μ) and kinematic (ν) viscosity using density.",
            "GET /v1/sutherland": "Gas dynamic viscosity at a temperature (Sutherland's law)."
        },
        "description": "Fluid viscosity: Sutherland's law for gases, dynamic↔kinematic conversion via density, and viscosity unit conversion."
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:29.268Z",
        "request_id": "7b733784-ef90-4c25-bf57-e5a871bfa20e"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}