Automate OG image generation with ogimage.org

Public API

A free public JSON API for fetching every Open Graph image example in the gallery, with titles, tags, image URLs, and the original meta tags.

Published on by Dmytro Krasun

Open Graph Examples has a public API available for fetching Open Graph image examples and associated metadata.

It is as simple as /api/examples.json:

[
// ...
{
"title": "Hunted.Space Product Pages",
"description": "Hunted.Space generates dynamically OG images for each product.",
"url": "https://hunted.space/dashboard/open-graph-examples",
"tags": ["Social Media Marketing"],
"imageUrl": "https://opengraphexamples.com/_astro/hunted.space-product-pages.CzAAlR1X.png",
"meta": {
"title": "Open Graph Examples | Product Hunt launch dashboard (73 upvotes | 23 comments)",
"description": "Live Product Hunt launch dashboard for Open Graph Examples - Advice, helpful content, and tools to make your Open Graph social cards stand out.. See competitors, upvotes, comments, reviews, and more.",
"openGraph": [
{
"property": "og:url",
"content": "https://hunted.space"
}
// ...
]
}
}
// ...
]

Please:

  1. Make sure that if the source property is specified you share a “dofollow” backlink to the source otherwise, share the “dofollow” backlink to opengraphexamples.com.
  2. Don’t create a competitor product or a complete copy of OpenGraphExamples.com.
  3. Don’t use it in any way to violate any of the existing laws.
  4. Don’t serve images directly from OpenGraphExamples.com. Download them and serve them from your CDN.

If you have any questions, feel free to reach out at [email protected].