API Hop

दस्तावेज़

API Hop दस्तावेज़

Google Scholar संदर्भ

Google Scholar पर शोध लेख, लेखक प्रोफ़ाइल, उद्धरण और न्यायिक निर्णय खोजें।

समवर्ती अनुरोध सीमा

AI और Data के लिए खाते में अलग-अलग साझा समवर्ती स्लॉट हैं: डिफ़ॉल्ट रूप से 5 AI / 2 Data, जो सदस्यता के अनुसार बदलते हैं। endpoint की अलग सीमा भी श्रेणी की कुल सीमा के अधीन रहती है। किसी भी सीमा पर पहुँचने पर HTTP 429 मिलता है। असिंक्रोनस कार्य निष्पादन समाप्त होने तक स्लॉट लेते हैं।

GET /v1/google-scholar/search
डिफ़ॉल्ट सीमा: 2
GET /v1/google-scholar/author
डिफ़ॉल्ट सीमा: 2
GET /v1/google-scholar/case-law
डिफ़ॉल्ट सीमा: 2
GET /v1/google-scholar/cite
डिफ़ॉल्ट सीमा: 2

Google Scholar पर शोध लेख, लेखक प्रोफ़ाइल, उद्धरण और न्यायिक निर्णय खोजें।

प्रमाणीकरण और शुल्क

प्रत्येक सफल अनुरोध की डिफ़ॉल्ट दर $0.0003 (300 credits) है। API Hop API कुंजी इस्तेमाल करें। पहुंच सक्रिय गेटवे और अनुमति पर निर्भर है। सफल अनुरोध का मूल्य कैटलॉग और खाते में देखें; खाते की दर पहले लागू होती है। सफल खाली परिणाम भी शुल्क योग्य हैं। विफलता आरक्षित राशि छोड़ती है। समय सीमा 60 सेकंड है, स्वचालित पुनः प्रयास या पृष्ठांकन नहीं है। निपटान त्रुटि प्रदाता अनुरोध नहीं दोहराती।

http
Authorization: Bearer YOUR_API_KEY

केवल क्वेरी पैरामीटर भेजें, मुख्य भाग नहीं। अज्ञात, दोहराए गए, खाली या अमान्य मान अस्वीकार होते हैं, सिवाय बताए गए खाली geo और gprop के। केवल JSON; अपने आप पृष्ठ बदलना या फिर प्रयास करना नहीं। AND = दोनों, OR = या, XOR = केवल एक, NOT = वर्जित, => = आवश्यक। ID और समाचार टोकन नए उत्तर से लें। उदाहरण वास्तविक परीक्षण परिणाम नहीं हैं। हर सफल अनुरोध का अलग शुल्क लगता है।

Google Scholar: शोध लेख खोजें

GET https://api.apihop.ai/v1/google-scholar/search

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
querystringखोज पाठ; query: optionalmachine learning
languagestringभाषा; language: optional-
pageintegerपृष्ठ, 1 से शुरू; page: optional; min: 1; max: 1011
devicestringडिवाइस; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue
citesstringउद्धृत लेखों की ID सूची (cites); cites: optional; ^[1-9][0-9]{0,19}(?:,[1-9][0-9]{0,19}){0,19}$-
clusterstringलेख संस्करण समूह की ID (cluster); cluster: optional; ^[1-9][0-9]{0,19}$-
as_ylointegerप्रकाशन वर्ष की सीमा (as_ylo); as_ylo: optional; min: 1; max: 99991
as_yhiintegerप्रकाशन वर्ष की सीमा (as_yhi); as_yhi: optional; min: 1; max: 99991
scisbdintegerशोध लेख फ़िल्टर (scisbd); scisbd: optional; min: 0; max: 20
filterintegerशोध लेख फ़िल्टर (filter); filter: optional; min: 0; max: 10
as_visintegerशोध लेख फ़िल्टर (as_vis); as_vis: optional; min: 0; max: 10
as_rrintegerशोध लेख फ़िल्टर (as_rr); as_rr: optional; min: 0; max: 10
startintegerमूल परिणाम ऑफ़सेट (start); start: optional; min: 0; max: 10000
numintegerप्रति पृष्ठ परिणाम (num); डिफ़ॉल्ट: 10; num: optional; min: 1; max: 201
lrstringदस्तावेज़ भाषा फ़िल्टर (lr); lr: optional; UTF-8 bytes: 1024-
as_sdtstringलेख या अदालत फ़िल्टर (as_sdt); उदाहरण: 4,33,192; as_sdt: optional; UTF-8 bytes: 1024; ^[0-9]{1,8}(?:,[0-9]{1,6})*$-
safestringशोध लेख फ़िल्टर (safe); safe: optional; active, offactive

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • NOT (page AND start)
  • as_ylo <= as_yhi; cluster => NOT (query OR cites); identifiers remain strings to preserve numeric precision
  • scisbd: 0 = relevance, 1 = recent abstracts, 2 = recent articles; filter: 1 = filter similar results; as_vis: 1 = exclude citation-only records; as_rr: 1 = review articles only
  • query OR cites OR cluster: required

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-scholar/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=machine learning"

Google Scholar: लेखक प्रोफ़ाइल प्राप्त करें

GET https://api.apihop.ai/v1/google-scholar/author

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
idstringखोज परिणाम की ID (id); id: REQUIREDqc6CJjYAAAAJ
languagestringभाषा; language: optional-
pageintegerपृष्ठ, 1 से शुरू; page: optional; min: 1; max: 10001
sort_bystringक्रम; sort_by: optional; year, citations, pubdate, titleyear
devicestringडिवाइस; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue
view_opstringलेखक दृश्य मोड (view_op); view_op: optional; view_citation, list_colleaguesview_citation
citation_idstringलेखक के लेख की पूरी ID (citation_id); citation_id: optional; ^[A-Za-z0-9_-]{12}:[A-Za-z0-9_-]{1,100}$-
startintegerमूल परिणाम ऑफ़सेट (start); start: optional; min: 0; max: 100000
numintegerप्रति पृष्ठ परिणाम (num); num: optional; min: 1; max: 1001

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • NOT (page AND start)
  • view_op = view_citation <=> citation_id; citation_id prefix before colon must equal id
  • id, citation_id: copy from fresh author search/profile results; list_colleagues selects co-authors

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-scholar/author" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "id=qc6CJjYAAAAJ"

Google Scholar: न्यायिक निर्णय खोजें

GET https://api.apihop.ai/v1/google-scholar/case-law

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
querystringखोज पाठ; query: optionalBrown v Board of Education
languagestringभाषा; language: optional-
pageintegerपृष्ठ, 1 से शुरू; page: optional; min: 1; max: 1011
devicestringडिवाइस; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue
citesstringउद्धृत लेखों की ID सूची (cites); cites: optional; ^[1-9][0-9]{0,19}(?:,[1-9][0-9]{0,19}){0,19}$-
clusterstringलेख संस्करण समूह की ID (cluster); cluster: optional; ^[1-9][0-9]{0,19}$-
as_ylointegerप्रकाशन वर्ष की सीमा (as_ylo); as_ylo: optional; min: 1; max: 99991
as_yhiintegerप्रकाशन वर्ष की सीमा (as_yhi); as_yhi: optional; min: 1; max: 99991
scisbdintegerशोध लेख फ़िल्टर (scisbd); scisbd: optional; min: 0; max: 20
filterintegerशोध लेख फ़िल्टर (filter); filter: optional; min: 0; max: 10
as_visintegerशोध लेख फ़िल्टर (as_vis); as_vis: optional; min: 0; max: 10
as_rrintegerशोध लेख फ़िल्टर (as_rr); as_rr: optional; min: 0; max: 10
startintegerमूल परिणाम ऑफ़सेट (start); start: optional; min: 0; max: 10000
numintegerप्रति पृष्ठ परिणाम (num); डिफ़ॉल्ट: 10; num: optional; min: 1; max: 201
lrstringदस्तावेज़ भाषा फ़िल्टर (lr); lr: optional; UTF-8 bytes: 1024-
as_sdtstringलेख या अदालत फ़िल्टर (as_sdt); उदाहरण: 4,33,192; as_sdt: optional; UTF-8 bytes: 1024; ^[0-9]{1,8}(?:,[0-9]{1,6})*$-
safestringशोध लेख फ़िल्टर (safe); safe: optional; active, offactive
case_idstringफ़ैसले की ID (case_id); case_id: optional; ^[1-9][0-9]{0,19}$-

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • NOT (page AND start)
  • as_ylo <= as_yhi; cluster => NOT (query OR cites); identifiers remain strings to preserve numeric precision
  • scisbd: 0 = relevance, 1 = recent abstracts, 2 = recent articles; filter: 1 = filter similar results; as_vis: 1 = exclude citation-only records; as_rr: 1 = review articles only
  • case_id OR query OR cites OR cluster: required
  • case_id => only case_id, language, device, zero_trace; NOT search filters or pagination
  • as_sdt: 4 OR 4,court_id[,court_id...]

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-scholar/case-law" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=Brown v Board of Education"

Google Scholar: उद्धरण प्राप्त करें

GET https://api.apihop.ai/v1/google-scholar/cite

पैरामीटर

फ़ील्डप्रकारसीमाएंउदाहरण
idstringखोज परिणाम की ID (id); id: REQUIRED; ^[A-Za-z0-9_-]{12}$p7YVSi5UNiMJ
languagestringभाषा; language: optional-
devicestringडिवाइस; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanप्रतिक्रिया संग्रहित न करें; zero_trace: optionaltrue

सत्यापन

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • id: copy from a fresh Scholar search result; illustrative sample IDs do not prove availability

उदाहरण

bash
curl --get "https://api.apihop.ai/v1/google-scholar/cite" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "id=p7YVSi5UNiMJ"

जवाब और त्रुटियां

मूल JSON और संख्या सटीकता रहती है। उदाहरण सफल खाली परिणाम है। HTTP 400: इनपुट; 401: प्रमाणीकरण; 402: शेष; 403: अनुमति; 405: विधि; 429: सीमा; 5xx: सेवा। X-Request-Id रखें।

json
{
  "success": true,
  "request_id": "example-request",
  "data": {
    "format": "json",
    "content": {
      "results": []
    }
  }
}