Skip to content
Fourohtwo

fastx402.tools/json-merge-patch

Applies RFC 7386 JSON Merge Patch to a target document and returns the result. Use for partial updates to configuration or API payloads.

BaseAnswering
GEThttps://fastx402.tools/json-merge-patch

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://fastx402.tools/json-merge-patch?patch=%7B%22age%22%3A31%2C%22address%22%3A%7B%22zip%22%3A%2210002%22%7D%2C%22active%22%3Atrue%7D&target=%7B%22name%22%3A%22Alice%22%2C%22age%22%3A30%2C%22address%22%3A%7B%22city%22%3A%22NYC%22%2C%22zip%22%3A%2210001%22%7D%7D");
console.log(await res.json());

Example input

{
  "patch": "{\"age\":31,\"address\":{\"zip\":\"10002\"},\"active\":true}",
  "target": "{\"name\":\"Alice\",\"age\":30,\"address\":{\"city\":\"NYC\",\"zip\":\"10001\"}}"
}

More from FastX402 LabProvider status