public
POST /v1/public/domains/search
Search domain availability without an account.
Аутентификација
Ова крајња тачка је јавна. Не захтева никакве акредитиве нити организацију — то је оно што читају наш сопствени маркетиншки сајт и машине за одговоре са вештачком интелигенцијом.
Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.
Испробајте
Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.
curl -X POST https://api.zinndigital.com/v1/public/domains/search \
-H "Content-Type: application/json" \
-d '{ "query": <string> }'Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли
Детаљи
The guest half of searchDomains. Applies the same selling rules as the authenticated endpoint — a name is only tokenised when it is available, in a TLD we offer, registrable as a bare SLD.TLD, and priced (a premium name is priced from the registrar's live quote plus margin) — but checks at most 5 candidate extensions per request rather than 64, because every miss is a call to a paid registrar API made on behalf of an anonymous visitor. That limit bounds what the caller asks for; a bare name with no tlds expands to the curated default set (see PublicDomainSearchRequest.tlds) and is always inside it. Prices are returned in the currency requested by X-Zinn-Currency where one is available. The token on an available result is what addPublicCartItem requires.
Тело захтева
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
query | string | Да | A base name (acme) checked across tlds, or one full FQDN (acme.com). |
tlds | string[] | Не | Extensions to check the base name against. At most 5 — each miss is a paid registrar lookup made for an anonymous visitor, and asking for more is a 422, not a truncated… |
Одговор
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
results | DomainSearchResult[] | Да | — |
Грешке које ова крајња тачка може вратити
422 · 429