/v1/meta
Spec
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/pad-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pad-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pad-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/pad-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"name": "Pad API",
"notes": "Width is counted in Unicode code points, so emoji and accented letters count as one. Nothing is stored.",
"version": "v1",
"endpoints": [
{
"path": "/v1/pad",
"params": {
"fill": "fill string, default space; repeated and trimmed to fit",
"side": "start|left, end|right, both|center (default start)",
"value": "the string (required)",
"length": "target width in characters (required)",
"truncate": "true to cut the value when it is longer than length"
},
"returns": "the padded string + length metadata"
},
{
"path": "/v1/align",
"params": {
"fill": "fill string (default space)",
"side": "start|end|both (default start)",
"text": "newline-separated lines (alternative to lines)",
"lines": "JSON array of strings (or use text)",
"width": "target width (default = longest line)",
"truncate": "true to cut long lines to width"
},
"returns": "the aligned lines as an array and joined with newlines"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "Pad and align strings to a target width — left/right/centre, with any fill character, multibyte-safe. Pad a single value (e.g. zero-pad 7 → 007, right-align a price column) or align a whole list of lines to a common width for fixed-width tables, ASCII layouts, receipts and logs. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-03T09:25:07.904Z",
"request_id": "bc42982c-1538-4fae-8f6a-a0d17ab38046"
},
"status": "ok",
"message": "Meta",
"success": true
}