apyhub
DEVELOPER TOOLS · SEO

Ranked Text Search API

Hosted on ApyHub

What it does

Ranked Text Search gives you fuzzy matching over a list of space-separated words. Send a search term in source and the candidate text in target, and it returns ranked matches with their Levenshtein distance from the source.

Use limit to cap how many results come back and offset to skip ranked entries. If you need broader matching, you can also enable accent-insensitive or unicode-normalized handling in the query.

Ranked Text Search is useful when you need to compare a user query against tokenized text, such as searching short labels, finding near-matches in product titles, or normalizing typos in autocomplete and lookup flows. The response is a data array of objects, each with a match string and its numeric distance.

It is a small, focused utility for ordered fuzzy lookup when you want a ranked list rather than a simple yes-or-no match.

▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.