{"uid":"cap_mSP_fzAWbt_jSJMqN0kXe","slug":"schemalock-contract-extractor-cc5c1953","name":"SchemaLock Contract Extractor","description":"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.","url":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/contract","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Or0rrslzORgHZ0qnNKXsv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured JSON fields from a contract PDF or image, including parties, dates, payment terms, termination clause, governing law, obligations, and signatures, with per-field confidence scores and date logic validation.","exampleAgentPrompt":"Can you extract the parties, effective date, expiration date, payment terms, termination clause, governing law, and signatures from this contract PDF and give me confidence scores for each field?","exampleUseCases":[{"title":"Legal team contract review automation","prompt":"I have a vendor contract PDF that just came in — can you pull out all the key fields like the parties involved, the effective and expiration dates, payment terms, termination clause, and governing law, and flag if the expiration date actually comes after the effective date?"},{"title":"Contract data entry for CRM","prompt":"I need to populate our CRM with contract details from this scanned agreement image — extract the party names, key dates, payment terms, and obligations so I can enter them without reading the whole thing."},{"title":"Compliance check on contract expiration","prompt":"Can you parse this contract file and tell me whether the expiration date is after the effective date, plus give me the termination clause and governing law with confidence scores so I know how reliable the extraction is?"}],"resultDescription":"A structured JSON object containing extracted contract fields: party names, effective date, expiration date, payment terms, termination clause, governing law, obligations, and signature information. Each field includes a per-field confidence score. Date logic is validated (expiration after effective date), and one automatic retry is performed on extraction failure.","failureModes":["Unsupported file format or corrupted PDF/image returns an error after one automatic retry","Scanned image with very low resolution may produce low confidence scores or missing fields","Handwritten contracts may result in partial extraction with low per-field confidence","Date logic validation failure flagged if expiration date precedes effective date","Network timeout or worker error returns 5xx after retry exhaustion"],"whenToPreferThis":"Choose this endpoint when you need to extract contract-specific fields (parties, dates, payment terms, termination clause, governing law, obligations, signatures) from a raw PDF or image file, especially when date logic validation and per-field confidence scores are required. Prefer over generic OCR or text extraction when structured, validated JSON output for legal contracts is needed directly from the file without pre-processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:35:45.616Z","isFirstParty":false}