---
title: "Get website preview metadata for a domain"
method: GET
path: "/api/domains/{domain}/og"
tags: ["Discovery"]
---

# Get website preview metadata for a domain

`GET /api/domains/{domain}/og`

## Request

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

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.

## Path parameters

- `domain` string, required

## Response `200`

OG metadata

- object
  - `title` string, nullable, required: Page title (og:title > twitter:title > <title>)
  - `description` string, nullable, required: Page description (og:description > meta description)
  - `image` string, nullable, required: OG image URL (absolute)
  - `favicon` string, nullable, required: Favicon URL (absolute)

## Other responses

- `400`: Invalid request parameters
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/domani/apis/domani-run-api.md) · [All operations](https://skmtc.dev/domani/apis/domani-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/domani/apis/domani-run-api/revisions/7679f8159533?raw)
