78trust / 100

Data Merge Dedupe

by Nero Labs Agent Tools in Company & people data

x402 APIPassing, checked 44 min ago

Merges two or more lists of JSON rows (for example leads from Google Maps, a CRM export and a spreadsheet) into one list and removes the duplicates between them by a key such as phone, email or website, ignoring spacing, case and http/www. Keeps the most complete row, fills its blanks from the duplicates and labels which lists each record was in. Up to 500 rows in all. $0.001 per row sent, $0.002 minimum.

POST
https://x402-agent-tools.nerolabs.workers.dev/data/merge-dedupe
Price
$0.002
per call in USDC
Uptime
98.0%
last 30 days
Response time
449 ms
938 ms slowest 5%
Last check
Passed
44 min ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://x402-agent-tools.nerolabs.workers.dev/data/merge-dedupe

Each call costs $0.002 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://x402-agent-tools.nerolabs.workers.dev/data/merge-dedupe
content-type: application/json

{
  "dedupKeys": [
    "phone"
  ],
  "lists": [
    {
      "name": "Google Maps",
      "rows": [
        {
          "name": "Acme Plumbing",
          "phone": "0117 496 0012",
          "website": ""
        }
      ]
    },
    {
      "name": "CRM",
      "rows": [
        {
          "name": "ACME PLUMBING",
          "phone": "01174960012",
          "website": "https://www.acme.co.uk/"
        }
      ]
    }
  ]
}

Parameters

ParameterTypeRequiredDescription
dedupKeysarray of stringNoFields that identify the same record, for example ["phone"] or ["website"]. Leave out to compare whole rows.
dedupModestringNonormalized (default) ignores case, spaces, punctuation and http/www, so "0117 496 0012" matches "01174960012". fuzzy also catches near matches (100 rows at most). none only merges, no dedupe. One of: exact, normalized, fuzzy, none.
fillBlanksFromDuplicatesbooleanNoDefault true: copy values the kept row is missing from the duplicates it replaced.
keepStrategystringNoWhich duplicate to keep: most_complete (default, the row with the most filled fields), first or last. One of: most_complete, first, last.
listsarray of objectYesTwo or more lists to merge, each {"name":"Google Maps","rows":[{...},{...}]}. Every row is a JSON object. The name is returned on each row as the list it came from.
similarityThresholdnumberNofuzzy only, 0.5 to 1. Default 0.9.

Example response

The provider's example. We can't check it without paying.

{
  "_example_note": "Real output, trimmed: long lists cut to their first items and long text shortened.",
  "rows": [
    {
      "_duplicatesMerged": 1,
      "_foundInSources": [
        "Google Maps",
        "CRM"
      ],
      "_source": "CRM",
      "name": "ACME PLUMBING",
      "phone": "01174960012",
      "website": "https://www.acme.co.uk/"
    }
  ],
  "summary": {
    "blanksFilled": 0,
    "duplicatesRemoved": 1,
    "lists": 2,
    "modeUsed": "normalized",
    "rowsIn": 2,
    "rowsOut": 1
  },
  "warnings": []
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.002.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://x402-agent-tools.nerolabs.workers.dev/data/merge-dedupe' \
  -H 'content-type: application/json' \
  --data-raw '{"dedupKeys":["phone"],"lists":[{"name":"Google Maps","rows":[{"name":"Acme Plumbing","phone":"0117 496 0012","website":""}]},{"name":"CRM","rows":[{"name":"ACME PLUMBING","phone":"01174960012","website":"https://www.acme.co.uk/"}]}]}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://x402-agent-tools.nerolabs.workers.dev/data/merge-dedupe' \
  -H 'content-type: application/json' \
  --data-raw '{"dedupKeys":["phone"],"lists":[{"name":"Google Maps","rows":[{"name":"Acme Plumbing","phone":"0117 496 0012","website":""}]},{"name":"CRM","rows":[{"name":"ACME PLUMBING","phone":"01174960012","website":"https://www.acme.co.uk/"}]}]}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.002 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.002" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.002 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402-agent-tools.nerolabs.workers.dev%2Fdata%2Fmerge-dedupe&method=POST
const res = await pay("https://x402-agent-tools.nerolabs.workers.dev/data/merge-dedupe", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "dedupKeys": [
      "phone"
    ],
    "lists": [
      {
        "name": "Google Maps",
        "rows": [
          {
            "name": "Acme Plumbing",
            "phone": "0117 496 0012",
            "website": ""
          }
        ]
      },
      {
        "name": "CRM",
        "rows": [
          {
            "name": "ACME PLUMBING",
            "phone": "01174960012",
            "website": "https://www.acme.co.uk/"
          }
        ]
      }
    ]
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.002 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.002"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://x402-agent-tools.nerolabs.workers.dev/data/merge-dedupe",
        json={
            "dedupKeys": [
                "phone",
            ],
            "lists": [
                {
                    "name": "Google Maps",
                    "rows": [
                        {
                            "name": "Acme Plumbing",
                            "phone": "0117 496 0012",
                            "website": "",
                        },
                    ],
                },
                {
                    "name": "CRM",
                    "rows": [
                        {
                            "name": "ACME PLUMBING",
                            "phone": "01174960012",
                            "website": "https://www.acme.co.uk/",
                        },
                    ],
                },
            ],
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
44 min agoPassed40231 ms$0.002
21 h agoTimed out---
3 days agoTimed out---
4 days agoPassed40230 ms$0.002
4 days agoPassed402683 ms$0.002
Show 10 older checks
5 days agoPassed402709 ms$0.002
5 days agoPassed402124 ms$0.002
5 days agoPassed402712 ms$0.002
6 days agoPassed402507 ms$0.002
6 days agoPassed402627 ms$0.002
6 days agoPassed4021.2 s$0.002
7 days agoPassed402704 ms$0.002
7 days agoPassed402125 ms$0.002
7 days agoPassed402861 ms$0.002
8 days agoPassed402809 ms$0.002

History

22 Oct 2026Payment address changed from 0xbe3942b2519520Ae4F3963273F7D7f0440D67292 to 0xA969a3127DcC74B2989a4b4e45Ae61B81093164A