Skip to main content

Documentation Index

Fetch the complete documentation index at: https://apidoc.cufinder.io/llms.txt

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

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.cufinder.io/v2/cuf' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'x-api-key: api_key' \
--data-urlencode 'company_name=cufinder' \
--data-urlencode 'country_code=US'
{
    "status": 1,
    "data": {
            "confidence_level": 94,
            "query": "cufinder",
            "domain": "http://cufinder.io/",
            "credit_count": 9997
    }
}

Company Name to Domain API Typescript SDK

import { Cufinder } from '@cufinder/cufinder-ts';

// Initialize the client
const client = new Cufinder('your-api-key-here');

// Initialize with more options
const client = new Cufinder('your-api-key-here', { timeout: 60000 });

const result = await client.cuf('cufinder', 'US');
console.log(result)

Company Name to Domain API Python SDK

from cufinder import Cufinder

# Initialize the client
client = Cufinder('your-api-key-here')

# Initialize with more options
client = Cufinder('your-api-key-here', timeout=60)

result = client.cuf('cufinder', 'US')
print(result)

Company Name to Domain API Go SDK

package main

import (
    "fmt"
    "log"
    "github.com/cufinder/cufinder-go"
)

func main() {
    // Initialize the client
    sdk := cufinder.NewSDK("your-api-key-here")
    
    // Initialize with more options
    sdk := cufinder.NewSDKWithConfig(cufinder.ClientConfig{
        APIKey:     "your-api-key-here",
        BaseURL:    "https://api.cufinder.io/v2",
        Timeout:    60 * time.Second,
        MaxRetries: 3,
    })
}

result, err := sdk.CUF("cufinder", "US")
if err != nil {
    log.Fatal(err)
}
fmt.Println(result)

Company Name to Domain API Ruby SDK

require 'cufinder_ruby'

# Initialize the client
client = Cufinder::Client.new(api_key: 'your-api-key-here')

# Initialize with more options
client = Cufinder::Client.new(
    api_key: 'your-api-key-here',
    timeout: 60,
    max_retries: 3
)

result = client.cuf(company_name: 'cufinder', country_code: 'US')
puts result

Company Name to Domain API Rust SDK

use cufinder_rust::CufinderSDK;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Initialize the client
    let sdk = CufinderSDK::new("your-api-key-here".to_string())?;
    
    // Initialize with more options
    let sdk = CufinderSDK::with_config(ClientConfig {
        api_key: "your-api-key-here".to_string(),
        base_url: "https://api.cufinder.io/v2".to_string(),
        timeout: Duration::from_secs(60),
        max_retries: 3,
    })?;
    
    Ok(())
}

let result = sdk.cuf("cufinder", "US").await?;
println!("{:?}", result);