ghost_ink

A key in every copy you sell.

ghost_ink is an API for EPUB publishers. Send it a book and a key for the sale; it embeds the key as an invisible watermark in the files the book is made of, and hands back the signed copy. The copy opens in every reader, needs nothing installed, and leaves the book intact. When a copy turns up where it should not, send it back and get the key.

Free credits to start with: sign three copies of your book and trace one back. No card needed.

Alice’s Adventures in Wonderlandthree copies
copykey
No. 16a387b51ac1ba629c7c05a167d05b85b
No. 2f89d6381b7207bfc8905ef47e4147140
No. 3e8b5673ecb9e50bbb1ca8047015957ef
The same book, signed three times. Each signed copy carries a unique key.

One book, three copies

Alice’s Adventures in Wonderland, from Standard Ebooks, signed three times. Download a copy and open it in any reader, then trace it. Change it first if you like and drop it back in.

Ex librisCopy one

Key
6a387b51ac1ba629c7c05a167d05b85b
Size
19.2 MB
Download

Ex librisCopy two

Key
f89d6381b7207bfc8905ef47e4147140
Size
19.2 MB
Download

Ex librisCopy three

Key
e8b5673ecb9e50bbb1ca8047015957ef
Size
19.2 MB
Download

Trace a copy above, or drop one in, to see what key it carries.

Worth trying

  • Delete paragraphs, or whole chapters
  • Remove the cover
  • Unzip the book, rename and reorder its files, zip it again

Two calls

Sign a copy for every sale, trace whatever leaks.

Sign a copy per sale

Send the book and the key identifying the sale.

Poll the URL that comes back; when it reports succeeded it carries a signed URL to the copy.

Let your customer download the book at the signed URL, or cache it on your end.

curl https://ghost-ink.dev/v1/signings \
  -H "Authorization: Bearer $GHOST_INK_TOKEN" \
  -F file=@wonderland.epub -F key=$ORDER_KEY

202 Accepted · Location: https://ghost-ink.dev/v1/signings/0199…
{ "status": "queued", "key": "9f2c41d0…",
  "book_id": "urn:isbn:9780000000000", "book_id_origin": "epub", … }

curl https://ghost-ink.dev/v1/signings/0199… \
  -H "Authorization: Bearer $GHOST_INK_TOKEN"
{ "status": "succeeded", "deliverable": { "url": "…" } }

Trace a leak

Send the copy you found and its book ID. The answer is the key identifying the sale. It is a lead to follow rather than proof. The analyzed file is deleted from our servers right after.

curl https://ghost-ink.dev/v1/analyses \
  -H "Authorization: Bearer $GHOST_INK_TOKEN" \
  -F file=@found-online.epub

{ "result": { "attributed": true, "confidence": "certain",
              "key": "9f2c41d0…" } }

Read the full API reference

Pricing

Credits

$0.20 per credit, before VAT

  • One credit signs one copy. You pay for the copies you get.
  • Tracing a leak takes 25 credits, $5.
  • Credits come in packs, from 250 credits ($50) up.

Publisher

Contact us

  • Volume pricing for a catalog
  • The engine licensed to run on your own servers, so the secret never leaves them