面向专业用户的 REST API

也能对接您的其他程序。

DocUnderstand 内置本地 REST API。FileMaker、Xojo、脚本或您自己的工具都可以通过 HTTP 发送文档,并获得文件名、Finder 标签和结构化数据作为返回。

Terminal / 脚本 FileMaker Xojo
Terminal FileMaker · 脚本步骤 Xojo · URLConnection
curl -X POST http://localhost:8787/process \  -H "Authorization: Bearer ••••••••" \  -H "Content-Type: application/json" \  -d '{"filename":"发票.pdf", ...}'
// 将 foto.jpg 编码为 Base64Set Variable [ $data ; Base64EncodeRFC(...) ]Insert from URL [ $response ;  "http://localhost:8787/process" ]
' 将 合同.pdf 编码为 Base64Var req As New URLConnectionreq.SetRequestContent(json, "application/json")Var antwort As String = req.SendSync("POST", _  "http://localhost:8787/process")
DocUnderstand App-Icon
DocUnderstand
localhost:8787 · 100% 本地运行在您的 Mac 上
OCR 与分析 …
响应 · JSON
{  "filename": "2026-08-10 T-Mobile…pdf",  "documentType": "发票",  "tags": ["发票", "话费"],  "text": "您 2026 年 8 月的发票 …",  "extraction": {    "invoiceNumber": "RG-2026-081045",    "grossAmount": 99.00  }}
{  "filename": "2026-07-14 海滩度假.jpg",  "documentType": "照片",  "tags": ["照片", "度假"],  "exif": {    "camera": "iPhone 16 Pro",    "dateTaken": "2026-07-14 16:32",    "gpsLocation": "43.71° N, 7.26° E"  }}
{  "filename": "2026-03-01 Acme 租赁合同.pdf",  "documentType": "合同",  "tags": ["合同", "租赁"],  "text": "Acme GmbH 与承租方之间的租赁合同 …",  "extraction": {    "customerNumber": "K-88213",    "servicePeriod": "自 2026-03-01 起"  }}