78trust / 100

Css Rss

by agentshelf.syntexa.ch in News & content

x402 APIPassing, checked 1 h ago

Call when an agent needs RSS autodiscovery hrefs via link[type='application/rss+xml'] from a public page or HTML (SSRF-safe). Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/css-rss first.

POST https://agentshelf.syntexa.ch/v1/css-rss

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
30 ms typical, 36 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://agentshelf.syntexa.ch/v1/css-rss" \
  -H "content-type: application/json" \
  -d '{"html":"<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta charset=\"utf-8\"><meta name=\"description\" content=\"Desc\">\n<link rel=\"canonical\" href=\"https://example.com/\"><link rel=\"icon\" href=\"/favicon.ico\">\n</head><body><h1>Hello</h1><a href=\"https://example.com/a\">A</a></body></html>"}'
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%2Fagentshelf.syntexa.ch%2Fv1%2Fcss-rss
const res = await pay("https://agentshelf.syntexa.ch/v1/css-rss", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"html":"<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta charset=\"utf-8\"><meta name=\"description\" content=\"Desc\">\n<link rel=\"canonical\" href=\"https://example.com/\"><link rel=\"icon\" href=\"/favicon.ico\">\n</head><body><h1>Hello</h1><a href=\"https://example.com/a\">A</a></body></html>"}),
});
console.log(await res.json());

Example input

{
  "html": "<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta charset=\"utf-8\"><meta name=\"description\" content=\"Desc\">\n<link rel=\"canonical\" href=\"https://example.com/\"><link rel=\"icon\" href=\"/favicon.ico\">\n</head><body><h1>Hello</h1><a href=\"https://example.com/a\">A</a></body></html>"
}

Example output

{
  "billed": true,
  "ok": true,
  "profile": "rss",
  "receipt_id": "rcpt_01EXAMPLE000000000000000",
  "truncated": false,
  "values": [
    "Hello"
  ],
  "warnings": []
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed40237 ms$0.004
5 h agoPassed40230 ms$0.004
8 h agoPassed40230 ms$0.004
12 h agoPassed40230 ms$0.004
16 h agoPassed40229 ms$0.004
19 h agoPassed40229 ms$0.004
24 h agoPassed40230 ms$0.004
27 h agoPassed40234 ms$0.004
32 h agoPassed40236 ms$0.004