77trust / 100

Text Diff

by manylives.me in Other

x402 APIPassing, checked 2 h ago

Line-by-line difference between two texts (up to 3,000 lines each): added, removed and unchanged lines in order, with counts.

POST https://manylives.me/paid/text/diff

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://manylives.me/paid/text/diff" \
  -H "content-type: application/json" \
  -d '{"a":"alpha\nbeta\ngamma","b":"alpha\nbeta two\ngamma"}'
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%2Fmanylives.me%2Fpaid%2Ftext%2Fdiff
const res = await pay("https://manylives.me/paid/text/diff", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"a":"alpha\nbeta\ngamma","b":"alpha\nbeta two\ngamma"}),
});
console.log(await res.json());

Example input

{
  "a": "alpha\nbeta\ngamma",
  "b": "alpha\nbeta two\ngamma"
}

Example output

{
  "added": 1,
  "diff": [
    {
      "line": "same",
      "op": "="
    },
    {
      "line": "old",
      "op": "-"
    },
    {
      "line": "new",
      "op": "+"
    }
  ],
  "removed": 1,
  "unchanged": 2
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402513 ms$0.002
6 h agoPassed402432 ms$0.002
10 h agoPassed402375 ms$0.002
14 h agoPassed402503 ms$0.002
18 h agoPassed402510 ms$0.002
21 h agoPassed402397 ms$0.002
25 h agoPassed402402 ms$0.002
28 h agoPassed402408 ms$0.002
32 h agoPassed402602 ms$0.002
36 h agoPassed402360 ms$0.002
39 h agoPassed402385 ms$0.002
43 h agoPassed402468 ms$0.002
46 h agoPassed402373 ms$0.002
2 days agoPassed402491 ms$0.002
2 days agoPassed402379 ms$0.002