Free plan

Fuzzy match

Find rows that are almost the same, like Acme Ltd and ACME Limited
POST
/v1/data/fuzzy-match

About this tool

Names are often typed a little differently, so exact matching misses them. This tool finds rows whose names look alike. With two tables it matches rows of one to the other. With one table it groups near-duplicate rows. It gives each match a similarity score, and you choose how strict it is.
For example, you find customers who appear twice as Jon Smith and John Smyth.

How to use it

  1. Choose this tool.
  2. Add your table with Upload or drag and drop. Add a second table only if you want to match two lists.
  3. Choose the columns that hold the names to compare.
  4. Set how strict the match should be, then press Generate.
  5. Download the list of matches or groups.

What you get back

You get a table of matching rows with a similarity score for each. Download it and check the matches yourself.
GOOD TO KNOW
Without block, comparing more than 6 million pairs is refused: set block. Scores are 0 to 100. Counts as one conversion per file.
TEST IT LIVE

Try Fuzzy match in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Data
Plan
Free
Method
POST
Endpoint
/v1/data/fuzzy-match
Tool ID
data.fuzzy-match
Authentication
API key
Accepts
Text and settings
Background jobs
Yes
Usage group
Data
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/data/fuzzy-match" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'file=@document.pdf' \
  -F 'other_sheet=Customers' \
  -F 'left_columns=["Name"]' \
  -F 'right_columns=["Company"]'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.data.fuzzyMatch({
    "file": 'document.pdf',
    "other_sheet": "Customers",
    "left_columns": "[\"Name\"]",
    "right_columns": "[\"Company\"]"
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->data()->fuzzyMatch([
    'file' => 'document.pdf',
    'other_sheet' => 'Customers',
    'left_columns' => '["Name"]',
    'right_columns' => '["Company"]',
]);
echo $result->requestId;
FAQ

Frequently asked questions

Match the rows of two tables by names that are alike but not equal ("Acme Ltd." and "ACME Limited"), with six similarity measures, ignored words, blocking and scores; or, with one table, group near-duplicate rows.

Fuzzy match works from text and settings, so no file is needed. The required inputs are left_columns.

Fuzzy match is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/data/fuzzy-match with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.