73trust / 100

Parse Document

by ParseAPI in Documents & files

x402 APIPassing, checked 21 min ago

Parse a document (PDF, DOCX, PPTX, CSV/XLSX, HTML, EML, MSG, LOG) into token-compressed structure

POST https://parseapi.info/parse/document

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
979 ms typical, 1.1 s slowest 5%
Last check
21 min ago
Next check
in 11 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://parseapi.info/parse/document" \
  -H "content-type: application/json" \
  -d '{}'
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%2Fparseapi.info%2Fparse%2Fdocument
const res = await pay("https://parseapi.info/parse/document", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}),
});
console.log(await res.json());

Example input

{}

Example output

{
  "doc_kind": "invoice_like",
  "fields": [
    "currency",
    "totals",
    "dates"
  ],
  "format": "pdf",
  "ok": true,
  "structure_id": "c0ffee",
  "tokens": 120
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
21 min agoPassed4021.0 s$0.001
4 h agoPassed402992 ms$0.001
8 h agoPassed402930 ms$0.001
11 h agoPassed402916 ms$0.001
15 h agoPassed4021.1 s$0.001
19 h agoPassed402947 ms$0.001
22 h agoPassed4021.0 s$0.001
25 h agoPassed402920 ms$0.001
29 h agoPassed402979 ms$0.001
33 h agoPassed402926 ms$0.001
43 h agoPassed4021.2 s$0.001