80trust / 100

Tldr

by TLDR in Other

x402 APIPassing, checked 1 h ago

Summarize a URL or pasted text into 3-5 concise bullets. $0.01 USDC.

POST https://api.anchor-x402.com/v1/tldr

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.anchor-x402.com/v1/tldr" \
  -H "content-type: application/json" \
  -d '{"url":"https://anchor-x402.com/llms.txt"}'
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.anchor-x402.com%2Fv1%2Ftldr
const res = await pay("https://api.anchor-x402.com/v1/tldr", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://anchor-x402.com/llms.txt"}),
});
console.log(await res.json());

Example input

{
  "url": "https://anchor-x402.com/llms.txt"
}

Example output

{
  "source_chars": 1170,
  "summary_bullets": [
    "Example domain is reserved by IANA for documentation use.",
    "It is safe to use in literature without coordination or permission.",
    "More info available at iana.org."
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402561 ms$0.01
6 h agoPassed402289 ms$0.01