{
"success": true,
"url": "https://example.com/",
"truncated_input": false,
"data": {
"category": "technology",
"reason": "The content explicitly mentions 'domain', 'documentation examples', and 'operations', which are technical terms related to web development and internet infrastructure."
},
"usage": {
"input_tokens": 167,
"output_tokens": 39,
"total_tokens": 206
},
"processing_ms": 926
}
curl --location --request POST 'https://zylalabs.com/api/13800/website+metadata+lookup+api/31649/classify+website+or+text' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"url": "https://example.com",
"categories": [
"technology",
"business",
"news"
]
}'
{
"success": true,
"url": "https://example.com/",
"title": "Example Domain",
"render_mode": "static",
"truncated_input": false,
"data": {
"page_type": "documentation",
"language": "en",
"summary": "The source content describes 'Example Domain', a placeholder used for documentation examples. It explicitly states that permission is not required for its use in examples but advises against using it in operational contexts. The text includes a reference to learn more about this policy.",
"key_points": [
"The domain is intended for use in documentation examples.",
"No permission is needed to use the domain in examples.",
"The domain should be avoided in operational use.",
"A link is provided to learn more about the policy.",
"The content serves as a warning against misuse in production.",
"The text is concise and instructional.",
"It functions as a standard placeholder notice.",
"The domain is not for general public use."
],
"fields": {
"title": "Example Domain",
"category": "documentation"
},
"evidence": [
{
"field": "title",
"quote": "Example Domain"
},
{
"field": "category",
"quote": "documentation examples"
},
{
"field": "key_points",
"quote": "without needing permission"
},
{
"field": "key_points",
"quote": "Avoid use in operations"
},
{
"field": "key_points",
"quote": "Learn more"
}
]
},
"evidence_removed": 0,
"usage": {
"input_tokens": 204,
"output_tokens": 251,
"total_tokens": 455
},
"processing_ms": 6720
}
curl --location --request POST 'https://zylalabs.com/api/13800/website+metadata+lookup+api/31650/analyze+website+with+ai' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"url": "https://example.com",
"render": "never",
"schema": {
"title": "string",
"category": "string"
},
"max_summary_words": 150
}'
{
"success": true,
"data": {
"url": "https://example.com/",
"title": "Example Domain",
"description": null,
"keywords": null,
"author": null,
"language": null,
"canonical": null,
"og": {
"title": null,
"description": null,
"image": null,
"url": null,
"type": null,
"site_name": null
},
"twitter": {
"card": null,
"title": null,
"description": null,
"image": null
}
},
"processing_ms": 64
}
curl --location --request POST 'https://zylalabs.com/api/13800/website+metadata+lookup+api/31651/extract+website+metadata' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"url": "https://example.com"
}'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए Website Metadata Lookup API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें। फ्री ट्रायल में 50 रिक्वेस्ट तक शामिल हैं।
(वार्षिक बिलिंग के साथ 2 महीने बचाएँ 🎉)
Classify and analyze public web pages or supplied text. Extract metadata, summaries, categories, entities, and custom structured JSON from static or JavaScript-rendered content.
एपीआई टेक्स्ट या वेबसाइट सामग्री को वर्गीकृत कर सकता है वेब पृष्ठों का विश्लेषण कर सकता है एआई के साथ संक्षेप और संरचित फ़ील्ड उत्पन्न कर सकता है और मानक वेबसाइट मेटाडेटा निकाल सकता है
हाँ वर्गीकरण अंतिम बिंदु एक सार्वजनिक रूप से पहुंच योग्य URL या प्रदान किए गए पाठ को स्वीकार करता है एक स्रोत और उन श्रेणी लेबलों को प्रदान करें जिन्हें आप API के मूल्यांकन के लिए चाहते हैं
2 से 50 श्रेणी लेबल को श्रेणियों की सूची में जोड़ें API प्रदान की गई सामग्री का विश्लेषण करता है और सर्वोत्तम मेल खाने वाली श्रेणी के साथ एक व्याख्या लौटाता है
यह पृष्ठ का शीर्षक AI-जनित सारांश मुख्य बिंदु अनुरोधित संरचित फ़ील्ड समर्थन साक्ष्य रेंडरिंग मोड प्रसंस्करण समय और टोकन उपयोग लौटाता है
हाँ स्कीमा ऑब्जेक्ट पास करें जिसमें 20 फ़ील्ड नाम तक हों प्रत्येक मान एक समर्थित डेटा प्रकार या जानकारी को निकालने के लिए संक्षिप्त निर्देश निर्दिष्ट कर सकता है
हाँ ब्राउज़र रेंडरिंग को सक्षम करने के लिए render="auto" का उपयोग करें जब आवश्यक हो render="always" का उपयोग करके इसे मजबूर करें या तेजी से स्थिर पृष्ठों की प्रोसेसिंग के लिए render="never" का उपयोग करें
मेटाडाटा एंडपॉइंट शीर्षक, विवरण, कीवर्ड, लेखक, भाषा, कनोनिकल यूआरएल, ओपन ग्राफ गुण, ट्विटर कार्ड डेटा और अन्य पृष्ठ मेटाडेटा वापस कर सकता है
नहीं केवल सार्वजनिक रूप से सुलभ HTTP और HTTPS URLs का समर्थन किया जाता है निजी लूपबैक लिंक-स्थानीय और अन्य प्रतिबंधित नेटवर्क गंतव्यों को सुरक्षा के लिए अस्वीकृत किया जाता है
श्रेणी असाइनमेंट के लिए वेबसाइट या पाठ को वर्गीकृत करें एआई के साथ वेबसाइट का विश्लेषण करें सारांश और कस्टम संरचित निकासी के लिए और तेजी से गैर-एआई मेटाडेटा लुकअप के लिए वेबसाइट मेटाडेटा निकालें
API की सदस्यता लें और अधिकरण हेडर में बियरर योजना का उपयोग करके अपना ज़ायला एक्सेस कुंजी शामिल करें API दस्तावेज़ में कोड उदाहरणों में आवश्यक हेडर शामिल है