# Importyeti Scraper (`mrdoe/importyeti-scraper`) Actor

Returns a company's or supplier's US import shipment history and trade-partner table from ImportYeti — who they ship with, how often, and what.

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

## Pricing

Pay per event

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

### What it does

ImportYeti Supplier Scraper reads ImportYeti's US import trade records for any company, supplier, or product keyword - or a direct link to a specific profile - and returns its shipment history plus a table of its trade partners: who it ships with, how many shipments, which product categories, and which HS codes. No account needed.

### Why use it

- **Sourcing and competitive intelligence in one run** - see who a company imports from (or who a supplier ships to), how active that relationship is, and what's being shipped.
- **No login required** - reads only what's already public on ImportYeti's own profile pages.
- **Good fit for monitoring** - run it on a schedule for the companies or suppliers you track to catch new trade relationships as they appear.

### How to use

1. Open the Actor and go to the **Input** tab.
2. Add one or more **Search queries** - a company name, supplier name, or product keyword, e.g. `"sofa"` or `"Walmart"`. Each matching profile found is then visited for full trade data.
3. Alternatively (or in addition), add direct **Start URLs** to specific profiles, e.g. `https://www.importyeti.com/company/sofa-mart`.
4. Set **Max profiles per search query** and **Max trade partners per profile** if you want more or fewer than the defaults.
5. Click **Start**.
6. Open the **Output** tab, then download the dataset or connect it to your tools.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `searchQueries` | array | No | - | Keywords to search ImportYeti for, e.g. `"sofa"`. Each matching profile is visited for full details. |
| `startUrls` | array | No | - | Direct ImportYeti company/supplier profile URLs to scrape. |
| `maxItemsPerQuery` | integer | No | `10` | Maximum number of profiles to look up per search query. |
| `maxRelationshipsPerProfile` | integer | No | `20` | Maximum number of trade-partner rows to include per profile. |
| `proxyConfiguration` | object | No | Residential Apify Proxy | Proxy to use for the scrape. A residential proxy is required. |

At least one of `searchQueries` or `startUrls` must be provided.

### Output Data

One dataset row per company/supplier profile. A real row from a live run:

```json
{
    "name": "Sofa Mart",
    "type": "company",
    "url": "https://www.importyeti.com/company/sofa-mart",
    "address": "5671 Broadway St, Denver, Co 80216, Us",
    "totalShipments": 3984,
    "mostRecentShipment": "08/22/2020",
    "relationshipCount": 20,
    "relationships": [
        {
            "partnerName": "Jason Furniture Hangzhou",
            "partnerUrl": "https://www.importyeti.com/supplier/jason-furniture-hangzhou",
            "partnerCountryCode": "CN",
            "shipments": 738,
            "categories": ["Furnitures", "Toys", "Other"],
            "hsCodes": ["9401.61", "9403.60", "8001.90", "4011.10"]
        }
    ],
    "searchQuery": "sofa"
}
```

#### Field reference

| Field | Type | Description |
|---|---|---|
| `name` / `url` | string | The profile's name and its own ImportYeti page. |
| `type` | string | `"company"` (an importer) or `"supplier"` (an exporter/manufacturer). |
| `address` | string | The address ImportYeti has on file for this profile. |
| `totalShipments` | number | Total shipments on record for this profile, across all trade partners. |
| `mostRecentShipment` | string | Date of the most recent shipment on record. |
| `relationshipCount` | integer | How many rows are in `relationships` below. |
| `relationships` | array | Each trade partner's name, URL, country, shipment count, product categories, and HS codes. |
| `searchQuery` | string | Which of your input search queries produced this row. `null` for Start URLs. |

### Exporting to CSV / Excel

Open the dataset in the Console's Storage tab and use **Export** to download as CSV, Excel, JSON, XML, or RSS - or fetch a specific format directly via the Dataset API (`?format=csv`, `?format=xlsx`, etc.).

### Limitations

- **Top trade partners only.** `relationships` is capped at `maxRelationshipsPerProfile` - very active profiles have more trade partners than ImportYeti's own page shows at once.
- **US import records.** ImportYeti's data is built from US customs shipping records, so coverage is strongest for trade that passes through US ports.

### FAQ

**Do I need an ImportYeti account?** No - this reads ImportYeti's own public profile pages.

**Can I search multiple keywords in one run?** Yes - add as many entries to `searchQueries` as you want; each gets its own search and its own batch of profiles.

**Does this submit anything to ImportYeti?** No. This Actor only collects publicly visible trade data.

# Actor input Schema

## `searchQueries` (type: `array`):

Company names, supplier names, or product keywords to search ImportYeti for, e.g. "sofa" or "Walmart". Each matching profile found is then visited for full trade data.

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

ImportYeti company or supplier profile URLs to scrape directly, e.g. "https://www.importyeti.com/company/sofa-mart". Leave empty if you're providing Search queries instead.

## `maxItemsPerQuery` (type: `integer`):

Maximum number of company/supplier profiles to look up per search query. Has no effect on Start URLs, which always return exactly one row each.

## `maxRelationshipsPerProfile` (type: `integer`):

Maximum number of trade-partner rows (a company's suppliers, or a supplier's customer companies) to include per profile.

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

Proxy settings. A residential proxy is required - ImportYeti blocks Apify's own cloud IPs outright.

## Actor input object example

```json
{
  "searchQueries": [
    "sofa"
  ],
  "startUrls": [],
  "maxItemsPerQuery": 10,
  "maxRelationshipsPerProfile": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "searchQueries": [
        "sofa"
    ],
    "startUrls": []
};

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

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/importyeti-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 '{
  "searchQueries": [
    "sofa"
  ],
  "startUrls": []
}' |
apify call mrdoe/importyeti-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/importyeti-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/WgoH6ZPw4hCvj4jRU/builds/kjaNSO2zTBkIeFrAG/openapi.json
