API
JSON API
အစီရင်ခံစာများနှင့် တူညီသော ဒေတာများကို scripts နှင့် spreadsheets များအတွက်။ X-API-Key header တွင် Pro key လိုအပ်သည်။ တစ်မိနစ်လျှင် တောင်းဆိုမှု ၆၀၀။
ဒိုမိန်းတစ်ခုကို အလေးချိန်ပေးရန်
curl https://domainweight.com/api/v1/domain/github.com -H "X-API-Key: YOUR_KEY"
သက်တမ်းကုန်နေသော ဒိုမိန်းများ
GET https://domainweight.com/api/v1/expiring?status=available&chrome=yes&min_ref=50&sort=chrome&page_n=1
Filters: tld, min_ref, chrome=yes, status=available|dropping, sort=chrome|weight|links|drop|price, page_n။
တစ်စာမျက်နှာလျှင် ရလဒ် ၅၀။
Pro
X-API-Key header တွင် Pro သော့ချက် ဖြင့်: တစ်မိနစ်လျှင် တောင်းဆိုမှု ၆၀၀၊ bulk lookups၊ ဒိုမိန်းတစ်ခုစီ ဖယ်ရှားခံရသည့် အကြောင်းရင်းနှင့်အတူ expiring list ၏ ဝှက်ထားသောအပိုင်း၊ နှင့် CSV export။
curl -X POST https://domainweight.com/api/v1/bulk \
-H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"domains": ["github.com", "example.org"]}'
တစ်တောင်းဆိုမှုလျှင် ဒိုမိန်း ၅၀၀ အထိ။
GET https://domainweight.com/api/v1/expiring?include_hidden=1&page_n=1 GET https://domainweight.com/api/v1/expiring.csv?status=available&include_hidden=1
CSV endpoint သည် browser သို့မဟုတ် spreadsheet မှ ဒေါင်းလုဒ်ဆွဲရန်အတွက် ?key= အဖြစ် key ကိုလည်း လက်ခံသည်။