Social Preview Image Check

Check a page's Open Graph and Twitter Card images: size, file size, format and alt text.

Pay by wallet (x402) og-image-check

Example

Input
{
  "url": "https://strale.dev"
}
Answer
{
  "og": {
    "alt": null,
    "title": "Strale — Ship AI agents faster",
    "width": null,
    "height": null,
    "image_url": "https://pub-bb2e103a32db4e198524a2e9ed8f35b4.r2.dev/40c97463-fb0c-4144-aa8c-9db65573a574/id-preview-5c2a5484--51ddd28d-009f-48ba-9c99-c76ee3e05d53.lovable.app-1772307174433.png",
    "description": "Your agent calls strale.do() and gets company data, compliance checks, financial validation — structured JSON with audit trails. 233+ capabilities, one API key."
  },
  "url": "https://strale.dev",
  "score": 67,
  "issues": [
    "Missing og:image:width and og:image:height",
    "Missing og:image:alt text"
  ],
  "image_format": "png",
  "twitter_card": {
    "alt": null,
    "type": "summary_large_image",
    "image_url": "https://pub-bb2e103a32db4e198524a2e9ed8f35b4.r2.dev/40c97463-fb0c-4144-aa8c-9db65573a574/id-preview-5c2a5484--51ddd28d-009f-48ba-9c99-c76ee3e05d53.lovable.app-1772307174433.png"
  },
  "image_size_kb": 252,
  "recommendations": [
    "Add og:image:width (1200) and og:image:height (630) for faster rendering.",
    "Add og:image:alt for accessibility and SEO.",
    "Add twitter:image:alt for accessibility on Twitter."
  ]
}

Inputs

FieldTypeRequiredWhat it is
urlstringYes—

Output fields

How reliably each field appears in a successful answer.

FieldTypeAppears
ogobjectAlways (present in every successful answer)
scorenumberAlways (present in every successful answer)
issuesarrayAlways (present in every successful answer)
twitter_cardobjectAlways (present in every successful answer)

How to call it

The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.

# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
  -H "Authorization: Bearer $STRALE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "capability_slug": "og-image-check",
    "inputs": {
      "url": "https://strale.dev"
    },
    "max_price_cents": 5
  }'

Limitations

  • JavaScript-generated social tags can be missed

    Checks Open Graph and Twitter Card meta tags — dynamically injected OG tags via JavaScript may not be captured

    What to do instead: Inspect the rendered page in a browser for Open Graph tags added by JavaScript.

  • Pages are limited to 16 MiB of HTML

    Pages with more than 16 MiB of HTML are refused with a caller_input error naming the input field. The call is not charged, and the page is not retried through another fetch or rendering route.

Bundled checks that include it

Related tools