Data Join
by Nero Labs Agent Tools in Developer tools
Joins two lists of JSON rows on one or more key fields, like a VLOOKUP or SQL join: inner, left, right, full or anti. Keys match exactly, or normalized (case, spacing and number-as-text differences ignored). Returns joined rows plus match counts and unmatched rows. Up to 500 rows a side. $0.002 per left row sent (right rows free), $0.002 minimum. Same engine as nerolabs/dataset-join-merge.
https://x402-agent-tools.nerolabs.workers.dev/data/join- Price
- $0.004
- per call in USDC
- Uptime
- 97.8%
- last 30 days
- Response time
- 483 ms
- 1.0 s slowest 5%
- Last check
- Failed
- 20 h ago, next any minute now
Reliability
Latest check failed 20 h ago: Timed out
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://x402-agent-tools.nerolabs.workers.dev/data/join
Each call costs $0.004 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/join
content-type: application/json
{
"joinType": "left",
"keyMatching": "normalized",
"leftKeyFields": [
"domain"
],
"leftRows": [
{
"company": "Acme Ltd",
"domain": "acme.com"
},
{
"company": "Bolt Co",
"domain": "bolt.io"
}
],
"rightKeyFields": [
"website"
],
"rightRows": [
{
"employees": 40,
"website": " ACME.com"
}
]
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
includeJoinInfo | boolean | No | On by default: every row gets _joinStatus ("matched", "left_only", "right_only") and _matchCount. Set false for rows with only your own fields. |
joinType | string | No | Which rows to keep. left (default): every left row, enriched where a match exists. inner: matched rows only. right: every right row. full: everything from both sides. leftAnti: left rows with no match on the right. rightAnti: right rows with no match on the left. union: stack both lists, no key nee… One of: left, inner, right, full, leftAnti, rightAnti, union. |
keyMatching | string | No | normalized (default): case-insensitive, trimmed, repeated spaces collapsed, 123 matches "123". exact: values must be identical. One of: normalized, exact. |
leftKeyFields | array of string | No | The field name(s) on the left rows to match on, for example ["email"], or ["firstName","lastName"] for a composite key. Required for every joinType except union. |
leftRows | array of object | Yes | The LEFT table: the main rows you want to keep or enrich. Each row is a JSON object; keys may differ between rows. |
multipleMatches | string | No | When one key matches several right rows. all (default): one output row per matching pair, like SQL. first: only the first matching right row, like VLOOKUP, so each left row appears once. One of: all, first. |
onFieldConflict | string | No | When a right field has the same name as a left field. prefixRight (default): keep both, the right one renamed with rightFieldPrefix. keepLeft: ignore the right value. keepRight: overwrite the left value. One of: prefixRight, keepLeft, keepRight. |
rightFieldPrefix | string | No | Prefix for conflicting right fields when onFieldConflict is prefixRight. Default "right_", so price becomes right_price. |
rightFields | array of string | No | Only copy these fields from the matching right row, like choosing VLOOKUP return columns. Leave out to copy every right field. |
rightKeyFields | array of string | No | The matching field name(s) on the right rows, in the same order as leftKeyFields, for example ["contact_email"]. Leave out when the right rows use the same names as the left. |
rightRows | array of object | Yes | The RIGHT table: the lookup rows to pull matching fields from. Each row is a JSON object. |
Example response
The provider's example. We can't check it without paying.
Example response, 43 lines
{
"_example_note": "Real output, trimmed: long lists cut to their first items and long text shortened.",
"rows": [
{
"_joinStatus": "matched",
"_matchCount": 1,
"company": "Acme Ltd",
"domain": "acme.com",
"employees": 40
},
{
"_joinStatus": "left_only",
"_matchCount": 0,
"company": "Bolt Co",
"domain": "bolt.io"
}
],
"summary": {
"counts": {
"leftRowsMatched": 1,
"leftRowsUnmatched": 1,
"matchedRows": 1,
"passthroughRows": 1,
"rightRowsMatched": 1,
"rightRowsUnmatched": 0
},
"joinType": "left",
"keyMatching": "normalized",
"leftKeyFields": [
"domain"
],
"leftMatchRate": 0.5,
"leftRecordCount": 2,
"multipleMatches": "all",
"outputRowCount": 2,
"rightKeyFields": [
"website"
],
"rightMatchRate": 1,
"rightRecordCount": 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.004.
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/join' \
-H 'content-type: application/json' \
--data-raw '{"joinType":"left","keyMatching":"normalized","leftKeyFields":["domain"],"leftRows":[{"company":"Acme Ltd","domain":"acme.com"},{"company":"Bolt Co","domain":"bolt.io"}],"rightKeyFields":["website"],"rightRows":[{"employees":40,"website":" ACME.com"}]}'
# 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/join' \
-H 'content-type: application/json' \
--data-raw '{"joinType":"left","keyMatching":"normalized","leftKeyFields":["domain"],"leftRows":[{"company":"Acme Ltd","domain":"acme.com"},{"company":"Bolt Co","domain":"bolt.io"}],"rightKeyFields":["website"],"rightRows":[{"employees":40,"website":" ACME.com"}]}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: 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.004 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.004" });
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.004 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402-agent-tools.nerolabs.workers.dev%2Fdata%2Fjoin&method=POST
const res = await pay("https://x402-agent-tools.nerolabs.workers.dev/data/join", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"joinType": "left",
"keyMatching": "normalized",
"leftKeyFields": [
"domain"
],
"leftRows": [
{
"company": "Acme Ltd",
"domain": "acme.com"
},
{
"company": "Bolt Co",
"domain": "bolt.io"
}
],
"rightKeyFields": [
"website"
],
"rightRows": [
{
"employees": 40,
"website": " ACME.com"
}
]
}),
});
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.004 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.004"})
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/join",
json={
"joinType": "left",
"keyMatching": "normalized",
"leftKeyFields": [
"domain",
],
"leftRows": [
{
"company": "Acme Ltd",
"domain": "acme.com",
},
{
"company": "Bolt Co",
"domain": "bolt.io",
},
],
"rightKeyFields": [
"website",
],
"rightRows": [
{
"employees": 40,
"website": " ACME.com",
},
],
},
)
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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 20 h ago | Timed out | - | - | - |
| 3 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 659 ms | $0.004 |
| 5 days ago | Passed | 402 | 140 ms | $0.004 |
| 5 days ago | Passed | 402 | 1.0 s | $0.004 |
Show 10 older checks
| 6 days ago | Passed | 402 | 114 ms | $0.004 |
| 7 days ago | Passed | 402 | 1.1 s | $0.004 |
| 7 days ago | Passed | 402 | 139 ms | $0.004 |
| 8 days ago | Passed | 402 | 627 ms | $0.004 |
| 8 days ago | Passed | 402 | 628 ms | $0.004 |
| 9 days ago | Passed | 402 | 161 ms | $0.004 |
| 9 days ago | Passed | 402 | 532 ms | $0.004 |
| 10 days ago | Passed | 402 | 138 ms | $0.004 |
| 10 days ago | Passed | 402 | 134 ms | $0.004 |
| 10 days ago | Passed | 402 | 1.4 s | $0.004 |
History
| 22 Oct 2026 | Payment address changed from 0xbe3942b2519520Ae4F3963273F7D7f0440D67292 to 0xA969a3127DcC74B2989a4b4e45Ae61B81093164A |