API · /textdiff-api

Text Diff API

healthy 3,962 Subscribers

Compare two pieces of text and get a precise, structured diff. Choose line, word or character granularity for a full edit script (equal, inserted, deleted) with addition and deletion counts, get a compact inline word diff, or render a standard unified diff (patch) with configurable context lines and file labels — ready to feed into patch tooling or a code-review UI. Built on a Longest-Common-Subsequence algorithm for accurate, minimal diffs. Every endpoint works by GET or JSON POST and runs entirely server-side with no third-party upstream, so responses are instant and the service is always available. Ideal for code review and version tooling, CMS and document editors, change tracking, plagiarism highlighting and content audits.

api.oanor.com/textdiff-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/textdiff-api/openapi.json
/api/textdiff-api/llms.txt

Discovery: GET /api/index.json lists every API.

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
70 ms
Server probes · 24h
Subscribers
3,962
active
Total calls
12
last 7 days
status Full status page → · 12 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 500 calls / month
  • 1 requests / second
  • Hard cap (429 above quota, no overage)
  • 500 requests/month, 1 req/s
  • Line, word & character diff
  • Unified diff (patch) output
  • No credit card
Sign in to subscribe

Basic

€2.00 /month

  • 20,000 calls / month
  • 5 requests / second
  • Hard cap (429 above quota, no overage)
  • 20,000 requests/month, 5 req/s
  • Inline word diff & edit script
  • Addition/deletion stats
  • Commercial use, email support
Sign in to subscribe

Pro

€6.00 /month

  • 150,000 calls / month
  • 15 requests / second
  • Hard cap (429 above quota, no overage)
  • 150,000 requests/month, 15 req/s
  • High-volume diffing
  • Configurable patch context
  • Priority email support
Sign in to subscribe

Mega

€15.00 /month

  • 1,000,000 calls / month
  • 40 requests / second
  • Hard cap (429 above quota, no overage)
  • 1,000,000 requests/month, 40 req/s
  • CI & editor-integration scale
  • Maximum concurrency
  • Priority support
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Stopwords API

Stopword lists and removal for 58 languages. Fetch the full stopword list for a language, see all supported languages with their word counts, check whether a single word is a stopword, or strip stopwords out of a block of text to get a clean keyword stream. Built on the open stopwords-iso dataset and served entirely in-memory, so responses are instant and the service is always available. Ideal for search indexing and relevance, NLP preprocessing and text mining, keyword extraction, tag generation and content tooling.

api.oanor.com/stopwords-api

Emoji API

A complete emoji database in one fast API. Search roughly 1,870 emojis by name, keyword, alias or tag, look up a single emoji by its alias (like rocket or :fire:) or by the emoji character itself, browse any of the nine Unicode categories, or get random emojis (optionally from a category). Every emoji comes with its name, category, aliases, search tags, Unicode code points and the version it was introduced in. Built on the open GitHub gemoji dataset and served entirely in-memory, so responses are instant and the service is always available. Ideal for chat and messaging apps, emoji pickers and search, social and content tools, games and fun widgets.

api.oanor.com/emoji-api

Regex API

Run regular expressions server-side without the ReDoS risk. Test whether a pattern matches, extract all matches with their positions and capture groups (numbered and named), replace with a substitution pattern, or split text — all with the familiar JavaScript regex flags (g, i, m, s, u, y). Every evaluation runs in an isolated sandbox with a hard timeout, so a catastrophic-backtracking pattern can never hang your service; you get a clear timeout error instead. Inputs accept GET query parameters or a JSON POST body. Pure local compute with no third-party upstream, so responses are instant and the service is always available. Ideal for no-code and automation platforms, data-cleaning pipelines, form and input validation, log parsing and content tooling.

api.oanor.com/regex-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

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Text Diff API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Text Diff API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Text Diff API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Text Diff API cost?
Text Diff API has a free tier with 100 calls / month. Paid plans start at €2.00 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Text Diff API GDPR-compliant?
All requests to Text Diff API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

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/textdiff-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/textdiff-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/textdiff-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/textdiff-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 in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 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 in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.