Fetch the Domain and Logo

In this lesson, we'll explore two Clearbit API endpoints: the name to domain endpoint and the logo endpoint.

The name to domain API

We can use Clearbit's name to domain endpoint to fetch the domain and logo of the company. This endpoint takes the exact name of the company as a parameter and returns the best-matched domain and logo of the company in a single JSON response. Clearbit returns the data of the company with the highest website traffic. Remember that because Clearbit does a fuzzy search—a fault-tolerant search that returns approximate results rather than exact results—we might get inaccurate results sometimes.

Get hands-on with 1200+ tech skills courses.