{
"ok": true,
"count": 1,
"items": [
{
"url": "https://github.com/",
"finalUrl": "https://github.com/",
"status": 200,
"ok": true,
"title": "GitHub · Change is constant. GitHub keeps you ahead. · GitHub",
"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.",
"siteName": "GitHub",
"type": "object",
"image": "https://images.ctfassets.net/8aevphvgewt8/76epZKB2wF998m4e4bLLXn/c505f20b00ec70b88b1be5aec42c4be4/OG_image.jpg",
"imageAlt": "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.",
"favicon": "https://github.githubassets.com/favicons/favicon.png",
"canonicalUrl": "https://github.com/",
"language": "en",
"themeColor": "#1e2327",
"twitterCard": "summary_large_image",
"publishedTime": null,
"error": null,
"fetchedAt": "2026-11-30T14:26:09.453Z"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15784/link+preview+metadata+extractor+api/43217/get+live+data?urls=https://github.com' --header 'Authorization: Bearer YOUR_API_KEY'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए लिंक पूर्वावलोकन मेटाडेटा एक्सट्रैक्टर API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें। फ्री ट्रायल में 50 रिक्वेस्ट तक शामिल हैं।
अधिकतम 10 सार्वजनिक URL के लिए लिंक पूर्वावलोकन कार्ड लौटाता है: Open Graph, Twitter Card और HTML मेटाडेटा से शीर्षक, विवरण, पूर्वावलोकन छवि, साइट का नाम, फ़ेविकॉन, कैनॉनिकल URL, भाषा, सामग्री प्रकार और प्रकाशन समय
प्रत्येक आइटम में `url`, `finalUrl`, `status`, `ok`, `title`, `description`, `siteName`, `type`, `image`, `imageAlt`, `favicon`, `canonicalUrl`, `language`, `themeColor`, `twitterCard`, `publishedTime`, `error` और `fetchedAt` शामिल हैं
पहले ओपन ग्राफ़ टैग, फिर ट्विटर कार्ड टैग, फिर मानक HTML शीर्षक, मेटा विवरण, आइकन और कैननिकल लिंक। सापेक्ष छवि और आइकन पथों को पूर्ण URL में बदला जाता है
आइटम अभी भी `ok: false` और `HTTP_404`, `ROBOTS_DISALLOWED` या `NO_TITLE_FOUND` जैसी `error` के साथ लौटाया जाता है ताकि एक खराब URL से पूरा अनुरोध कभी विफल न हो सके
चैट और मैसेजिंग ऐप, सीएमएस एडिटर, न्यूज़लेटर, बुकमार्किंग टूल और सोशल शेड्यूलर, जो उपयोगकर्ता द्वारा लिंक पेस्ट करने पर उसका विस्तृत प्रीव्यू दिखाते हैं
अनुरोधों को एक नेटिव इंजन द्वारा पूरा किया जाता है जो सीधे आधिकारिक या प्राथमिक स्रोत से जानकारी प्राप्त करता है और आमतौर पर एक से पाँच सेकंड के भीतर जवाब देता है Only the translated text should be returned Do not add periods or commas If there was an error in the translation only error should be returned
प्रतिक्रिया एक JSON ऑब्जेक्ट है जिसमें `ok` स्थिति, API `slug`, लौटाए गए रिकॉर्ड की `count` और इस दस्तावेज़ में वर्णित सामान्यीकृत रिकॉर्ड वाली `items` ऐरे शामिल है