🌎
country-info
  • Welcome!
  • Quick Start
  • Changelog
  • Reference
    • Functions
      • Get Continent Information
      • Get Country Information
      • Get All Countries Information
      • Get Country by Top-Level Domain
      • Search Countries
    • Function Signatures
    • Testing
Powered by GitBook
On this page

Was this helpful?

  1. Reference
  2. Functions

Get Country by Top-Level Domain

The getCountryByTLD function allows you to find a country based on its top-level domain (TLD). Provide the TLD (e.g., ".us") and specify the fields to retrieve.

PreviousGet All Countries InformationNextSearch Countries

Last updated 1 year ago

Was this helpful?