80trust / 100
Pdf Attachments
by Tanod pdfpeek in Documents & files
x402 APIPassing, checked 3 h ago
pdfpeek (Tanod) PDF attachments: list, extract or add the files embedded in a PDF.
POST https://tanod.dev/v1/pdf/attachments
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 279 ms typical, 807 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://tanod.dev/v1/pdf/attachments' \
-H 'content-type: application/json' \
--data-raw '{"action":"list","url":"https://tanod.dev/samples/attachment-sample.pdf"}'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%2Ftanod.dev%2Fv1%2Fpdf%2Fattachments
const res = await pay("https://tanod.dev/v1/pdf/attachments", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"action\":\"list\",\"url\":\"https://tanod.dev/samples/attachment-sample.pdf\"}",
});
console.log(await res.json());Example input
{
"action": "list",
"url": "https://tanod.dev/samples/attachment-sample.pdf"
}Example output
{
"action": "list",
"attachments": [
{
"description": "Sample attachment",
"filename": "notes.txt",
"mime_type": "text/plain",
"name": "notes.txt",
"size": 40
}
],
"count": 1,
"input_bytes": 1480,
"input_pages": 1,
"operation": "attachments",
"truncated": false,
"untrusted_content": true
}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 |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 262 ms | $0.005 |
| 7 h ago | Passed | 402 | 261 ms | $0.005 |
| 11 h ago | Passed | 402 | 470 ms | $0.005 |
| 15 h ago | Passed | 402 | 278 ms | $0.005 |
| 19 h ago | Passed | 402 | 382 ms | $0.005 |
| 22 h ago | Passed | 402 | 1.8 s | $0.005 |
| 26 h ago | Passed | 402 | 279 ms | $0.005 |
| 29 h ago | Passed | 402 | 266 ms | $0.005 |
| 33 h ago | Passed | 402 | 264 ms | $0.005 |
| 36 h ago | Passed | 402 | 397 ms | $0.005 |
| 40 h ago | Passed | 402 | 366 ms | $0.005 |
| 43 h ago | Passed | 402 | 284 ms | $0.005 |
| 2 days ago | Passed | 402 | 291 ms | $0.005 |
| 2 days ago | Passed | 402 | 279 ms | $0.005 |
| 2 days ago | Passed | 402 | 264 ms | $0.005 |