Meta tags
GET /api/v1/meta-tags
A complete dump of a page's head metadata in one call — title, charset, language, canonical, every <meta name> and <meta http-equiv>, full Open Graph and Twitter Card tags, and the SEO-relevant <link rel> tags (canonical, amphtml, manifest, hreflang, icons, prev/next).
Query parameters
| Name | Type | Description |
|---|---|---|
url required | string | The page to inspect. |
Request
Response
200 · application/json
- {
- "url": "https://example.com",
- "title": "Example Domain",
- "titleLength": 14,
- "charset": "UTF-8",
- "lang": "en",
- "canonical": "https://example.com/",
- "meta": { "description": "An example site", "viewport": "width=device-width, initial-scale=1", "robots": "index, follow" },
- "httpEquiv": { "content-type": "text/html; charset=UTF-8" },
- "openGraph": { "og:title": "Example", "og:type": "website", "og:image": "https://example.com/og.png" },
- "twitter": { "twitter:card": "summary_large_image", "twitter:title": "Example" },
- "links": {
- "amphtml": null,
- "manifest": "https://example.com/site.webmanifest",
- "prev": null,
- "next": null,
- "icons": ["https://example.com/favicon.ico"],
- "alternates": [ { "hreflang": "en", "href": "https://example.com/" } ],
- "preconnect": 2,
- "preload": 0
- },
- "counts": { "metaTags": 9, "openGraph": 3, "twitter": 2, "hreflang": 1 }
- }
Response fields
| Field | Type | Description |
|---|---|---|
titleLength | integer | Character length of the title. |
charset / lang | string | Declared character set and <html lang>. |
canonical | string | The canonical URL, or null if not set. |
meta | object | Every <meta name> as a name → content map. |
httpEquiv | object | Every <meta http-equiv> as a key → content map. |
openGraph / twitter | object | All Open Graph (og:*) and Twitter Card (twitter:*) tags. |
links | object | Key <link rel> tags: amphtml, manifest, prev/next, icons[], alternates[] (hreflang), plus preconnect/preload counts. Absent tags are null. |
counts | object | Totals: metaTags, openGraph, twitter, hreflang. |
See Errors for status codes.