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

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "notes": "Ratio as '50:1' or a number; volume in l, gal (US), impgal, ml or floz. Oil = fuel ÷ ratio. Use the manufacturer's specified ratio and a quality two-stroke oil. For four-stroke or fuel economy use a different API.",
        "service": "twostroke-api",
        "endpoints": {
            "GET /v1/mix": "Oil (ml / fl oz) to add to a fuel volume at a given ratio.",
            "GET /v1/meta": "This document.",
            "GET /v1/ratio": "The gas:oil ratio from measured fuel and oil amounts."
        },
        "description": "Two-stroke premix maths: oil needed for a fuel volume at a gas:oil ratio, and the ratio from measured amounts."
    },
    "meta": {
        "timestamp": "2026-06-06T07:13:56.717Z",
        "request_id": "6cf4962f-25de-4ec4-9e38-268236203a27"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}