78trust / 100

Profile Rss

by agentshelf.syntexa.ch in News & content

x402 APIPassing, checked 2 h ago

Call when an agent needs application/rss+xml alternate hrefs extracted from a public page or HTML (SSRF-safe). Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/profile-rss first.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
31 ms typical, 32 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://agentshelf.syntexa.ch/v1/profile-rss" \
  -H "content-type: application/json" \
  -d '{"html":"<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta name=\"description\" content=\"Desc\"><meta property=\"og:title\" content=\"OG\">\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%2Fprofile-rss
const res = await pay("https://agentshelf.syntexa.ch/v1/profile-rss", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"html":"<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta name=\"description\" content=\"Desc\"><meta property=\"og:title\" content=\"OG\">\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 name=\"description\" content=\"Desc\"><meta property=\"og:title\" content=\"OG\">\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
2 h agoPassed40230 ms$0.003
6 h agoPassed40229 ms$0.003
9 h agoPassed40231 ms$0.003
13 h agoPassed40232 ms$0.003
17 h agoPassed40229 ms$0.003
20 h agoPassed40231 ms$0.003
25 h agoPassed40250 ms$0.003
28 h agoPassed40232 ms$0.003
33 h agoPassed40229 ms$0.003