Skip to main content

Meta Tags

free
GET/v1/domain/meta

Extracts 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 Specialist

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.

Marketing Manager

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.

Content Strategist

Competitive SEO Analysis

Analyze competitor meta tags to understand their SEO strategy and keyword targeting.

Inform content strategy based on competitor positioning.

Parameters

NameTypeRequiredDescription
domainstringRequiredDomain or full URL — accepts `example.com` or `https://example.com/path`.Example: https://example.com
validateImagesbooleanOptionalWhen 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

FieldTypeDescription
domainstringThe queried domain (bare hostname).
urlstringFull URL that was fetched, echoing the protocol used in the request.
titlestringPage title
descriptionstringMeta description
openGraphobjectOpen 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.
twitterobjectTwitter 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).
robotsstringRobots meta directive (raw string)
robotsDirectivesobjectParsed 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.
keywordsstringMeta keywords if present
authorstringAuthor meta tag
viewportstringViewport meta tag
charsetstringCharacter encoding
generatorstringGenerator meta tag
verificationobjectSite/platform ownership verification tags (Google, Bing, Facebook, Pinterest, etc.) as a named bucket.
platformMetaobjectPlatform integration tags (Apple, Microsoft, Android Chrome, Pinterest, theme-color) as a named bucket. Used for PWA install + per-platform appearance.
duplicatesobjectCounts of meta tags repeated more than once. Google silently drops duplicate description/canonical; duplicate viewport breaks mobile rendering. criticalIssues lists the actionable ones.
otherobjectAdditional meta tags not categorized above (e.g., theme-color, referrer, rating)

Code Examples

cURL
curl "https://api.edgedns.dev/v1/domain/meta" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "domain=https://example.com"
JavaScript
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);
Python
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.

Try This Endpoint

Test the Meta Tags endpoint live in the playground.