A dieline API: FEFCO and ECMA dielines at any size

Send POST /api/v1/dielines with a FEFCO / ECMA code (or a Drint type), the length, width and height in mm and a format — SVG, PDF, DXF or CF2 — and get a download link (valid one hour) plus a link that opens the same die in Drint’s editor. Search codes and structures with GET /api/v1/dielines?q=. Plans include 500, 3,000 or 15,000 dielines a month — Starter $49, Business $199 or Scale $599 a month (a year is billed as 10 months); Business can be tried free for 14 days on your own domain, no card.

Steps

  1. Find the structure. GET https://drint.io/api/v1/dielines?q=0201 or ?q=mailer+box lists the matching codes and structures.
  2. Generate the die. POST /api/v1/dielines with {"code":"0201","length_mm":300,"width_mm":200,"height_mm":150,"format":"dxf"}.
  3. Use it. Download the file for your cutting table or software (CF2 and DXF for die makers), or send the customer the design_url to design on it in 3D.

What to know

See the editor livePlans and 14-day free trial

Questions

Is the size inside or outside?

You give length, width and height in mm; the die is drawn for that size with the board’s thickness allowed for in the panels.

Can I get the dieline free?

People can design on any die in Drint free; die files by API need an API plan or the trial.

Related

add a 3D box designer to a Shopify print storeadd a 3D box designer to a WooCommerce print shopembed a 3D packaging editor in your own websiteA mockup API for print-on-demand and packagingDrint API reference