GET /link/preview
Poimi metatiedot mistä tahansa URL-osoitteesta: otsikko, kuvaus, tekijä, julkaisija, kieli, kuvat ja logot. Sopii linkin esikatselukorttien rakentamiseen, kuten Slackissa, Twitterissä tai Discordissa.
url
pakollinen
URL to extract metadata from
| Nimi | Pakollinen | Oletus | Kuvaus |
|---|---|---|---|
url |
Kyllä | - | 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
}