pdfpeek (Tanod) Word template fill
pdfpeek (Tanod) Word template fill: {{placeholders}} in a DOCX replaced from JSON data, returned as DOCX. Use when an agent must fill a Word template's {{placeholders}} with data and return a DOCX or PDF.
Answeringour last check, 2026-10-10
1 of 1checks answered this week
219 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://tanod.dev/v1/docs/fill-template
| Category | Everything else |
|---|---|
| Provider host | tanod.dev |
| Networks | eip155:137, eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-10 | valid payment request | 402 | $0.005 | 219 ms |
Example input (from the provider)
{
"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"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"data": {
"additionalProperties": true,
"description": "The values, a JSON object (at most 1 MB, 12 levels deep). {{name}} reads data[\"name\"], {{customer.name}} data[\"customer\"][\"name\"], {{items.0}} the first element of a list. A table row holding {{#items}} and {{/items}} is repeated for each element of the list items; inside it {{field}} reads the element first, then data, and {{.}} is the element itself.",
"type": "object"
},
"file_base64": {
"anyOf": [
{
"maxLength": 13398872,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The DOCX template as base64 (at most 10 MB decoded); or use url."
},
"output": {
"default": "docx",
"description": "docx (default) or pdf (the filled file rendered by LibreOffice; priced higher).",
"enum": [
"docx",
"pdf"
],
"type": "string"
},
"url": {
"anyOf": [
{
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Public http(s) URL of the DOCX template (at most 20 MB; private, internal and IP-literal hosts are refused); or use file_base64."
}
},
"required": [
"data"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"fidelity_note": {
"type": "string"
},
"file": {
"properties": {
"bytes": {
"type": "integer"
},
"content_type": {
"type": "string"
},
"data_base64": {
"type": "string"
},
"dpi": {
"type": "integer"
},
"first_page": {
"type": "integer"
},
"height": {
"type": "integer"
},
"last_page": {
"type": "integer"
},
"name": {
"type": "string"
},
"page": {
"type": "integer"
},
"pages": {
"type": "integer"
},
"width": {
"type": "integer"
}
},
"required": [
"name",
"content_type",
"bytes",
"data_base64"
],
"type": "object"
},
"input_bytes": {
"type": "integer"
},
"missing": {
"items": {
"type": "string"
},
"type": "array"
},
"operation": {
"type": "string"
},
"output": {
"enum": [
"docx",
"pdf"
],
"type": "string"
},
"output_bytes": {
"type": "integer"
},
"pages": {
"type": "integer"
},
"placeholders_filled": {
"type": "integer"
},
"unmatched_loop_tags": {
"items": {
"type": "string"
},
"type": "array"
},
"untrusted_content": {
"type": "boolean"
}
},
"required": [
"operation",
"input_bytes",
"output",
"placeholders_filled",
"missing",
"unmatched_loop_tags",
"file",
"output_bytes",
"untrusted_content"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}