ExpressMaps Blog

Static Maps API: a map image from a single URL

Static Maps API: a map image from a single URL
November 19th, 2026
Tom Jenks

Email clients, PDF generators and social networks don't run JavaScript, but they all show images. The new Static Maps API returns a map as a PNG from a single URL, in any of our twenty map styles.

One URL, one image

https://static.expressmaps.com/static/linen/-0.1246,51.5007,14/600x400@2x.png?key=YOUR_API_KEY&marker=-0.1246,51.5007

Put it in an <img> tag and it works anywhere: order confirmations, delivery updates, invoices, job sheets, property reports and og:image link previews.

What it does

  • Any of the twenty styles, up to 1280 x 1280 pixels, or double that with @2x for retina screens.
  • Up to 20 markers in any colour, plus rotation and tilt.
  • Use auto in place of the centre and zoom to frame every marker automatically, with the padding you choose.

Billing and keys

Each image counts as one map load, the same as an interactive map, so the free plan's 100,000 loads a month include static images. Images are cached for a day, and cached repeats of the same URL are not counted.

If your key is restricted to your website, images only render when they're shown on that site. For emails and server-side code, create a second key in the console with no website restriction, or restrict it to your servers' IP addresses. That stops anyone copying your public key from a web page and using it elsewhere.

Get started

The Static Maps API page has a URL builder, and the documentation has examples in curl, JavaScript and PHP. If you don't have a key yet, sign up free: no card needed.

Back to List