Validate the Open Graph and Twitter Card tags of a page URL or pasted HTML: required and recommended properties, lengths, canonical mismatch, image reachability, grade and score.
Validate the Open Graph and Twitter Card tags of a page URL: required and recommended properties, lengths, canonical mismatch and image reachability; returns grade, score and coded issues.
Validate HTML you send in (offline except an optional image check): same checks and report as /v1/check.
Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/og-validator/v1/check?url=https://github.com"Or call the proxy directly (curl / any HTTP client):
curl https://proxy.apihub.io/og-validator/v1/check?url=https://github.com \
-H "Authorization: Bearer ahk_your_key"
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for Open Graph and Twitter Card Validator.