← Back to directory

Fill the {{placeholders}} of a Word (DOCX) template with JSON data, as DOCX or PDF (Tanod)

https://tanod.dev/v1/docs/fill-template

Overview

The filled document, base64 in `file` (a DOCX, or with `output` pdf a PDF made by LibreOffice), with `placeholders_filled`, `missing` (placeholders that had no value; they are left as written) and `unmatched_loop_tags`. `{{name}}`, `{{customer.name}}` and `{{items.0}}` read the data; a table row with `{{#items}}` and `{{/items}}` is repeated once per element of the list. Values are inserted as plain text, also where Word split a placeholder across runs; the template's formatt

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network Base
Category tools/documents
Provider tanod
Source bazaar
Indexed 2026-10-09 14:31:43

Health

Status healthy
Latency (p50) 712ms
Uptime (30d) 92.9%
Reliability Score 86.4/100
Last Checked 2026-12-05 08:38:31
Last Healthy 2026-12-05 08:38:31
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "data": { "customer": { "city": "Lisbon", "name": "Acme Ltd" }, "invoice": { "number": "INV-1042" }, "items": [ { "name": "Widget", "price": "9.00", "qty": 3 }, { "name": "Gadget", "price": "24.50", "qty": 1 } ], "total": "51.50" }, "url": "https://tanod.dev/samples/invoice-template.docx" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "input_bytes": 1158, "missing": [], "operation": "docx-fill", "output": "docx", "output_bytes": 1151, "placeholders_filled": 10, "unmatched_loop_tags": [] }, "type": "json" }

Also available via

MPP
healthy
$5000.00
on
View details →

Recent Health Checks

Time Status HTTP Latency Error
2026-12-05 08:38:31 healthy 402 225ms
2026-12-05 07:34:49 healthy 402 228ms
2026-12-05 06:32:23 healthy 402 776ms
2026-12-05 05:32:14 healthy 402 244ms
2026-12-05 03:44:29 healthy 402 240ms
2026-12-05 02:33:48 healthy 402 220ms
2026-12-05 01:33:03 healthy 402 335ms
2026-12-05 00:56:41 healthy 402 217ms
2026-12-04 18:18:00 healthy 402 1575ms
2026-12-04 07:06:16 healthy 402 960ms
2026-12-03 21:58:59 healthy 402 712ms
2026-12-03 13:17:30 down 523 5554ms HTTP 523
2026-12-03 00:18:26 healthy 402 971ms
2026-12-02 15:03:33 healthy 402 1455ms