seo

POST /v1/seo/quota/top-up

Buy extra domain lookups.

Tüm seo uç noktaları

Kimlik Doğrulama

Bir API anahtarını bearer token olarak gönderin. Bu uç nokta, teknik özelliklerde belirli bir yetki belirtmemektedir; bu nedenle, varsaymak yerine anahtarınıza ihtiyaç duyduğu en az yetkiyi verin ve yanıtı kontrol edin.

Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.

Dene

Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.

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> }'

Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın

Ayrıntılar

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.

Parametreler

AdTürZorunluNe olduğu
Idempotency-Key (header)stringHayırCaller-supplied replay key. Strongly recommended: without one, a retried request buys a second pack.

İstek gövdesi

AdTürZorunluNe olduğu
quantityintegerEvetThe pack size to buy. Must be one offered by `GET /v1/seo/quota`.

Yanıt

AdTürZorunluNe olduğu
daily_allowanceintegerEvetLookups included per day. `-1` means unlimited.
used_todayintegerEvetPlan-funded lookups run since midnight UTC.
plan_remainingintegerHayır
top_up_remainingintegerHayırPurchased lookups still unspent. These do not expire.
remainingintegerEvet
is_unlimitedbooleanHayır
can_look_upbooleanEvetWhether 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_standingbooleanHayır
packsobject[]EvetPacks of extra lookups available to buy.

Bu uç noktanın dönderebileceği hatalar

401 · 403 · 422