Skip to content

Json To Social Card API

POST https://api.findutils.com/api/tools/json-to-social-card/execute

Generate a social-media / Open Graph card (1200x630 aspect) from JSON such as {"title","description","author","date","siteName","tag","background","textColor"} in one of 6 templates. Returns the card three ways: inline-style HTML, Tailwind CSS markup, and a React JSX component.

Request body

application/json
  • json

    string required

    Card JSON: {"title": string, "description"?, "author"?, "avatar"?: url, "date"?, "siteName"?, "logo"?: url, "background"?: css color, "textColor"?: css color, "tag"?}.

  • template

    string optional

    Card template. Default "og-classic". One of og-classic · blog-post · dark-modern · gradient-hero · minimal-clean · brand-bold. Default "og-classic".

Example arguments

Verified
{
  "json": {
    "title": "How to Build Better Developer Tools",
    "description": "A guide to great DX.",
    "author": "Jane Developer",
    "date": "2024-01-15",
    "siteName": "DevBlog",
    "tag": "Engineering"
  }
}