$0.02
per call · USD Coin on Base
SchemaLock — extract structured JSON data from a resume PDF or image (contact info, work experience, education, skills). Unlike generic OCR or text-only extraction APIs, this takes the raw file directly and validates email format and work-history date order, one automatic retry. Still fails after that, you aren't charged. No content stored after the response returns.
Endpoint
POST https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/resume3
Calls / 30d
1
Unique payers / 30d
Sep 8
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/resume", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"file": "<binary: PDF, PNG, or JPEG of a resume, max 15MB>"
}),
});
const data = await res.json();curl -X POST \
"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/resume" \
-H "Content-Type: application/json" \
-d '{"file":"<binary: PDF, PNG, or JPEG of a resume, max 15MB>"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"data": {
"candidate": {
"email": "jordan.rivera@example.com",
"location": "Austin, TX",
"name": "Jordan Rivera",
"phone": "512-555-0142"
},
"confidence": {
"fields": {
"candidate": 0.98,
"work_experience": 0.94
},
"overall": 0.95
},
"education": [
{
"degree": "B.S.",
"field": "Computer Science",
"graduation_date": "2018-05",
"institution": "University of Texas at Austin"
}
],
"skills": [
"TypeScript",
"Node.js",
"PostgreSQL"
],
"summary": "Backend engineer with 6 years building payment infrastructure.",
"work_experience": [
{
"company": "Acme Supply Co.",
"description": "Built and maintained payment processing systems.",
"end_date": null,
"start_date": "2022-03",
"title": "Senior Backend Engineer"
}
]
},
"retried": false,
"validation_warnings": []
}Payment details
0x65c767c483dd862d08bc3d6500cd4cd770ae28edUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Media & Generation and the homepage with a featured placement.
More from SchemaLock & similar services
SchemaLock · Extract Contract
doc-extract-api.thestarboy9696-4ef.workers.dev
SchemaLock — parse a contract for its key terms as structured JSON data from a PDF or image (parties, dates, term, payment terms, termination clause, governing law, obligations, signatures). Unlike generic OCR or text-only extraction APIs, this takes the raw file directly and validates date logic (expiration after effective date), one automatic retry. Still fails after that, you aren't charged. Per-field confidence included.
SchemaLock · Extract Invoice
doc-extract-api.thestarboy9696-4ef.workers.dev
SchemaLock — extract structured JSON data from an invoice PDF or image (vendor, line items, subtotal, tax, total, dates, payment terms). Unlike generic OCR (raw text) or text-only extraction APIs, this takes the raw file directly and validates against source math: line items checked against subtotal/tax/total, dates and currency checked, one automatic retry. If it still fails after that, you aren't charged — settlement is skipped, not just flagged.
SchemaLock · Extract Custom
doc-extract-api.thestarboy9696-4ef.workers.dev
SchemaLock — extract structured JSON data from any PDF/image or raw text/HTML, converting it into a JSON Schema you supply, not limited to invoice/receipt/contract/resume. Unlike the fixed invoice/receipt/contract/resume endpoints, this accepts any JSON Schema — you define the fields. Takes a PDF/image file OR raw text/HTML you already have (e.g. a scraped page). Schema-conformance, not fact-checking. A rejected schema is a 400 and costs nothing.