Skip to main content

Documentation Index

Fetch the complete documentation index at: https://apidocs.companyurlfinder.com/llms.txt

Use this file to discover all available pages before exploring further.

Company URL Finder consistently delivers 95%+ accuracy across our database of 85M+ verified company records. This API transforms incomplete CRM records into actionable intelligence that your sales team actually uses. It integrates into any workflow—CRM automation, lead qualification pipelines, real-time lookup systems, webhook triggers.
Credit usage is 1 per record found.

Attributes

x-api-key
string
required
Your API key.
company_name
string
required
Company name
country_code
string
required
Country code
Please note that when you set the country code, the results are limited to that country. For example, for the company name ‘Nestlé’ and the country ‘Switzerland’, we returned nestle.ch as a result.
Request
curl --location 'https://api.companyurlfinder.com/v2/services/name_to_domain' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'x-api-key: your_api_key' \
--data-urlencode 'company_name=cufinder' \
--data-urlencode 'country_code=US'
{
    "status": 1,
        "code": 1000,
        "errors": {},
        "data": {
            "exists": true,
            "domain": "cufinder.io",
            "remaining_credits": 9999
        }
}

Company Name to Domain API in Javascript

const myHeaders = new Headers();
myHeaders.append("Content-Type", "application/x-www-form-urlencoded");
myHeaders.append("x-api-key", "your_api_key");

const urlencoded = new URLSearchParams();
urlencoded.append("company_name", "cufinder");
urlencoded.append("country_code", "US");

const requestOptions = {
    method: "POST",
    headers: myHeaders,
    body: urlencoded,
    redirect: "follow"
};

fetch("https://api.companyurlfinder.com/v2/services/name_to_domain", requestOptions)
    .then((response) => response.text())
    .then((result) => console.log(result))
    .catch((error) => console.error(error));

Company Name to Domain API in Python

import requests

url = "https://api.companyurlfinder.com/v2/services/name_to_domain"

payload = 'company_name=cufinder&country_code=US'
headers = {
    'Content-Type': 'application/x-www-form-urlencoded',
    'x-api-key': 'your_api_key'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

Company Name to Domain API in PHP

$client = new Client();
$headers = [
    'Content-Type' => 'application/x-www-form-urlencoded',
    'x-api-key' => 'your_api_key'
];
$options = [
'form_params' => [
    'company_name' => 'cufinder',
    'country_code' => 'US'
]];
$request = new Request('POST', 'https://api.companyurlfinder.com/v2/services/name_to_domain', $headers);
$res = $client->sendAsync($request, $options)->wait();
echo $res->getBody();

Company Name to Domain API in Go

package main

import (
    "fmt"
    "strings"
    "net/http"
    "io"
)

func main() {

    url := "https://api.companyurlfinder.com/v2/services/name_to_domain"
    method := "POST"

    payload := strings.NewReader("company_name=cufinder&country_code=US")

    client := &http.Client {
    }
    req, err := http.NewRequest(method, url, payload)

    if err != nil {
    fmt.Println(err)
    return
    }
    req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
    req.Header.Add("x-api-key", "your_api_key")

    res, err := client.Do(req)
    if err != nil {
    fmt.Println(err)
    return
    }
    defer res.Body.Close()

    body, err := io.ReadAll(res.Body)
    if err != nil {
    fmt.Println(err)
    return
    }
    fmt.Println(string(body))
}

Company Name to Domain API in Ruby

require "uri"
require "net/http"

url = URI("https://api.companyurlfinder.com/v2/services/name_to_domain")

https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/x-www-form-urlencoded"
request["x-api-key"] = "your_api_key"
request.body = "company_name=cufinder&country_code=US"

response = https.request(request)
puts response.read_body

Company Name to Domain API in Kotlin

val client = OkHttpClient()
val mediaType = "application/x-www-form-urlencoded".toMediaType()
val body = "company_name=cufinder&country_code=US".toRequestBody(mediaType)
val request = Request.Builder()
    .url("https://api.companyurlfinder.com/v2/services/name_to_domain")
    .post(body)
    .addHeader("Content-Type", "application/x-www-form-urlencoded")
    .addHeader("x-api-key", "your_api_key")
    .build()
val response = client.newCall(request).execute()

Company Name to Domain API in Java

OkHttpClient client = new OkHttpClient().newBuilder().build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "company_name=cufinder&country_code=US");
Request request = new Request.Builder()
    .url("https://api.companyurlfinder.com/v2/services/name_to_domain")
    .method("POST", body)
    .addHeader("Content-Type", "application/x-www-form-urlencoded")
    .addHeader("x-api-key", "your_api_key")
    .build();
Response response = client.newCall(request).execute();