HerramientasTools
Entrar Crear cuenta

Metadatos de un PDF

Metadatos es una API que lee o cambia la información interna de un PDF: título, autor, asunto, palabras clave, quién lo creó y sus fechas. Perfecto para organizar documentos generados en masa desde n8n, Make o Zapier, sin montar servidores.

Cómo funciona

Le mandas un PDF. Si no le dices nada más, te devuelve sus metadatos actuales (modo lectura). Si le mandas algún campo (por ejemplo title), te devuelve el mismo PDF con ese campo actualizado (modo escritura) — solo toca los campos que le mandes, el resto se queda como estaba.

Lo único que necesitas

  • Tu API key. La creas en tu panel con "+ Crear llave". Se muestra una sola vez, así que cópiala y guárdala.
  • En tu plataforma de automatización, un paso de tipo "HTTP Request" / "Hacer una petición HTTP" (lo tienen n8n, Make, Zapier, Pipedream…).

Leer los metadatos de un PDF

Le envías tu PDF tal cual (como archivo binario), sin nada más, y te devuelve sus datos en JSON. En el nodo HTTP Request:

  • Method: POST
  • URL: https://api.cofferdock.com/pdf-metadata
  • Send Headers: actívalo y añade dos: x-api-key = tu llave, y Content-Type = application/pdf
  • Send Body: actívalo → elige la opción para mandar un archivo binario (en n8n: "n8n Binary File", con la propiedad binaria de tu PDF, normalmente data)

La respuesta trae { "metadata": { "title": "...", "author": "...", ... } }.

Cambiar el título, autor u otros campos

Añade los campos que quieras cambiar como Query Parameters, por ejemplo title = Factura 2026. En Options → Response → Response Format elige File para recibir el PDF actualizado directamente.

En Make: mismo método y URL, los campos a cambiar en Query String, las dos cabeceras, y el PDF como dato binario en el cuerpo.

Campos disponibles

CampoPara qué sirve
titleTítulo del documento.
authorAutor.
subjectAsunto/descripción.
keywordsPalabras clave separadas por comas, ej. factura,2026,cliente.
creatorPrograma/persona que creó el documento original.
producerQuién generó este PDF en concreto.
creation_dateFecha de creación, formato 2026-08-02T10:00:00Z.
modification_dateFecha de última modificación, mismo formato.

Lo que recibes

En modo lectura: un JSON con los metadatos actuales. En modo escritura: el PDF actualizado directamente (o en base64 con output=json).

PDF metadata

Metadata is an API that reads or changes a PDF's internal info: title, author, subject, keywords, who created it, and its dates. Great for organizing documents generated in bulk from n8n, Make or Zapier, with no servers to maintain.

How it works

You send a PDF. If you don't send anything else, you get its current metadata back (read mode). If you send any field (say, title), you get back the same PDF with that field updated (write mode) — only the fields you send are touched, everything else stays as it was.

All you need

  • Your API key. Create it in your dashboard with "+ Create key". It's shown only once, so copy and save it.
  • In your automation platform, an "HTTP Request" step (n8n, Make, Zapier, Pipedream… all have one).

Read a PDF's metadata

You send your PDF as is (as binary data), nothing else, and get its data back in JSON. In the HTTP Request node:

  • Method: POST
  • URL: https://api.cofferdock.com/pdf-metadata
  • Send Headers: on → add two: x-api-key = your key, and Content-Type = application/pdf
  • Send Body: on → choose the binary file option (in n8n: "n8n Binary File", with your PDF's binary property, usually data)

The response carries { "metadata": { "title": "...", "author": "...", ... } }.

Change the title, author or other fields

Add whichever fields you want to change as Query Parameters, e.g. title = Invoice 2026. Under Options → Response → Response Format choose File to get the updated PDF directly.

In Make: same method and URL, the fields to change in Query String, the two headers, and the PDF as binary data in the body.

Available fields

FieldWhat it does
titleDocument title.
authorAuthor.
subjectSubject/description.
keywordsComma-separated keywords, e.g. invoice,2026,client.
creatorProgram/person who created the original document.
producerWho generated this specific PDF.
creation_dateCreation date, format 2026-08-02T10:00:00Z.
modification_dateLast modified date, same format.

What you get back

Read mode: a JSON object with the current metadata. Write mode: the updated PDF itself (or in base64 with output=json).