# Thomasnet Supplier Scraper (`axlymxp/thomasnet-supplier-scraper`) Actor

Scrape Thomasnet industrial suppliers by search term or category, near a ZIP code or by states served: company name, phone, website, address with coordinates, employees, annual sales, year founded, certifications, type and description. B2B sourcing and lead lists. Pay per supplier.

- **URL**: https://apify.com/axlymxp/thomasnet-supplier-scraper.md
- **Developed by:** [axly](https://apify.com/axlymxp) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 suppliers

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Thomasnet Supplier Scraper

Scrape **Thomasnet**, the largest North American industrial supplier directory — find manufacturers, custom manufacturers, distributors and service companies by what they make, near a ZIP code or by states served, and get their **phone, website, address and company size**. Pay only for the suppliers you get.

### Output fields

`id`, `name`, `url`, `website`, `phone`, `description`, `company_type`, `tier`, `is_claimed`, `xometry_verified`, `annual_sales`, `employees`, `year_founded`, `is_multi_location`, `address`, `city`, `state`, `state_name`, `zip`, `country`, `latitude`, `longitude`, `distance_miles`, `certifications`, `other_activities`, `logo_url`, `heading_id`, `heading`, `total_results`, `search_term`.
With **Fetch all locations**: `locations[]` — every branch's name, phone, address, coordinates.

### Use cases

Supplier sourcing and RFQ shortlists, B2B lead generation for industrial sales teams, competitor and market mapping by category and region, enriching CRM records with company size and certifications.

### Input

| Field | Description |
|---|---|
| `searchTerms` | What you source ("cnc machining", "injection molding") — matched to the best Thomasnet category |
| `categoryIds` | Thomasnet category IDs or category URLs |
| `zipCode` / `distanceMiles` | Search around a US ZIP code |
| `statesServed` | Two-letter codes of states/provinces served |
| `keywordWithinCategory` | Narrow inside the category ("stainless", "aerospace") |
| `verifiedOnly` | Thomas Verified suppliers only |
| `companyTypes` | manufacturer, custom_manufacturer, service, distributor |
| `fetchLocations` | Add all branches of multi-location suppliers |
| `maxItemsPerSearch` | Max suppliers per term / category |

#### Example

```json
{ "searchTerms": ["injection molding", "sheet metal fabrication"], "statesServed": ["OH", "MI"], "verifiedOnly": true, "maxItemsPerSearch": 300 }
```

### Scheduling & integration

Schedule runs to refresh supplier lists; use webhooks to load results into your CRM or sheet. Results via the Apify API, dataset exports and the Apify MCP server for AI agents.

### FAQ

**Does it get emails?** Thomasnet doesn't publish supplier emails; you get phone and website.
**Do I need a proxy?** No — it works from Apify's default IPs.

# Actor input Schema

## `searchTerms` (type: `array`):

What you source, e.g. 'cnc machining', 'injection molding', 'steel fabrication'. Each term is matched to the best Thomasnet category.

## `categoryIds` (type: `array`):

Optional Thomasnet category (heading) IDs or category URLs ending in the ID (…/cnc-machining-45330503).

## `zipCode` (type: `string`):

US ZIP code to search around (sorted by distance).

## `distanceMiles` (type: `integer`):

Search radius around the ZIP code (default 100).

## `statesServed` (type: `array`):

Two-letter state/province codes the supplier serves (e.g. TX, OH, ON). Big states are covered by both Thomasnet regions (TX = North + South Texas). Suppliers may be headquartered elsewhere.

## `keywordWithinCategory` (type: `string`):

Narrow results inside the category, e.g. 'stainless' or 'aerospace'.

## `verifiedOnly` (type: `boolean`):

Only suppliers verified by Thomas.

## `companyTypes` (type: `array`):

manufacturer, custom_manufacturer, service, distributor. Empty = all.

## `fetchLocations` (type: `boolean`):

Add every branch (address, phone) for suppliers with several locations; charged per supplier with locations.

## `maxItemsPerSearch` (type: `integer`):

Maximum suppliers per search term / category.

## `proxyConfiguration` (type: `object`):

Optional. The Thomasnet API works from datacenter IPs.

## Actor input object example

```json
{
  "searchTerms": [
    "cnc machining"
  ],
  "categoryIds": [],
  "statesServed": [],
  "verifiedOnly": false,
  "companyTypes": [],
  "fetchLocations": false,
  "maxItemsPerSearch": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchTerms": [
        "cnc machining"
    ],
    "categoryIds": [],
    "statesServed": [],
    "companyTypes": [],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("axlymxp/thomasnet-supplier-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchTerms": ["cnc machining"],
    "categoryIds": [],
    "statesServed": [],
    "companyTypes": [],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("axlymxp/thomasnet-supplier-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchTerms": [
    "cnc machining"
  ],
  "categoryIds": [],
  "statesServed": [],
  "companyTypes": [],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call axlymxp/thomasnet-supplier-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,axlymxp/thomasnet-supplier-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/WOzOUPgh9qqkzwoZM/builds/CRbwdAirBnKwMChL3/openapi.json
