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
domainstringRequiredThe domain to extract meta tags fromExample: example.com

Response Fields

FieldTypeDescription
domainstringThe queried domain
titlestringPage title
descriptionstringMeta description
openGraphobjectOpen Graph tags (title, description, image, type, url, etc.)
twitterobjectTwitter Card tags
robotsstringRobots meta directive
keywordsstringMeta keywords if present
authorstringAuthor meta tag
viewportstringViewport meta tag
charsetstringCharacter encoding
generatorstringGenerator meta tag
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=example.com"
JavaScript
const response = await fetch(
  'https://api.edgedns.dev/v1/domain/meta?domain=example.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': '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.