Highlight terms in text
API · /highlight-api
Highlight API
Highlight search terms in text. The highlight endpoint wraps every match of one or more terms in a marker — defaulting to <mark>…</mark>, or any open/close strings you choose (** for Markdown, ANSI codes for the terminal, a CSS span, anything) — and returns the marked-up text and a match count. The snippets endpoint returns short excerpts of the surrounding context around each match, the way a search-results page shows where your query appears. Matching is case-insensitive by default with optional whole-word mode, and terms are matched literally (regex characters are safely escaped). Perfect for search results and in-page find, keyword spotting, log review and document previews. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. Distinct from search, summarization and diff APIs.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 86 ms
- Server probes · 24h
- Subscribers
- 3,674
- active
- Total calls
- 39
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 1,215 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 1,215 calls/month
- 2 req/sec
- Highlight + snippets
- No credit card
Starter
€2.55 /month
- 10,550 calls / month
- 8 requests / second
- Hard cap (429 above quota, no overage)
- 10.55k calls/month
- 8 req/sec
- Custom markers, whole-word
- Email support
Pro
€22.45 /month
- 156,500 calls / month
- 20 requests / second
- Hard cap (429 above quota, no overage)
- 156.5k calls/month
- 20 req/sec
- Search / preview pipelines
- Priority support
Mega
€60.45 /month
- 825,000 calls / month
- 50 requests / second
- Hard cap (429 above quota, no overage)
- 825k calls/month
- 50 req/sec
- Platform scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Stemmer API
Reduce words to their linguistic root (stem) with the classic Snowball stemming algorithms — running → run, fishing → fish, nationalization → nation — across 24 languages including English, German, French, Spanish, Italian, Portuguese, Dutch, Russian, Arabic, Finnish, Swedish and more. Stem a whole text (every word, returning both the per-word mapping and the fully stemmed text) or a single word. Stemming is the core normalisation step behind search engines, query expansion, text indexing, keyword matching and NLP preprocessing. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 4 endpoints. Distinct from sentiment/NLP analysis and fuzzy string matching.
api.oanor.com/stemmer-api
Internet Archive API
The Internet Archive as an API — the non-profit digital library of over 40 million freely accessible items: books and texts, audio and live-music concerts, films and video, software, images and archived web pages. Search the entire archive by keyword with full Lucene field syntax (by creator, title, subject, collection and more), filter by media type (texts, audio, movies, image, software, web, live concerts) and sort by downloads, date or trending popularity, getting each item's identifier, title, creator, media type, year, download count and collections; read an item's full metadata including its description, creators, subjects, language, collections, publisher, license, dates and total size; list an item's downloadable files with their format, size, length and a direct download URL; and look up the closest Wayback Machine snapshot of any web page — the archived flag, the snapshot date and HTTP status, and the web.archive.org link, optionally near a target timestamp. Ideal for research, digital preservation, media discovery, dataset building, link-rot recovery and apps that surface public-domain and openly-licensed culture. Data from the Internet Archive (archive.org).
api.oanor.com/archive-api
PDF to Text API
Extract text from PDF documents: the complete document text, the text of every page separately, the document metadata (page count, title, author, subject, keywords, creator, producer, creation and modification dates, PDF version, encryption and outline flags), and a full in-document search that returns the matching pages with hit counts and context snippets. Supply a PDF by public URL, base64 or a raw binary request body; only public http/https URLs are accepted and private or internal hosts are blocked. Pure server-side computation (pdf.js, no third-party upstream, no per-page cloud cost). Ideal for document indexing and search, data extraction and ETL, invoice and contract processing, archiving and content pipelines.
api.oanor.com/pdftext-api
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
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Highlight API?
What's the rate limit for Highlight API?
How much does Highlight API cost?
Can I cancel my subscription anytime?
Is Highlight 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/highlight-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/highlight-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/highlight-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/highlight-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.