> ## 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.

# Local Business Search API

> Local businesses represent untapped markets that B2C and service-based companies overlook in traditional B2B databases. The Local Business Search API queries neighborhood businesses by location and industry—returning phones, emails, ratings, and social profiles—with 95% confidence scores. Built for developers creating local marketing and service provider platforms, this RESTful endpoint delivers comprehensive small business data including NAICS codes and Google Maps integration that power geo-targeted campaigns, competitor analysis, and community outreach workflows across your sales stack.

export const ReadMore = ({link, children, className = ""}) => {
  return <div className={`${className}`}>
      <h3>Read More</h3>
      <Button href={link} target="_blank" variant="outline" size="md" color="primary" className="mt-2">
        <Icon icon="code" size={24} className="!mint-bg-emerald-600 mr-2" />
        {children}
      </Button>
    </div>;
};

export const Button = ({variant = "fill", size = "md", color = "primary", href, target, children, className = "", style = {}}) => {
  const isLink = !!href;
  const variantClassname = {
    fill: "border-none mint-bg-[var(--color)] !mint-text-white hover:mint-bg-[var(--color-dark)]",
    outline: "border !mint-border-b border-solid mint-border-[var(--color)] !mint-text-[var(--color)] mint-bg-[var(--color-lightest)] hover:mint-bg-[var(--color-lighter)]",
    text: "border-none bg-transparent !mint-text-[var(--color)] hover:mint-bg-[var(--color-lighter)]"
  };
  const sizeClassname = {
    sm: "px-3 py-1 rounded-md text-sm",
    md: "px-6 py-2 rounded-lg text-base",
    lg: "px-8 py-2.5 rounded-xl text-lg"
  };
  const colors = {
    primary: "rgb(22 163 74)",
    info: "rgb(43 127 255)",
    warning: "rgb(254 154 0)",
    error: "rgb(251 44 54)"
  };
  const Comp = isLink ? "a" : "button";
  return <Comp href={isLink ? href : undefined} target={isLink ? target : undefined} className={`inline-block duration-150 transition-all font-medium ${variantClassname[variant]} ${sizeClassname[size]} ${className}`} style={{
    "--color": colors[color],
    "--color-lightest": `color-mix(in srgb, ${colors[color]}, white 90%)`,
    "--color-lighter": `color-mix(in srgb, ${colors[color]}, white 80%)`,
    "--color-light": `color-mix(in srgb, ${colors[color]}, white 10%)`,
    "--color-dark": `color-mix(in srgb, ${colors[color]}, black 10%)`,
    ...style
  }}>
      {children}
    </Comp>;
};

export const SDKsList = ({className = ""}) => {
  const sdks = [{
    href: "https://github.com/CUFinder/cufinder-ts",
    title: "Typescript",
    description: "The Official TypeScript SDK for CUFinder APIs",
    imgSrc: "/images/logos/typescript.svg"
  }, {
    href: "https://github.com/CUFinder/cufinder-py",
    title: "Python",
    description: "The Official Python SDK for CUFinder APIs",
    imgSrc: "/images/logos/python.svg"
  }, {
    href: "https://github.com/CUFinder/cufinder-go",
    title: "Go",
    description: "The Official Go SDK for CUFinder APIs",
    imgSrc: "/images/logos/go.svg"
  }, {
    href: "https://github.com/CUFinder/cufinder-rust",
    title: "Rust",
    description: "The Official Rust SDK for CUFinder APIs",
    imgSrc: "/images/logos/rust.svg",
    darkRevert: true
  }, {
    href: "https://github.com/CUFinder/cufinder-ruby",
    title: "Ruby",
    description: "The Official Ruby SDK for CUFinder APIs",
    imgSrc: "/images/logos/ruby.svg"
  }];
  return <div className={`divide-y divide-slate-200 divide-solid ${className}`}>
      <h2>CUFinder Official SDKs</h2>
      <ul className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-y-4">
        {sdks.map(sdk => <li key={sdk.title}>
            <a href={sdk.href} target="_blank" className="flex items-center gap-4">
              <img src={sdk.imgSrc} alt={sdk.title} noZoom width={100} height={100} className={`w-12 !my-0 ${sdk.darkRevert ? "dark:invert-100" : ""}`} />
              <div>
                <div>
                  <p className="text-sm text-gray-800 dark:text-gray-200">{sdk.title}</p>
                </div>
                <div>
                  <p className="text-xs text-gray-500 leading-[1.2rem]">
                    {sdk.description}
                  </p>
                </div>
              </div>
            </a>
          </li>)}
      </ul>
    </div>;
};

<div id="cuf-use-cases" className="cuf-use-cases">
  ## Common Use Cases

  Local lead generation starts with a clear picture of who operates in an area.

  * **Local Lead Generation:** Building lists of businesses in a city or area.
  * **Field Sales:** Planning on-site visits around nearby prospects.
  * **Market Research:** Mapping the density of a category in a region.
  * **Directory Building:** Populating listings with verified local business data.
  * **Competitive Analysis:** Seeing who operates in a given market.
</div>

<Badge color="blue" size="lg" icon="star" className="mt-3">
  Credit usage is 5 per record found.
</Badge>

## Attributes

<ParamField body="name" type="string(contains, e.g. '%john doe%')" required>
  Local business name
</ParamField>

<ParamField body="country" type="string" required>
  Local business country
</ParamField>

<ParamField body="state" type="string">
  Local business state
</ParamField>

<ParamField body="city" type="string">
  Local business city
</ParamField>

<ParamField body="industry" type="string">
  Local business industry
</ParamField>

<ParamField body="page" type="integer">
  Page filter
</ParamField>

## Response

<CodeGroup>
  ```json Response theme={null}
    {
      "status": 1,
      "data": {
          "confidence_level": 95,
          "query": {
              "country": "united states",
              "state": "california",
              "page": 1
          },
          "companies": [
              {
                  "name": "Party Popper Balloons",
                  "website": null,
                  "industry": "balloon artist",
                  "industry_details": {
                      "level_1": "Entertainer",
                      "level_2": "Entertainment and Recreation",
                      "naics_code": "711510",
                      "sic_code": "7929"
                  },
                  "main_location": {
                      "country": "united states",
                      "state": "california",
                      "city": "acalanes ridge",
                      "address": null
                  },
                  "geo_location": {
                      "google_maps_id": null,
                      "rating": null,
                      "reviews_count": null
                  },
                  "social": {
                      "linkedin": null,
                      "twitter": null,
                      "facebook": null,
                      "instagram": null,
                      "youtube": null
                  },
                  "connections": {
                      "phones": [
                          "(415) 610-4787"
                      ],
                      "emails": [],
                      "phone_type": "FIXED_LINE_OR_MOBILE"
                  }
              },
              {
                  "name": "Easy Bookkeeping 123",
                  "website": "https://www.easybookkeeping123.com/",
                  "industry": "bookkeeping service",
                  "industry_details": {
                      "level_1": "Bookkeeping Service",
                      "level_2": "Financial and Legal Services",
                      "naics_code": "541213",
                      "sic_code": "8721"
                  },
                  "main_location": {
                      "country": "united states",
                      "state": "california",
                      "city": "acalanes ridge",
                      "address": null
                  },
                  "geo_location": {
                      "google_maps_id": null,
                      "rating": null,
                      "reviews_count": null
                  },
                  "social": {
                      "linkedin": "linkedin.com/company/123-bookkeeping",
                      "twitter": null,
                      "facebook": null,
                      "instagram": null,
                      "youtube": null
                  },
                  "connections": {
                      "phones": [
                          "(415) 570-8568"
                      ],
                      "emails": [
                          "info@easybookkeeping123.com"
                      ],
                      "phone_type": "FIXED_LINE_OR_MOBILE"
                  }
              },
              {
                  "name": "All People Electric",
                  "website": null,
                  "industry": "electrician",
                  "industry_details": {
                      "level_1": "Electrician",
                      "level_2": "Construction and Home Improvement",
                      "naics_code": "238210",
                      "sic_code": "1731"
                  },
                  "main_location": {
                      "country": "united states",
                      "state": "california",
                      "city": "acalanes ridge",
                      "address": null
                  },
                  "geo_location": {
                      "google_maps_id": "ChIJMQl5OZ5ZhYARWe0rbOoE0EQ",
                      "rating": 4.7,
                      "reviews_count": 12
                  },
                  "social": {
                      "linkedin": null,
                      "twitter": null,
                      "facebook": null,
                      "instagram": null,
                      "youtube": null
                  },
                  "connections": {
                      "phones": [
                          "(925) 477-1877"
                      ],
                      "emails": [],
                      "phone_type": "FIXED_LINE_OR_MOBILE"
                  }
              },
              {
                  "name": "Kerex Engineering Inc.",
                  "website": "http://kerexengineering.com/",
                  "industry": "engineer",
                  "industry_details": {
                      "level_1": "Engineering",
                      "level_2": "Industrial and Manufacturing",
                      "naics_code": "541330",
                      "sic_code": "8711"
                  },
                  "main_location": {
                      "country": "united states",
                      "state": "california",
                      "city": "acalanes ridge",
                      "address": null
                  },
                  "geo_location": {
                      "google_maps_id": null,
                      "rating": null,
                      "reviews_count": null
                  },
                  "social": {
                      "linkedin": null,
                      "twitter": null,
                      "facebook": null,
                      "instagram": null,
                      "youtube": null
                  },
                  "connections": {
                      "phones": [],
                      "emails": [
                          "patrick@kerexengineering.com"
                      ],
                      "phone_type": null
                  }
              },
              {
                  "name": "Delta Renovation",
                  "website": "http://www.delta-renovation.com/",
                  "industry": "kitchen remodels",
                  "industry_details": {
                      "level_1": "Kitchen Remodeler",
                      "level_2": "Construction and Home Improvement",
                      "naics_code": "236118",
                      "sic_code": "1521"
                  },
                  "main_location": {
                      "country": "united states",
                      "state": "california",
                      "city": "acalanes ridge",
                      "address": null
                  },
                  "geo_location": {
                      "google_maps_id": null,
                      "rating": null,
                      "reviews_count": null
                  },
                  "social": {
                      "linkedin": null,
                      "twitter": null,
                      "facebook": null,
                      "instagram": null,
                      "youtube": null
                  },
                  "connections": {
                      "phones": [
                          "(925) 239-0055"
                      ],
                      "emails": [
                          "info@delta-renovation.com"
                      ],
                      "phone_type": "FIXED_LINE_OR_MOBILE"
                  }
              },
              {
                  "name": "Prospera Mental Health & Wellness",
                  "website": "http://prosperamhw.com/",
                  "industry": "mental health service",
                  "industry_details": {
                      "level_1": "Mental health clinic",
                      "level_2": "Health and Medical Services",
                      "naics_code": "621330",
                      "sic_code": "8063"
                  },
                  "main_location": {
                      "country": "united states",
                      "state": "california",
                      "city": "acalanes ridge",
                      "address": null
                  },
                  "geo_location": {
                      "google_maps_id": "ChIJlROjcreBhYARo3QkWH9bPa8",
                      "rating": 5,
                      "reviews_count": 27
                  },
                  "social": {
                      "linkedin": null,
                      "twitter": null,
                      "facebook": null,
                      "instagram": null,
                      "youtube": null
                  },
                  "connections": {
                      "phones": [
                          "(415) 684-8146"
                      ],
                      "emails": [
                          "andrea@prosperamhw.com"
                      ],
                      "phone_type": "FIXED_LINE_OR_MOBILE"
                  }
              },
              {
                  "name": "Briones Peak",
                  "website": null,
                  "industry": "mountain peak",
                  "industry_details": {
                      "level_1": "Landmark",
                      "level_2": "Real Estate and Property Management",
                      "naics_code": "713990",
                      "sic_code": "7999"
                  },
                  "main_location": {
                      "country": "united states",
                      "state": "california",
                      "city": "acalanes ridge",
                      "address": "California 94553"
                  },
                  "geo_location": {
                      "google_maps_id": null,
                      "rating": null,
                      "reviews_count": null
                  },
                  "social": {
                      "linkedin": null,
                      "twitter": null,
                      "facebook": null,
                      "instagram": null,
                      "youtube": null
                  },
                  "connections": {
                      "phones": [],
                      "emails": [],
                      "phone_type": null
                  }
              },
              {
                  "name": "Jackson PR Enterprises",
                  "website": "https://www.jacksonprenterprises.net/",
                  "industry": "notary public",
                  "industry_details": {
                      "level_1": "Notary Public",
                      "level_2": "Financial and Legal Services",
                      "naics_code": "541120",
                      "sic_code": "6541"
                  },
                  "main_location": {
                      "country": "united states",
                      "state": "california",
                      "city": "acalanes ridge",
                      "address": null
                  },
                  "geo_location": {
                      "google_maps_id": null,
                      "rating": null,
                      "reviews_count": null
                  },
                  "social": {
                      "linkedin": null,
                      "twitter": null,
                      "facebook": null,
                      "instagram": null,
                      "youtube": null
                  },
                  "connections": {
                      "phones": [
                          "(707) 208-5388"
                      ],
                      "emails": [],
                      "phone_type": "FIXED_LINE_OR_MOBILE"
                  }
              },
              {
                  "name": "All American Paints",
                  "website": null,
                  "industry": "painter",
                  "industry_details": {
                      "level_1": "Painter",
                      "level_2": "Arts and Crafts",
                      "naics_code": "238320",
                      "sic_code": "1721"
                  },
                  "main_location": {
                      "country": "united states",
                      "state": "california",
                      "city": "acalanes ridge",
                      "address": null
                  },
                  "geo_location": {
                      "google_maps_id": null,
                      "rating": null,
                      "reviews_count": null
                  },
                  "social": {
                      "linkedin": null,
                      "twitter": null,
                      "facebook": null,
                      "instagram": null,
                      "youtube": null
                  },
                  "connections": {
                      "phones": [
                          "(925) 705-1695"
                      ],
                      "emails": [],
                      "phone_type": "FIXED_LINE_OR_MOBILE"
                  }
              },
              {
                  "name": "Lamorinda Gopher, LLC",
                  "website": "http://lamorindagopher.com/",
                  "industry": "pest control service",
                  "industry_details": {
                      "level_1": "Pest Control Service",
                      "level_2": "Agricultural and Environmental Services",
                      "naics_code": "561710",
                      "sic_code": "7342"
                  },
                  "main_location": {
                      "country": "united states",
                      "state": "california",
                      "city": "acalanes ridge",
                      "address": null
                  },
                  "geo_location": {
                      "google_maps_id": "ChIJe5DtBcF9hYARQNoeUoOJskc",
                      "rating": 5,
                      "reviews_count": 6
                  },
                  "social": {
                      "linkedin": null,
                      "twitter": null,
                      "facebook": null,
                      "instagram": null,
                      "youtube": null
                  },
                  "connections": {
                      "phones": [
                          "(925) 257-0023"
                      ],
                      "emails": [],
                      "phone_type": "FIXED_LINE_OR_MOBILE"
                  }
              }
          ],
          "credit_count": 9978
      }
  }
  ```
</CodeGroup>

<SDKsList className="mt-20" />

<div className="mt-20">
  ## Local Business Search API Typescript SDK

  <CodeGroup>
    ```typescript Request theme={null}
    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.lbs({
        country: 'united states',
        state: 'california',
        page: 1
    });
    console.log(result);
    ```
  </CodeGroup>
</div>

<div className="mt-12">
  ## Local Business Search API Python SDK

  <CodeGroup>
    ```python Request theme={null}
     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.lbs(
        country='united states',
        state='california',
        page=1
    )
    print(result)
    ```
  </CodeGroup>
</div>

<div className="mt-12">
  ## Local Business Search API Go SDK

  <CodeGroup>
    ```go Request theme={null}
    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.LBS(cufinder.LbsParams{
        Country: "united states",
        State:   "california",
        Page:    1,
    })
    if err != nil {
        log.Fatal(err)
    }
    fmt.Println(result)
    ```
  </CodeGroup>
</div>

<div className="mt-12">
  ## Local Business Search API Ruby SDK

  <CodeGroup>
    ```ruby Request theme={null}
    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.lbs(
        country: 'united states',
        state: 'california',
        page: 1
    )
    puts result
    ```
  </CodeGroup>
</div>

<div className="mt-12">
  ## Local Business Search API Rust SDK

  <CodeGroup>
    ```rust Request theme={null}
    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(())
    }

    use cufinder_rust::LbsParams;

    let result = sdk.lbs(LbsParams {
        country: Some("united states".to_string()),
        state: Some("california".to_string()),
        page: Some(1),
        ..Default::default()
    }).await?;
    println!("{:?}", result);
    ```
  </CodeGroup>
</div>

## Related APIs

<CardGroup cols={2}>
  <Card title="Company Search" icon="search" href="/apis/company-search">
    Search companies with multiple filters.
  </Card>

  <Card title="Company Locations" icon="map-pin" href="/apis/company-locations">
    List a company's office locations.
  </Card>

  <Card title="Company Phone Finder" icon="phone" href="/apis/company-phone-finder">
    Find a company's phone numbers.
  </Card>

  <Card title="Company Enrichment" icon="building" href="/apis/company-enrichment">
    Enrich a company with full firmographics.
  </Card>
</CardGroup>
