x402

OG Image Check (x402)

Validate Open Graph and Twitter Card images for a URL. Checks dimensions, file size, format, alt text.

get/x402/v2/og-image-check

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/og-image-check
  • Auth: none required

Query parameters

urlstring required

Response

Success

ogobject
scorenumber
twitter_cardobject

Example response

{
  "og": {
    "alt": null,
    "title": "Strale — Trust and Quality Infrastructure for AI Agents",
    "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. 250+ 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."
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.