seo

POST /v1/seo/quota/top-up

Buy extra domain lookups.

सभी seo एंडपॉइंट्स

प्रमाणन

एक बीयर टोकन के रूप में एक API कुंजी भेजें। यह एंडपॉइंट विनिर्देश में किसी विशिष्ट अनुमति का उल्लेख नहीं करता है, इसलिए अपनी कुंजी को न्यूनतम आवश्यकता दें और अनुमान लगाने के बजाय प्रतिक्रिया की जाँच करें।

यह एंडपॉइंट कोई संगठन आईडी नहीं लेता है। आपकी कुंजी पहले से ही उस संगठन की पहचान करती है जिससे वह संबंधित है, और प्रतिक्रिया उसी के दायरे में है।

इसे आज़माएँ

कोणार्कित ब्रैकेट्स में दी गई किसी भी चीज़ को अपने मानों से बदलें, और की प्लेसहोलर को अपने डैशबोर्ड की एक की से बदलें।

curl -X POST https://api.zinndigital.com/v1/seo/quota/top-up \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "quantity": <integer> }'

साइन इन हैं? आपके डैशबोर्ड में मौजूद API कंसोल आपकी वास्तविक संगठन आईडी और आपकी अपनी कुंजी स्वतः भर देता है, और लाइव API के विरुद्ध अनुरोध चलाता है ताकि आप वास्तविक प्रतिक्रिया देख सकें। इस एंडपॉइंट को API कंसोल में खोलें

विवरण

Buys a pack of additional lookups, paid from the account credit balance. Purchased lookups do not expire and are spent only once the daily plan allowance is used up. Idempotent on the `Idempotency-Key` header: repeating a request with the same key returns the same purchase rather than buying a second pack. `422` when the pack size is not sold or the credit balance does not cover it — in which case nothing is charged at all.

पैरामीटर

नामप्रकारआवश्यकयह क्या है
Idempotency-Key (header)stringनहींCaller-supplied replay key. Strongly recommended: without one, a retried request buys a second pack.

अनुरोध बॉडी

नामप्रकारआवश्यकयह क्या है
quantityintegerहाँThe pack size to buy. Must be one offered by `GET /v1/seo/quota`.

प्रतिक्रिया

नामप्रकारआवश्यकयह क्या है
daily_allowanceintegerहाँLookups included per day. `-1` means unlimited.
used_todayintegerहाँPlan-funded lookups run since midnight UTC.
plan_remainingintegerनहीं
top_up_remainingintegerनहींPurchased lookups still unspent. These do not expire.
remainingintegerहाँ
is_unlimitedbooleanनहीं
can_look_upbooleanहाँ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_standingbooleanनहीं
packsobject[]हाँPacks of extra lookups available to buy.

त्रुटियाँ जो यह एंडपॉइंट लौटा सकता है

401 · 403 · 422