Skip to navigation Skip to main content
Eleventy
Eleventy Documentation
Stable
2.0.1
Toggle Menu
Eleventy 5.81s
Gatsby 43.36s

API Services

API Services are run-time things that are provided by Eleventy. We officially host instances of these and provide the source code for them so that you can self-host. The hosted instances are provided as-is without uptime guarantees.

It is encouraged to self-host these so you aren’t relying on run-time services that are out of your control but you can assess the risk-reward of this scenario yourself. (Definitely self-host for business use cases)

Eleventy API Explorer

This is a website to show sample results from the official Eleventy API services.

List of API Services

  • Screenshots: Returns a screenshot image from a URL.
  • OpenGraph Image: Returns the OpenGraph image from a URL.
  • IndieWeb Avatar: Returns an avatar representing a URL.
  • Generator Image: Returns the site generator’s logo that was used to build a site at given URL.
  • Hosting Image: Returns the hosting provider’s logo that was used to host a site at given URL.
  • Sparklines: Returns a Sparkline image given a set of numbers.

From the Community


API Services: