Api Endpoint

Nero Labs Agent Tools

Compares an old and a new list of JSON rows by a key field and returns what was added, removed and changed, with the old and new value of every changed field. Use it to spot new leads, price changes or deleted items between two scrapes. Up to 500 rows a side. $0.001 per new row sent (old rows free), $0.002 minimum. Same engine as nerolabs/dataset-diff-detector.

Open interactive test console

Offering

Provider
x402-agent-tools.nerolabs.workers.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-agent-tools.nerolabs.workers.dev/data/diff
MIME type
Not provided
First seen
2026-10-23T22:14:09.550Z
Last seen
Tags
Data, diff, compare, changes, Monitoring

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0xA969a3127DcC74B2989a4b4e45Ae61B81093164A"
  }
]

Observed health

Status
Healthy
Latest latency
74 ms
Average latency
429 ms
HTTP status
204
Last checked
Reachability
100% over 16 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "compareFields": {
          "description": "Optional. Only these fields decide whether a matched row changed. Default: every field on either row.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "ignoreFields": {
          "description": "Optional. Fields never compared, for example [\"scrapedAt\",\"lastChecked\"], so a timestamp alone does not mark a row changed.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "includeUnchanged": {
          "description": "Optional, default false. Set true to also return matched rows with no difference (status \"unchanged\"). They are always counted in the summary.",
          "type": "boolean"
        },
        "keyFields": {
          "description": "Field name(s) that uniquely identify a row on both sides, for example [\"sku\"] or [\"country\",\"sku\"]. Strongly recommended: without it a changed row is reported as one removed row plus one added row.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "newRows": {
          "description": "The after snapshot: a JSON array of row objects, the same kind of rows as oldRows. At least one row.",
          "items": {
            "type": "object"
          },
          "type": "array"
        },
        "oldRows": {
          "description": "The before snapshot: a JSON array of row objects. At least one row. Keys may differ between rows.",
          "items": {
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "oldRows",
        "newRows"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "properties": {
        "_example_note": {
          "type": "string"
        },
        "rows": {
          "items": {
            "properties": {
              "changedFields": {
                "type": "array"
              },
              "key": {
                "type": "object"
              },
              "newValues": {
                "type": "object"
              },
              "oldValues": {
                "type": "object"
              },
              "status": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "summary": {
          "properties": {
            "counts": {
              "properties": {
                "added": {
                  "type": "number"
                },
                "changed": {
                  "type": "number"
                },
                "removed": {
                  "type": "number"
                },
                "unchanged": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "differenceCount": {
              "type": "number"
            },
            "duplicateRowsSkipped": {
              "properties": {
                "new": {
                  "type": "number"
                },
                "old": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "keyFieldsUsed": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "newRecordCount": {
              "type": "number"
            },
            "oldRecordCount": {
              "type": "number"
            },
            "returnedRowCount": {
              "type": "number"
            },
            "rowsMissingKeyFields": {
              "properties": {
                "new": {
                  "type": "number"
                },
                "old": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "unchangedRowsIncluded": {
              "type": "boolean"
            },
            "warnings": {
              "type": "array"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}