# Link Preview

Any URL's unfurl card — title, description, image, favicon from Open Graph. The plumbing under every chat app.

- Method: `GET`
- Path: `/v1/utility/link-preview`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `url` | string | required | The page's URL. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/utility/link-preview \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "url": "https://vercel.com",
    "title": "Vercel: Build and deploy with the best frontend experience",
    "description": "Vercel combines the best developer experience with an obsessive focus on end-user performance.",
    "image": "https://vercel.com/og-image.png",
    "siteName": "Vercel",
    "favicon": "https://vercel.com/favicon.ico"
  },
  "meta": { "request_id": "req_7Q2fK4mZ", "as_of": "2026-08-22T04:05:00.000Z", "age_seconds": 42, "next_update_at": "2026-08-22T05:05:00.000Z" }
}
```