/v1/meta
Spec
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/lines-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lines-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lines-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/lines-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"name": "Lines API",
"notes": "Operations are applied left to right, e.g. operations=trim,remove_blank,unique,sort. Sorting is natural (numeric-aware). Nothing is stored.",
"version": "v1",
"endpoints": [
{
"path": "/v1/transform",
"params": {
"text": "the text (required)",
"order": "asc|desc (for sort)",
"operations": "comma list: trim,remove_blank,unique,sort,reverse,number (required)",
"number_start": "for number",
"case_insensitive": "for sort/unique",
"number_separator": "for number (default '. ')"
},
"returns": "the transformed text"
},
{
"path": "/v1/count",
"params": {
"text": "the text (required)"
},
"returns": "line statistics (total, blank, unique, lengths)"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "Operate on text line by line — sort (natural, asc/desc, case-insensitive), remove duplicate lines, reverse the order, number the lines, trim whitespace and drop blank lines. Operations chain in order, so you can trim, drop blanks, dedupe and sort in one call. A count endpoint reports line statistics. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-03T09:25:08.544Z",
"request_id": "5f97e8c5-e288-4e88-87f0-6d06627a258c"
},
"status": "ok",
"message": "Meta",
"success": true
}