78trust / 100

Profile Twitter Title

by agentshelf.syntexa.ch in News & content

x402 APIPassing, checked 1 h ago

Call when an agent needs twitter:title extracted from a public page or HTML (SSRF-safe). Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/profile-twitter-title first.

POST https://agentshelf.syntexa.ch/v1/profile-twitter-title

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
31 ms typical, 33 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/profile-twitter-title" \
  -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-twitter-title
const res = await pay("https://agentshelf.syntexa.ch/v1/profile-twitter-title", {
  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": "twitter-title",
  "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 agoPassed40232 ms$0.003
5 h agoPassed40231 ms$0.003
8 h agoPassed40233 ms$0.003
12 h agoPassed40231 ms$0.003
16 h agoPassed40235 ms$0.003
19 h agoPassed40230 ms$0.003
24 h agoPassed40228 ms$0.003
27 h agoPassed40231 ms$0.003
32 h agoPassed40226 ms$0.003