---
title: Ranked Text Search API
slug: ranked-text-search
url: https://apyhub.com/apyhub/service/ranked-text-search
provider: ApyHub
categories: [Developer Tools, SEO]
tags: [fuzzy-search, text-matching, levenshtein, autocomplete, ranking, unicode-normalization]
auth: api_key
---

# Ranked Text Search API

Rank fuzzy matches for a search term against space-separated text. Returns matches with Levenshtein distance for lookup and typo-tolerant search.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `` | What it does Performs a ranked fuzzy search by comparing a source string against a space-separated… | 25 |

## About

## 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.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/ranked-text-search
