Domains

/v3/bitly_pro_domain

Query whether a given domain is a valid bitly pro domain. Keep in mind that bitly custom short domains are restricted to less than 15 characters in length.

Authentication: oauth2

Parameters

  • domain - A short domain. ie: nyti.ms.

Return Values

  • bitly_pro_domain - 0 or 1 designating whether this is a current bitly domain.
  • domain - an echo back of the request parameter.

Example Request

API Address: https://api-ssl.bitly.com
GET /v3/bitly_pro_domain?access_token=ACCESS_TOKEN&domain=1.usa.gov

Example Response

{
  "data": {
    "bitly_pro_domain": true, 
    "domain": "1.usa.gov"
  }, 
  "status_code": 200, 
  "status_txt": "OK"
}