{
"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/13801/website+classification+api/31643/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/13801/website+classification+api/31644/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/13801/website+classification+api/31645/extract+website+metadata' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"url": "https://example.com"
}'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए वेबसाइट वर्गीकरण API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें। फ्री ट्रायल में 50 रिक्वेस्ट तक शामिल हैं।
(वार्षिक बिलिंग के साथ 2 महीने बचाएँ 🎉)
एपीआई टेक्स्ट या वेबसाइट सामग्री को वर्गीकृत कर सकता है वेब पृष्ठों का एआई के साथ विश्लेषण कर सकता है सारांश और संरचित फ़ील्ड उत्पन्न कर सकता है और मानक वेबसाइट मेटाडेटा निकाल सकता है
हाँ क्लासिफिकेशन एंडपॉइंट एक सार्वजनिक रूप से उपलब्ध यूआरएल या प्रदान किए गए पाठ को स्वीकार करता है एक स्रोत प्रदान करें साथ ही श्रेणी लेबल जिन्हें आप चाहते हैं कि एपीआई का मूल्यांकन करें
श्रेणियों के ऐरे में 2 और 50 के बीच श्रेणी लेबल जोड़ें API द्वारा प्रदान की गई सामग्री का विश्लेषण किया जाता है और सर्वोत्तम मेल खाने वाली श्रेणी के साथ व्याख्या लौटाई जाती है
यह पृष्ठ शीर्षक लौटाता है एक एआई-जनित सारांश मुख्य बिंदु अनुरोधित संरचित क्षेत्र सहायक साक्ष्य प्रस्तुति मोड प्रसंस्करण समय और टोकन उपयोग
हाँ स्कीमा ऑब्जेक्ट पास करें जिसमें 20 फील्ड नाम तक हो सकते हैं प्रत्येक मान एक समर्थित डेटा प्रकार या जानकारी को निकालने का संक्षिप्त निर्देश निर्दिष्ट कर सकता है
हाँ ब्राउज़र रेंडरिंग को आवश्यक होने पर सक्षम करने के लिए render="auto" का उपयोग करें render="always" का उपयोग करें ताकि इसे मजबूर किया जा सके या तेज स्थिर पृष्ठों की प्रसंस्करण के लिए render="never" का उपयोग करें
मेटाडेटा एंडपॉइंट शीर्षक, विवरण, कीवर्ड, लेखक, भाषा, कैनोनिकल यूआरएल, ओपन ग्राफ प्रॉपर्टीज, ट्विटर कार्ड डेटा और अन्य पृष्ठ मेटाडेटा लौटा सकता है
नहीं केवल सार्वजनिक रूप से उपलब्ध HTTP और HTTPS यूआरएल का समर्थन किया गया है निजी लूपबैक लिंक-स्थानीय और अन्य प्रतिबंधित नेटवर्क गंतव्यों को सुरक्षा के लिए अस्वीकृत कर दिया गया है
श्रेणी असाइनमेंट के लिए क्लासिफाई वेबसाइट या टेक्स्ट का उपयोग करें वेबसाइट का विश्लेषण करें एआई के साथ सारांश और कस्टम संरचित निष्कर्षण के लिए और तेज गैर-एआई मेटाडेटा लुकअप के लिए वेबसाइट मेटाडेटा निकालें
एपीआई की सदस्यता लें और अपने ज़ाईला एक्सेस कुंजी को ऑथराइजेशन हेडर में बियरर स्कीम का उपयोग करके शामिल करें एपीआई दस्तावेज़ में कोड उदाहरणों में आवश्यक हेडर शामिल हैं