Zum Inhalt springen
GET /v1/meta

Spec

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/wpm-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "name": "Typing Speed API",
        "notes": "Gross WPM = (characters / 5) / minutes. Net WPM subtracts uncorrected errors per minute. Nothing is stored.",
        "version": "v1",
        "endpoints": [
            {
                "path": "/v1/wpm",
                "params": {
                    "errors": "uncorrected errors (optional)",
                    "characters": "typed chars (or words)",
                    "time_seconds": "elapsed seconds (required)"
                },
                "returns": "gross/net WPM, CPM, accuracy"
            },
            {
                "path": "/v1/from-text",
                "params": {
                    "typed": "what was typed (required)",
                    "reference": "the target text (optional)",
                    "time_seconds": "required"
                },
                "returns": "WPM and accuracy, counting per-character errors"
            },
            {
                "path": "/v1/time",
                "params": {
                    "wpm": "required",
                    "words": "required"
                },
                "returns": "minutes/seconds to type that many words"
            },
            {
                "path": "/v1/meta",
                "params": [],
                "returns": "this document"
            }
        ],
        "description": "Calculate typing speed and accuracy. Get words-per-minute, characters-per-minute and accuracy from a character count and a time (with optional errors); compare typed text against a reference to count mistakes and score it; and estimate how long a given amount of text takes at a target WPM. Uses the standard 1 word = 5 characters convention. Pure local, no key."
    },
    "meta": {
        "timestamp": "2026-06-03T01:09:40.463Z",
        "request_id": "3da805e9-7657-43ce-8385-a9e8eebdfbfa"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}