Discovery

Get website preview metadata for a domain

Returns Open Graph metadata (title, description, image, favicon) for a domain. Data is lazily fetched and cached for 7 days. First request for a domain may take 1-5s (live fetch); subsequent requests are instant (cache hit). Returns null fields if the site is unreachable or has no OG tags.

Public endpoint - no authentication required.

get/api/domains/{domain}/og

Request

  • Base URL: https://domani.run
  • URL: https://domani.run/api/domains/{domain}/og
  • Auth: none required

Path parameters

domainstring required
Example:google.com

Domain to fetch metadata for (e.g. google.com)

Response

OG metadata

titlestring nullable required

Page title (og:title > twitter:title > <title>)

descriptionstring nullable required

Page description (og:description > meta description)

imagestring nullable required

OG image URL (absolute)

faviconstring nullable required

Favicon URL (absolute)

Example response

{
  "title": "Google",
  "description": "Search the world's information",
  "favicon": "https://google.com/favicon.ico"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.