/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
}