Align lines
API · /pad-api
Pad API
Pad and align strings to a target width. The pad endpoint adds a fill character to the start, end, or both sides of a value until it reaches the width you ask for — zero-pad a number (7 → 007), right-align a price column, centre a heading, or build a fixed-width field — with any fill string (space, 0, dash, dots) and an optional truncate flag to cut values that are already too long. The align endpoint takes a whole list of lines (or newline-separated text) and pads every line to a common width, so columns line up in fixed-width tables, ASCII layouts, receipts, invoices and logs. Width is counted in Unicode code points, so emoji and accented letters each count as one and never get split. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This pads to a width; to wrap long text across lines use a word-wrap API, and to convert between case styles use a text-case API.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 77 ms
- Server probes · 24h
- Subscribers
- 4,648
- active
- Total calls
- 57
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 1,335 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 1,335 calls/month
- 2 req/sec
- Pad + align
- No credit card
Starter
€2.85 /month
- 10,850 calls / month
- 8 requests / second
- Hard cap (429 above quota, no overage)
- 10.85k calls/month
- 8 req/sec
- Custom fill + truncate
- Email support
Pro
€22.75 /month
- 159,500 calls / month
- 20 requests / second
- Hard cap (429 above quota, no overage)
- 159.5k calls/month
- 20 req/sec
- Table / receipt / log pipelines
- Priority support
Mega
€60.75 /month
- 840,000 calls / month
- 50 requests / second
- Hard cap (429 above quota, no overage)
- 840k calls/month
- 50 req/sec
- Platform scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
STRING API
The STRING protein–protein interaction database as an API — the curated and predicted network of functional associations between proteins, powered by the official STRING API. Resolve gene or protein names to STRING identifiers with annotations; get a protein's top interaction partners with a combined confidence score and per-channel evidence (experimental, curated databases, co-expression, text-mining, gene fusion, neighbourhood and co-occurrence); build the interaction network among a set of proteins as scored edges; run functional enrichment of a gene set over Gene Ontology, KEGG, Reactome, Pfam, InterPro and more with p-values and false-discovery rates; and score homology between proteins. Covers 12,000+ organisms (default human, NCBI taxon 9606). Ideal for systems-biology and network-biology pipelines, gene-set and pathway analysis, drug-target and disease-gene research, and bioinformatics dashboards.
api.oanor.com/string-api
Text Tools API
A fast, fully-local text-utilities toolkit: convert between 10 case styles (upper, lower, title, sentence, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case), generate URL-friendly slugs, compute text statistics (word, character, sentence, line and paragraph counts, average word length and reading time), and produce lorem-ipsum placeholder text by words, sentences or paragraphs. Pure server-side compute, no third-party upstream, so responses are instant and always available. Ideal for CMS, editors, developer tools, forms and content pipelines.
api.oanor.com/text-api
Number API
A fast, fully-local number toolkit: spell numbers out in English words (great for amount-in-words on invoices and cheques), format ordinals (1st, 2nd, 112th), convert integers to and from Roman numerals (1 to 3999), convert numbers between any bases from 2 to 36, and format numbers locale-aware as decimal, currency or percent. Every endpoint accepts input via the query string or the request body. Pure server-side compute, no third-party upstream, so responses are instant and always available. Ideal for invoicing and billing, localization, education and developer formatting tooling.
api.oanor.com/number-api
XML API
A fast, fully-local XML toolkit: convert XML to JSON and JSON to XML with configurable attribute handling, validate XML well-formedness with line and column error details, and pretty-print XML while preserving element order. Every endpoint accepts input via the query string or the request body, up to 2 MB. Pure server-side compute, no third-party upstream, so responses are instant and always available. Ideal for system integrations, SOAP and legacy interop, RSS and sitemap processing, config tooling and data pipelines.
api.oanor.com/xml-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Pad API?
What's the rate limit for Pad API?
How much does Pad API cost?
Can I cancel my subscription anytime?
Is Pad API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/pad-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/pad-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/pad-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/pad-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.