80trust / 100

Json Diff Paths File

by aiskills402 in Documents & files

x402 APIPassing, checked 5 h ago

JSON Diff Paths — Compares two pasted JSON documents, BEFORE and AFTER, and lists every value that differs as strict JSON, one entry per changed path, with the old and the new value. Paths are JSON Pointers, types are strict (the string "1" is not the number 1, null is not a missing key, an empty array is not an empty object), arrays are compared by index with no move detection, object key order and number spelling (1.0, 1e2) are not changes, and a document that is not valid JSON is refused, ne…

GET https://api.aiskills402.com/v1/skills/json-diff-paths/file

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
200 ms typical, 200 ms slowest 5%
Last check
5 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.aiskills402.com/v1/skills/json-diff-paths/file"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.aiskills402.com%2Fv1%2Fskills%2Fjson-diff-paths%2Ffile
const res = await pay("https://api.aiskills402.com/v1/skills/json-diff-paths/file");
console.log(await res.json());

Example output

{
  "file": {
    "content": "<the SKILL.md file>",
    "encoding": "utf-8",
    "name": "SKILL.md"
  },
  "name": "JSON Diff Paths",
  "ok": true,
  "receipt": {
    "settled": true,
    "tx": "0x<settlement transaction>"
  },
  "redownload": {
    "token": "<64 hex chars>",
    "url": "<api>/v1/purchases/<token>"
  },
  "sha256": "<sha256 of SKILL.md>",
  "skill": "json-diff-paths",
  "version": "1.0.0"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed402200 ms$0.01