---
title: Text Similarity Search API
slug: text-similarity-search
url: https://apyhub.com/apyhub/service/text-similarity-search
provider: ApyHub
categories: [Artificial Intelligence, Developer Tools]
tags: [text-similarity, string-comparison, fuzzy-matching, duplicate-detection, search-ranking]
auth: api_key
---

# Text Similarity Search API

Compare a source string and a target string and get a 0 to 1 similarity score. Useful for fuzzy matching, duplicate checks, and text ranking.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `` | What it does Computes a similarity score between two input strings and returns the score as a float… | 25 |

## About

## What it does
Text Similarity Search compares two strings and returns a similarity score between 0 and 1. Send a `source` string and a `target` string in the request body, then get back `data` as a floating-point score rounded to 3 decimal places.

Use Text Similarity Search when you need to measure how closely two pieces of text match without doing a full semantic analysis. It works well for duplicate detection, fuzzy matching, near-duplicate content checks, and simple comparison tasks in search or review workflows.

The response is intentionally compact: one numeric score that you can sort, threshold, or log. That makes it easy to plug into systems that need a quick similarity check for user-submitted text, product titles, tags, or short descriptions.

If you need a lightweight way to compare strings and make a yes/no or ranked decision from the result, Text Similarity Search gives you a direct score you can use immediately.

## Usage

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