Meta Tags
free/v1/domain/metaExtracts all meta tags from a webpage including title, description, Open Graph, Twitter Cards, and other SEO-relevant elements. Essential for SEO auditing and social sharing analysis.
What It Does
Fetches the target URL and parses all meta tags including standard SEO tags (title, description, keywords), Open Graph tags (og:title, og:image, etc.), Twitter Card tags, canonical URLs, robots directives, and viewport settings.
Why It's Useful
Meta tags control how your pages appear in search results and social media shares. Regular auditing ensures your SEO and social presence is optimized and consistent across pages.
Use Cases
SEO Audit
Audit meta tags across website pages to identify missing or duplicate titles and descriptions.
Improve search rankings by fixing meta tag issues at scale.
Social Share Preview
Verify Open Graph and Twitter Card tags before launching marketing campaigns.
Ensure social media shares display correctly with proper images and text.
Competitive SEO Analysis
Analyze competitor meta tags to understand their SEO strategy and keyword targeting.
Inform content strategy based on competitor positioning.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
domain | string | Required | Domain or full URL — accepts `example.com` or `https://example.com/path`.Example: https://example.com |
validateImages | boolean | Optional | When true, Range-byte probes og:image and twitter:image to verify real dimensions against OGP / Twitter Card requirements. Catches undersized / wrong-aspect social images before they break social-platform unfurls. Adds up to 2 outbound fetches.Example: true |
Response Fields
| Field | Type | Description |
|---|---|---|
domain | string | The queried domain (bare hostname). |
url | string | Full URL that was fetched, echoing the protocol used in the request. |
title | string | Page title |
description | string | Meta description |
openGraph | object | Open Graph tags (title, description, image, type, url, etc.) plus typeIsValid and localeIsValid flags against OGP spec. When validateImages=true, imageProbe + imageValidation surface real pixel dimensions vs OGP's 1200×630 recommendation — catches undersized social-share images before they break LinkedIn/Slack/Discord/X unfurls. |
twitter | object | Twitter Card tags. When validateImages=true, imageProbe + imageValidation surface real pixel dimensions vs the card-type-specific minimums (summary_large_image 300×157 min, 2:1 aspect). |
robots | string | Robots meta directive (raw string) |
robotsDirectives | object | Parsed robots directives: index/follow/noarchive/nosnippet/noimageindex/notranslate flags + maxSnippet, maxImagePreview (none/standard/large), maxVideoPreview, unavailableAfter. Reveals SERP-appearance controls users often don't realize they have. |
keywords | string | Meta keywords if present |
author | string | Author meta tag |
viewport | string | Viewport meta tag |
charset | string | Character encoding |
generator | string | Generator meta tag |
verification | object | Site/platform ownership verification tags (Google, Bing, Facebook, Pinterest, etc.) as a named bucket. |
platformMeta | object | Platform integration tags (Apple, Microsoft, Android Chrome, Pinterest, theme-color) as a named bucket. Used for PWA install + per-platform appearance. |
duplicates | object | Counts of meta tags repeated more than once. Google silently drops duplicate description/canonical; duplicate viewport breaks mobile rendering. criticalIssues lists the actionable ones. |
other | object | Additional meta tags not categorized above (e.g., theme-color, referrer, rating) |
Code Examples
curl "https://api.edgedns.dev/v1/domain/meta" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d "domain=https://example.com"const response = await fetch(
'https://api.edgedns.dev/v1/domain/meta?domain=https%3A%2F%2Fexample.com',
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(data);import requests
response = requests.get(
'https://api.edgedns.dev/v1/domain/meta',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
params={
'domain': 'https://example.com'
}
)
data = response.json()
print(data)Read the full Meta Tags guide
Why it matters, real-world use cases, parameters, response fields, and how to call it from Claude, ChatGPT, or Gemini via MCP.
Read the guide →Related Endpoints
External References
Learn more about the standards and protocols behind this endpoint.