# ImportYeti Scraper - US Customs Importer & Supplier Data (`alwaysprimedev/importyeti-scraper`) Actor

Pull structured US sea-shipment, importer, and supplier records from ImportYeti.com. Returns company addresses, country-of-origin breakdowns, top HS codes, monthly shipment history, trademarks, and tags.

- **URL**: https://apify.com/alwaysprimedev/importyeti-scraper.md
- **Developed by:** [Always Prime](https://apify.com/alwaysprimedev) (community)
- **Categories:** Automation, Developer tools, Lead generation
- **Stats:** 2 total users, 1 monthly users, 71.4% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## 🚢 ImportYeti Scraper — US Customs Importer & Supplier Data

[![Apify Actor](https://img.shields.io/badge/apify-actor-blue)](https://apify.com)
[![Python](https://img.shields.io/badge/python-3.11-blue)](https://www.python.org/)
[![Output](https://img.shields.io/badge/output-JSON%20%7C%20CSV%20%7C%20Excel-green)]()

> 🤖 **Structured supply-chain intelligence in seconds.** Pull every public datapoint from ImportYeti — importer addresses, country-of-origin breakdowns, monthly shipment history, top HS codes, trademarks and tags — straight into a JSON / CSV / Excel dataset.

### ✨ Why this scraper

- ⚡️ **Fast** — concurrent extraction, 5 records / second under default settings
- 📦 **Complete** — every visible field from each company/supplier page in one flat record
- 🏷️ **Both sides of the trade** — US importer "companies" *and* their foreign "supplier" counterparts
- 🌍 **Country-of-origin rollups** — pre-aggregated per country & continent
- 📈 **Monthly history** — shipments, weight (kg) and TEU broken down per month
- 🔁 **Incremental mode** — `since:` parameter skips records older than your last run
- 🧾 **3 export formats** — JSON, CSV, Excel

### 🚀 Quick start

1. Click **Try for free**
2. Type a search term (a company name, brand, product, or keyword) — or paste a list of `/company/<slug>` / `/supplier/<slug>` URLs
3. Hit **Start** and grab a coffee
4. Download the result as JSON, CSV, or Excel from the **Storage** tab

### 🛠️ Input

| Field | Type | Description |
|---|---|---|
| `query` | string | Free-text search term (brand, importer, HS-code keyword) |
| `entityType` | enum | `company` (US importer), `supplier` (foreign manufacturer), or both |
| `startUrls` | string[] | Optional explicit list of `/company/<slug>` or `/supplier/<slug>` URLs |
| `maxItems` | integer | Hard cap on records; `0` = unlimited (default `50`) |
| `since` | datetime | Skip records whose most recent shipment is older than this ISO timestamp |
| `concurrency` | integer | Parallel HTTP requests (default `5`, max `25`) |

### 📤 Sample output

```json
{
  "url": "https://www.importyeti.com/company/apple",
  "id": "company/apple",
  "scraped_at": "2026-05-10T20:00:10Z",
  "type": "company",
  "title": "Apple",
  "address": "568 Aldi Blvd, Mount Juliet, Tn 37122, Us",
  "country_code": "US",
  "phone_number": "XXX-XXX-X000",
  "website": "apple.com",
  "other_names_count": 2,
  "other_addresses_count": 89,
  "most_recent_shipment": "01/21/2026",
  "total_sea_shipments": 2449,
  "total_shipping_cost": 101746.81,
  "shipping_cost_coverage": 2.69,
  "avg_teu_per_month": 0.39,
  "avg_teu_per_shipment": 0.77,
  "database_updated": "05/06/2026",
  "multi_address": true,
  "dataset": "us",
  "uflpa": false,
  "location": {
    "state": "Tennessee",
    "county": "Wilson County",
    "city": "Mount Juliet",
    "district": "Mount Juliet"
  },
  "tags": [
    { "tag": "puter",    "shipments": 617 },
    { "tag": "computer", "shipments": 617 },
    { "tag": "lithium",  "shipments": 388 }
  ],
  "trademarks": [{ "name": "Apple", "trademarks_count": 1620 }],
  "imports_per_country": [
    { "country": "China",       "continent": "Asia",   "shipments": 2292 },
    { "country": "Hong Kong",   "continent": "Asia",   "shipments": 62 },
    { "country": "Vietnam",     "continent": "Asia",   "shipments": 37 },
    { "country": "Germany",     "continent": "Europe", "shipments": 11 }
  ],
  "top_hs_codes": ["8504.40","8517.62","8471.30","8544.42","8473.30"],
  "shipments_time_series": [
    { "period": "01/01/2024", "shipments": 32, "weight": 89421, "teu": 84 },
    { "period": "01/02/2024", "shipments": 41, "weight": 117850, "teu": 102 }
  ]
}
````

### 💼 Use cases

| Who | What for |
|---|---|
| **Procurement teams** | Find alternative suppliers for components shipped from specific countries |
| **B2B sales** | Build prospect lists by HS code, trade volume, or country of origin |
| **Market research** | Quantify competitor sourcing strategies — who buys what, from where, how often |
| **Investment analysts** | Track import volume as a leading indicator for retail / consumer-goods companies |
| **Logistics & freight** | Identify high-volume lanes and consolidation opportunities |
| **Trade compliance** | Screen suppliers against UFLPA and other forced-labour flags |

### 💡 Tips & tricks

- **Free-text queries** match titles, addresses and aliases — `"apple"` returns 27 hits across companies and suppliers, not just Apple Inc.
- For **company-only** datasets, set `entityType: "company"`. Suppliers are foreign manufacturers and have a different shape (no trademarks, often no website).
- The **`since` filter** uses the *most recent shipment* date on each record — perfect for nightly incremental runs.
- **Want comparable competitors?** Run one query per company name, then merge — each result carries a `tags` array you can use for affinity clustering.
- Large runs (10k+ records) benefit from `concurrency: 10` and unlimited `maxItems: 0`.

### ❓ FAQ

**Q: What data is in each record?**
A: Every field shown in the sample above — importer name, primary and alternate addresses, phone, website, total sea-shipment count, country-of-origin breakdown, top HS codes, monthly time series, trademarks and keyword tags.

**Q: How fresh is the data?**
A: ImportYeti's database update timestamp travels with each record in the `database_updated` field, so you always know how recent the underlying customs data is.

**Q: Can I get individual shipment-level records?**
A: This actor returns the public aggregated view (count + breakdowns + monthly history). Individual bill-of-lading records aren't part of the public page surface.

**Q: Will this work for non-US companies?**
A: Yes — the dataset itself is US sea imports, so US-side companies are *importers* and foreign-side companies are *suppliers*. Both show up.

**Q: How are records de-duplicated?**
A: By the canonical `id` field (`company/<slug>` or `supplier/<slug>`) — the same company appearing on multiple search pages or via multiple `startUrls` is pushed once.

**Q: What happens if a search slug doesn't have a real page?**
A: ImportYeti's search occasionally surfaces orphan slugs. The actor detects and silently skips them — they don't count against your run.

### 📊 Output

Three checkmarks live in the Storage tab — the dataset is exportable as **JSON**, **CSV**, and **Excel** out of the box. Use the *Open in Apify Console* link for an interactive table view with filtering and sort.

***

🛟 **Found a bug or want a field that's missing?** Open an issue from the actor page — we ship fixes fast.

# Actor input Schema

## `query` (type: `string`):

Free-text search term used to find companies or suppliers on ImportYeti (e.g. a brand name, importer name, product, or HS-code keyword). Leave empty if you supply Start URLs directly.

## `entityType` (type: `string`):

Restrict search results to either US importers (companies) or foreign manufacturers (suppliers). Leave empty to return both.

## `startUrls` (type: `array`):

Optional list of importyeti.com URLs to scrape directly. Accepts /company/<slug> or /supplier/<slug>. Use this for incremental runs over a known list of companies you already care about.

## `maxItems` (type: `integer`):

Hard cap on the number of company/supplier records pushed to the dataset. Set 0 for unlimited (the run will stop when search results run out).

## `since` (type: `string`):

Incremental mode. Provide an ISO-8601 timestamp (e.g. 2026-01-01T00:00:00Z) and the actor will skip detail fetches for companies whose most recent shipment is older than this date. Leave empty to scrape everything matching the query.

## `concurrency` (type: `integer`):

Maximum number of parallel HTTP requests to ImportYeti. Higher = faster but more likely to trigger rate limits. Defaults to 5; cap is 25.

## Actor input object example

```json
{
  "query": "apple",
  "entityType": "",
  "startUrls": [],
  "maxItems": 50,
  "concurrency": 5
}
```

# Actor output Schema

## `records` (type: `string`):

All importer & supplier records as a JSON array.

## `recordsCsv` (type: `string`):

Same data as a CSV spreadsheet — nested fields flattened.

## `recordsXlsx` (type: `string`):

Same data as an .xlsx workbook.

## `consoleView` (type: `string`):

Browse, filter, and re-export the dataset interactively in the Apify Console.

# 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 = {
    "query": "apple",
    "startUrls": [],
    "since": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("alwaysprimedev/importyeti-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 = {
    "query": "apple",
    "startUrls": [],
    "since": "",
}

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

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

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

```

## CLI example

```bash
echo '{
  "query": "apple",
  "startUrls": [],
  "since": ""
}' |
apify call alwaysprimedev/importyeti-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=alwaysprimedev/importyeti-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "ImportYeti Scraper - US Customs Importer & Supplier Data",
        "description": "Pull structured US sea-shipment, importer, and supplier records from ImportYeti.com. Returns company addresses, country-of-origin breakdowns, top HS codes, monthly shipment history, trademarks, and tags.",
        "version": "0.1",
        "x-build-id": "4cfSNp7AWRVzkKdsw"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/alwaysprimedev~importyeti-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-alwaysprimedev-importyeti-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/alwaysprimedev~importyeti-scraper/runs": {
            "post": {
                "operationId": "runs-sync-alwaysprimedev-importyeti-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/alwaysprimedev~importyeti-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-alwaysprimedev-importyeti-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "query": {
                        "title": "Search query",
                        "type": "string",
                        "description": "Free-text search term used to find companies or suppliers on ImportYeti (e.g. a brand name, importer name, product, or HS-code keyword). Leave empty if you supply Start URLs directly."
                    },
                    "entityType": {
                        "title": "Entity type",
                        "enum": [
                            "",
                            "company",
                            "supplier"
                        ],
                        "type": "string",
                        "description": "Restrict search results to either US importers (companies) or foreign manufacturers (suppliers). Leave empty to return both.",
                        "default": ""
                    },
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Optional list of importyeti.com URLs to scrape directly. Accepts /company/<slug> or /supplier/<slug>. Use this for incremental runs over a known list of companies you already care about.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxItems": {
                        "title": "Maximum results",
                        "minimum": 0,
                        "maximum": 100000,
                        "type": "integer",
                        "description": "Hard cap on the number of company/supplier records pushed to the dataset. Set 0 for unlimited (the run will stop when search results run out).",
                        "default": 50
                    },
                    "since": {
                        "title": "Only include records updated after",
                        "type": "string",
                        "description": "Incremental mode. Provide an ISO-8601 timestamp (e.g. 2026-01-01T00:00:00Z) and the actor will skip detail fetches for companies whose most recent shipment is older than this date. Leave empty to scrape everything matching the query."
                    },
                    "concurrency": {
                        "title": "Concurrency",
                        "minimum": 1,
                        "maximum": 25,
                        "type": "integer",
                        "description": "Maximum number of parallel HTTP requests to ImportYeti. Higher = faster but more likely to trigger rate limits. Defaults to 5; cap is 25.",
                        "default": 5
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
