← 文本与内容工具

URL 链接预览

GET /link/preview

从任何 URL 提取元数据:标题、描述、作者、发布者、语言、图片和徽标。非常适合构建类似 Slack、Twitter 或 Discord 中的链接预览卡片。

参数

url 必填

URL to extract metadata from

请求示例

基本用法
curl "https://nordapi.ee/api/v1/link/preview?url=https://github.com"

实时响应

{
  "data": {
    "author": "GitHub",
    "date": "2026-04-05T20:37:00.000Z",
    "description": "Join the world’s most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.",
    "image": {
      "height": 630,
      "url": "https://images.ctfassets.net/8aevphvgewt8/4pe4eOtUJ0ARpZRE4fNekf/f52b1f9c52f059a33170229883731ed0/GH-Homepage-Universe-img.png",
      "width": 1200
    },
    "lang": "en",
    "logo": {
      "url": "https://github.com/fluidicon.png"
    },
    "publisher": "GitHub",
    "title": "GitHub · Change is constant. GitHub keeps you ahead.",
    "url": "https://github.com/"
  },
  "success": true
}