16trust / 100
Pdf Metadata
by Vextorium in Documents & files
x402 APIFailing, checked 4 h ago
Metadata and structure of a PDF (URL): pages, page size, title, author, creator, dates, version, encryption, form fields, attachments, bookmarks (table of contents) and whether it has extractable text or is a scan.
POST https://api.vextorium.com/v1/pdf-metadata
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 4 h ago: Amount "0.004" is not in atomic token units
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/pdf-metadata" \
-H "content-type: application/json" \
-d '{"url":"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.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%2Fapi.vextorium.com%2Fv1%2Fpdf-metadata
const res = await pay("https://api.vextorium.com/v1/pdf-metadata", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"}),
});
console.log(await res.json());Example input
{
"url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
}Example output
{
"attachments": [],
"author": "Evangelos Vlachogiannis",
"bytes": 13264,
"created": "20070223175637",
"creator": "Writer",
"encrypted": false,
"extractable_text": false,
"form": false,
"index": [
{
"level": 0,
"page": 1,
"title": "Dummy PDF file"
}
],
"modified": null,
"note": "Looks like a scan without a text layer (it would need OCR).",
"page_size_pt": [
595,
842
],
"pages": 1,
"producer": "OpenOffice.org 2.1",
"subject": null,
"title": null,
"version": "1.4"
}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 |
|---|---|---|---|---|
| 4 h ago | Amount "0.004" is not in atomic token units | 402 | 94 ms | $0.004 |
| 8 h ago | Amount "0.004" is not in atomic token units | 402 | 251 ms | $0.004 |
| 13 h ago | Amount "0.004" is not in atomic token units | 402 | 90 ms | $0.004 |
| 17 h ago | Amount "0.004" is not in atomic token units | 402 | 86 ms | $0.004 |
| 21 h ago | Amount "0.004" is not in atomic token units | 402 | 74 ms | $0.004 |
| 25 h ago | Amount "0.004" is not in atomic token units | 402 | 77 ms | $0.004 |
| 29 h ago | Amount "0.004" is not in atomic token units | 402 | 74 ms | $0.004 |
| 33 h ago | Amount "0.004" is not in atomic token units | 402 | 108 ms | $0.004 |
| 37 h ago | Amount "0.004" is not in atomic token units | 402 | 119 ms | $0.004 |
| 41 h ago | Amount "0.004" is not in atomic token units | 402 | 87 ms | $0.004 |
| 45 h ago | Amount "0.004" is not in atomic token units | 402 | 97 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 82 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 106 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 78 ms | $0.004 |
| 3 days ago | Amount "0.004" is not in atomic token units | 402 | 99 ms | $0.004 |