المصادقة
أرسل مفتاح واجهة برمجة التطبيقات (API) كرمز حامل (bearer token). لا يحدد نقطة النهاية هذه إذنًا محددًا في المواصفات، لذا امنح مفتاحك الحد الأدنى الذي محتاجه وتحقق من الاستجابة بدلاً من الافتراض.
لا يقبل هذا الطرف أي معرف للمؤسسة. يحدد مفتاحك بالفعل المؤسسة التي ينتمي إليها، وتكون الاستجابة محصورة في نطاقها.
جربه الآن
استبدل أي شيء بين أقواس زاوية بقيمك الخاصة، والعنصر النائب للمفتاح بمفتاح من لوحة تحكمك.
curl -X GET https://api.zinndigital.com/v1/seo/quota \
-H "Authorization: Bearer zdk_live_…"هل سجلت الدخول؟ تقوم وحدة تحكم واجهة برمجة التطبيقات في لوحة التحكم الخاصة بك بربط معرف مؤسستك الحقيقي ومفتاحك الخاص، وتنفذ الطلب مقابل واجهة برمجة التطبيقات المباشرة لتتمكن من رؤية الاستجابة الفعلية. افتح هذه النهاية الطرفية في وحدة تحكم API
التفاصيل
How many domain lookups this plan includes each day, how many are left, any purchased lookups still unspent, and what buying more costs. `can_look_up` is authoritative and is **not** the same as `remaining > 0`: an account that is suspended or unpaid may have lookups left and still not be permitted to spend them.
الاستجابة
| الاسم | النوع | مطلوب | ما هو هذا |
|---|---|---|---|
daily_allowance | integer | نعم | Lookups included per day. `-1` means unlimited. |
used_today | integer | نعم | Plan-funded lookups run since midnight UTC. |
plan_remaining | integer | لا | — |
top_up_remaining | integer | لا | Purchased lookups still unspent. These do not expire. |
remaining | integer | نعم | — |
is_unlimited | boolean | لا | — |
can_look_up | boolean | نعم | Whether a lookup would be permitted right now. **Not** the same as `remaining > 0`: a suspended or unpaid account may have lookups left and still be refused. |
in_good_standing | boolean | لا | — |
packs | object[] | نعم | Packs of extra lookups available to buy. |
الأخطاء التي يمكن أن تُرجعها نقطة النهاية هذه
401 · 403