---
title: Fuzzy Text Search API
slug: fuzzy-search
url: https://apyhub.com/apyhub/service/fuzzy-search
provider: ApyHub
categories: [Retrieval Kit]
tags: [fuzzy-search, string-matching, text-normalization, developer-tools, search]
auth: api_key
version: 1.0
service_type: sync
endpoints: 1
atoms: 25
mcp: true
alias: search-fuzzy-text
---

# Fuzzy Text Search API

Compare a source string against a space-separated target and get the matching words back. Built for autocomplete, filtering, and normalization.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/apyhub/fuzzy-search` | What it does Performs a fuzzy search by comparing a source term against a space-separated target st… | 25 |

## Endpoint reference

### Fuzzy search

`POST https://api.eu.apyhub.com/apyhub/fuzzy-search` · 25 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `source` | body | string | yes | The search term. Example: `ing`. |
| `target` | body | string | yes | Space-separated words to search within. Example: `finding things bring`. |
| `accent-insensitive` | query | boolean | no | Default: `false`. |
| `unicode-normalized` | query | boolean | no | Default: `false`. |

#### Quickstart

Find the closest matching words from a source string by sending the search term and target text.

```bash
curl -X POST "https://api.eu.apyhub.com/apyhub/fuzzy-search?accent-insensitive=false&unicode-normalized=false" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"source":"ing","target":"finding things bring"}'
```

#### What you'll get back

Returns a JSON object with a `data` array of strings.

```json
{
  "data": ["finding", "things", "bring"]
}
```

## About

## What it does
Fuzzy Search compares a search term against a space-separated target string and returns the matching words as an array of strings. Send `source` and `target` in the request body, and you can also set `accent-insensitive` or `unicode-normalized` in the query string to adjust how comparisons are handled.

Use it when you need tolerant matching instead of exact string comparison. For example, you can check whether a user-entered fragment matches words in a title, product name, or free-text field without forcing the input to be identical. The response is a simple `data` array, so it fits cleanly into autocomplete, filtering, and lightweight text-processing workflows.

Because the API works on plain strings, it is easy to place in front of search UIs, suggestion systems, and content review pipelines. If you are normalizing user input or comparing text across different encodings or accents, the optional flags help you control matching behavior without adding extra logic in your app.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

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