API Hop

الوثائق

وثائق API Hop

مرجع Google Scholar

ابحث عن المقالات وملفات المؤلفين والاستشهادات والأحكام القضائية على Google Scholar.

حد التزامن

تتشارك طلبات AI وطلبات Data كلٌّ ضمن فئتها مجموعة فتحات تزامن على مستوى الحساب: افتراضيًا 5 AI / 2 Data، وتتغير بحسب الاشتراك. تظل حدود نقاط النهاية خاضعة للحد الإجمالي للفئة. يُعاد 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 = ممنوع، => = يتطلب. انسخ المعرّفات ورموز الأخبار من استجابات حديثة؛ الأمثلة ليست نتائج اختبارات فعلية. تُحاسب كل عملية ناجحة بشكل منفصل.

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قائمة معرّفات المقالات المستشهد بها (cites); cites: optional; ^[1-9][0-9]{0,19}(?:,[1-9][0-9]{0,19}){0,19}$-
clusterstringمعرّف مجموعة نسخ المقال (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: 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معرّف مقال المؤلف الكامل (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قائمة معرّفات المقالات المستشهد بها (cites); cites: optional; ^[1-9][0-9]{0,19}(?:,[1-9][0-9]{0,19}){0,19}$-
clusterstringمعرّف مجموعة نسخ المقال (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معرّف الحكم (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: 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": []
    }
  }
}