REST Countries v1

無料
よって apilayer | 更新済み il y a 17 jours | Data
人気

0.5 / 10

レイテンシー

37ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

Provide a REST call to search by topLevelDomain

Rapid account: Isar Domains
IsarDomains
il y a 6 ans

I came across your API which sounds promising to me. I’m a Domainer and I want to use the API to return the name of the Country out of a given Top-Level-Domain (ccTLD). Unfortunately, that’s not possible at the moment and would be great to have as REST API function available. Unfortunately, I can’t simply use the “alpha2Code” because it does not always match the ccTLD. At least if there is more than one ccTLD available - as it happens sometimes in the response - like for BQ (Bonaire) where .AN and .NL is returned - it would fail. This might be already another issue for BQ especially? Because .AN as ccTLD is deleted but succeeded by .CW and .SX. The ccTLD .NL should only cover the Netherlands.
Here are some other examples, where the alpha2Code mapping to the ccTLD does not work:

  • UM (United States Minor Outlying Islands) is alpha2Code but the associated ccTLD is .US
  • GB (Great Britain) where the ccTLD is .UK
  • XK (Republic of Kosovo) does not have it’s own ccTLD yet

There might be more, but these are the stuff I can remember.
So my question would be, if there is a change to have a REST call to search by ccTLD as well?

Thanks!

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿