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

WhenResultHTTPTimePrice
3 h agoPassed402262 ms$0.005
7 h agoPassed402261 ms$0.005
11 h agoPassed402470 ms$0.005
15 h agoPassed402278 ms$0.005
19 h agoPassed402382 ms$0.005
22 h agoPassed4021.8 s$0.005
26 h agoPassed402279 ms$0.005
29 h agoPassed402266 ms$0.005
33 h agoPassed402264 ms$0.005
36 h agoPassed402397 ms$0.005
40 h agoPassed402366 ms$0.005
43 h agoPassed402284 ms$0.005
2 days agoPassed402291 ms$0.005
2 days agoPassed402279 ms$0.005
2 days agoPassed402264 ms$0.005