78trust / 100
Url To Md
by agentshelf.syntexa.ch in News & content
x402 APIPassing, checked 27 min ago
Call when an agent needs the main content of a public http(s) URL as markdown, plus title and final_url. Use it for docs, articles, and product pages. SSRF-safe fetch. Send JSON {"url":"https://example.com/"}. Exact $0.005 USDC on Base. Try unpaid POST /v1/sandbox/url-to-md first.
POST https://agentshelf.syntexa.ch/v1/url-to-md
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 31 ms typical, 196 ms slowest 5%
- Last check
- 27 min ago
- Next check
- in 5 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentshelf.syntexa.ch/v1/url-to-md" \
-H "content-type: application/json" \
-d '{"url":"https://example.com/"}'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%2Furl-to-md
const res = await pay("https://agentshelf.syntexa.ch/v1/url-to-md", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://example.com/"}),
});
console.log(await res.json());Example input
{
"url": "https://example.com/"
}Example output
{
"billed": true,
"final_url": "https://example.com/",
"markdown": "# Example Domain\n\nThis domain is for use in illustrative examples.",
"ok": true,
"receipt_id": "rcpt_01EXAMPLE000000000000000",
"title": "Example Domain",
"warnings": []
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 27 min ago | Passed | 402 | 211 ms | $0.005 |
| 4 h ago | Passed | 402 | 196 ms | $0.005 |
| 7 h ago | Passed | 402 | 28 ms | $0.005 |
| 11 h ago | Passed | 402 | 32 ms | $0.005 |
| 15 h ago | Passed | 402 | 31 ms | $0.005 |
| 18 h ago | Passed | 402 | 31 ms | $0.005 |
| 23 h ago | Passed | 402 | 110 ms | $0.005 |
| 26 h ago | Passed | 402 | 30 ms | $0.005 |
| 31 h ago | Passed | 402 | 29 ms | $0.005 |