public
POST /v1/public/domains/suggest
Alternative domains worth offering alongside a search.
تصدیقهویت
دا پای ټکی عامه دی. دا هېڅ اعتبار او هېڅ سازمان ته اړتیا نه لري - دا هغه څه دي چې زموږ خپله د بازار موندنې پاڼه او د مصنوعي ځيرکتیا د ځواب انجنونه یې لولي.
دا پای نقطه د سازمان هېڅ آی ډي نه اخلي. ستاسو کیلي مخکې تر مخکې هغه سازمان په ګوته کوي چې پورې اړه لري، او ځواب ورته محدود دی.
هڅه وکړئ
د انګلیسي په زاوي پنسونو کې هرڅه د خپلو ارزښتونو سره بدل کړئ، او د کلي ځای لرونکی ستاسو د ډشبورډ د کلي سره.
curl -X POST https://api.zinndigital.com/v1/public/domains/suggest \
-H "Content-Type: application/json" \
-d '{ "query": <string> }'ننوتي یاست؟ ستاسو په ډشبورډ کې د API کنسول ستاسو د اصلي سازمان ID او ستاسو خپله کیلي ډکوي، او غوښتنه د ژوندی API په وړاندې پرمخ وړي ترڅو تاسو وکولی شئ اصلي ځواب وګورئ. دا پای ټکی (endpoint) د API په کنسول کې پرانیزئ
تفصیلات
The upsell grid (docs/31 §5.3). Ranked in tiers — **brand protection** (you are buying `acme.com`; somebody else buying `acme.net` can pass for you), then the **regional** extension for the visitor's country, then **same-intent** alternatives, then popular filler — and each row says which tier it came from, so a surface can make the argument rather than just list names. Every suggestion is priced and tokenised by **exactly the same code path as `searchPublicDomains`**: a grid price that came from anywhere else is a price the basket then refuses, at the moment the customer has already decided to buy. Its own endpoint rather than a field on the search response, because each suggestion is a paid registrar availability call: the primary result must not wait for the upsell, and the upsell must be skippable. It shares the search abuse budget — the two together are what one visitor's session costs us at the registrar. The visitor's country comes from Cloudflare's `CF-IPCountry`, an edge-set header the browser never sends, so no CORS allow-list entry is involved.
د غوښتنې بدن
| نوم | ډول | اړین | دا څه شی دی |
|---|---|---|---|
query | string | هو | The name the visitor searched — bare (`acme`) or full (`acme.com`). |
country | string | نه | ISO-3166 alpha-2 **hint**, used only when the edge did not state the visitor's country. The `CF-IPCountry` header wins whenever it is present: it is set by the edge and cannot b… |
exclude | string[] | نه | Names the primary search already answered. Each suggestion costs a paid registrar call, so re-checking a name already on the visitor's screen is money spent to tell them what th… |
limit | integer | نه | Grid size. The maximum is the hard cap on anonymous vendor spend per request. |
ځواب
| نوم | ډول | اړین | دا څه شی دی |
|---|---|---|---|
results | DomainSearchResult[] | هو | — |
تېروتنې چې دا پای ټکی یې بیرته راګرځولی شي
422 · 429