API
JSON API
Data e tšoanang le ea litlaleho, bakeng sa li-script le li-spreadsheet. E hloka senotlolo sa Pro ho header ea X-API-Key; likopo tse 600 ka motsotso.
Bala boima ba lebala
curl https://domainweight.com/api/v1/domain/github.com -H "X-API-Key: YOUR_KEY"
Libaka tse felang
GET https://domainweight.com/api/v1/expiring?status=available&chrome=yes&min_ref=50&sort=chrome&page_n=1
Lisefo: tld, min_ref, chrome=yes, status=available|dropping, sort=chrome|weight|links|drop|price, page_n.
Liphetho tse 50 ka leqephe.
Pro
Ka Senotlolo sa Pro ho header ea X-API-Key: likopo tse 600 ka motsotso, lipatlisiso tsa bongata, karolo e patiloeng ea lethathamo la ho fela le lebaka leo lebala ka leng le haneloang ka lona, le ho romela CSV.
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"]}'
Ho fihlela mabitso a 500 ka kopo.
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
Endpoint ea CSV e amohela senotlolo e le ?key= bakeng sa ho jarolla ho tsoa ho browser kapa spreadsheet.