# Zauba Scraper (`parseforge/zauba-scraper`) Actor

Extract Indian import and export trade data from Zauba.com. Get shipment dates, HS codes, product details, countries, ports, quantities, and USD values. Includes market summary with total trade value, top countries, and peak months. Smart pagination collects hundreds of unique records.

- **URL**: https://apify.com/parseforge/zauba-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Automation, Developer tools, Other
- **Stats:** 46 total users, 11 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

![ParseForge Banner](https://github.com/ParseForge/apify-assets/blob/ad35ccc13ddd068b9d6cba33f323962e39aed5b2/banner.jpg?raw=true)

## 📊 Zauba Import/Export Trade Data Scraper

> 🚀 **Pull Indian import and export shipment records from Zauba.com in minutes.** HS codes, product descriptions, trading partners, ports, quantities, USD values. No API key, no manual CSV wrangling.

> 🕒 **Last updated:** 2026-05-08 · **📊 14 fields** per record · **🔍 Import or export filter** · **🚫 No auth** required

Pull live Indian customs shipment records from Zauba.com, the largest public source of Indian import and export trade data. The actor walks the Zauba listings for any product keyword, paginates through results, and returns one structured row per shipment ready for supply chain research, competitor monitoring, sourcing analysis, or trade compliance work.

Every run fetches data live from Zauba so you get the current state of the source, not a stale snapshot. The actor handles Cloudflare automatically and supports both import and export views with the same input shape, so you can swap modes without changing your pipeline.

| 👥 Built for | 🎯 Primary use cases |
|---|---|
| Supply chain analysts | Track competitor shipment volumes and ports |
| Sourcing teams | Identify suppliers and unit costs by HS code |
| Customs and compliance | Monitor product flows across HS classifications |
| Trade finance and lenders | Verify trade activity for diligence |
| Market researchers | Map Indian trade by country, port, and product |
| Journalists and investigators | Trace shipments behind specific brands or sectors |

---

### 📋 What the Zauba Scraper does

- 📅 **Shipment date.** When the customs filing was recorded so you can track timing and seasonality.
- 🏷️ **HS code and description.** Harmonized tariff code with the human-readable description.
- 📝 **Product description.** The line-level item description as filed at customs.
- 🌍 **Trading partner.** Country involved in the shipment.
- ⛴️ **Port.** Indian port of entry for imports or exit for exports.
- 📦 **Quantity, unit, and value.** Quantity with unit, total USD value, and a derived price per unit.

The scraper accepts a free-text product keyword and a trade type (import or export). It builds the matching Zauba URL, walks the result pages, and pushes one record per shipment to the dataset. You can also pass a startUrl to scrape a specific filter page directly.

> 💡 **Why it matters:** Zauba is the cleanest public source of Indian customs shipment records, but its UI is paginated and rate-limited. A live, structured pull beats manual scraping for trade intelligence, supplier discovery, and competitive cost analysis.

---

### 🎬 Full Demo

🚧 Coming soon: a 3-minute walkthrough showing setup, a live run, and how to pipe results into Google Sheets via Apify integrations.

---

### ⚙️ Input

| Field | Type | Name | Description |
|---|---|---|---|
| product | string | Product / Keyword | Product keyword to search (e.g. laptop, cotton, steel). Builds the URL path. |
| tradeType | enum | Trade Type | import or export. |
| startUrl | string | Start URL | Optional. Direct Zauba URL (e.g. `https://www.zauba.com/import-laptop/p-1-hs-code.html`). When provided, product and tradeType are ignored. |
| maxItems | integer | Max Items | Free users: limited to 10 items (preview). Paid users: optional, max 1,000,000. |

Example 1. Indian imports of laptops, first 50 records.

```json
{
  "product": "laptop",
  "tradeType": "import",
  "maxItems": 50
}
````

Example 2. Indian exports of cotton, scraped from a specific filter page.

```json
{
  "startUrl": "https://www.zauba.com/export-cotton/p-1-hs-code.html",
  "maxItems": 100
}
```

> ⚠️ **Good to Know:** when startUrl is set, every other filter is ignored. Use it for ad-hoc scrapes from a specific Zauba filter page.

***

### 📊 Output

The dataset returns one structured record per shipment. Each record carries the customs date, HS code, product description, trading partner, port, quantity, USD value, and a back-reference URL. Consume the dataset as JSON, CSV, Excel, XML, or RSS via the Apify console or API.

#### 🧾 Schema

| Field | Type | Example |
|---|---|---|
| 📅 date | string | `12-Mar-2026` |
| 🏷️ hsCode | string | `84713010` |
| 📝 hsCodeDescription | string | `PORTABLE AUTOMATIC DATA PROCESSING MACHINE` |
| 🧾 productDescription | string | `LENOVO LAPTOP MODEL 20XX 8GB 256GB` |
| 🌍 country | string | China |
| ⛴️ port | string | `Bombay Air Cargo` |
| 📐 unit | string | NOS |
| 📦 quantity | number | `120` |
| 💰 totalValueUsd | number | `48000.5` |
| 💵 pricePerUnitUsd | number | `400.0` |
| 🔁 tradeType | string | import |
| 🔗 url | string (url) | `https://www.zauba.com/import-laptop/p-1-hs-code.html` |
| 📅 scrapedAt | ISO date | `2026-05-08T12:00:00.000Z` |
| ❗ error | string or null | null |

#### 📦 Sample records

##### 1. Typical record (import shipment, full fields)

```json
{
  "date": "12-Mar-2026",
  "hsCode": "84713010",
  "hsCodeDescription": "PORTABLE AUTOMATIC DATA PROCESSING MACHINE",
  "productDescription": "LENOVO THINKPAD T14 i7 16GB 512GB SSD",
  "country": "China",
  "port": "Bombay Air Cargo",
  "unit": "NOS",
  "quantity": 120,
  "totalValueUsd": 96000,
  "pricePerUnitUsd": 800,
  "tradeType": "import",
  "url": "https://www.zauba.com/import-laptop/p-1-hs-code.html",
  "scrapedAt": "2026-05-08T12:00:00.000Z"
}
```

##### 2. Export shipment

```json
{
  "date": "08-Mar-2026",
  "hsCode": "52010010",
  "hsCodeDescription": "RAW COTTON",
  "productDescription": "INDIAN RAW COTTON BALES (S-6) MIC 3.8",
  "country": "Bangladesh",
  "port": "Mundra",
  "unit": "MTS",
  "quantity": 250,
  "totalValueUsd": 412500,
  "pricePerUnitUsd": 1650,
  "tradeType": "export",
  "url": "https://www.zauba.com/export-cotton/p-1-hs-code.html",
  "scrapedAt": "2026-05-08T12:00:00.000Z"
}
```

##### 3. Sparse record (some fields missing on source)

```json
{
  "date": "01-Mar-2026",
  "hsCode": "72142090",
  "hsCodeDescription": "BARS AND RODS, IRON OR NON-ALLOY STEEL",
  "productDescription": "TMT BARS",
  "country": "Nepal",
  "port": "Raxaul",
  "unit": "MTS",
  "quantity": null,
  "totalValueUsd": null,
  "pricePerUnitUsd": null,
  "tradeType": "export",
  "url": "https://www.zauba.com/export-steel/p-1-hs-code.html",
  "scrapedAt": "2026-05-08T12:00:00.000Z"
}
```

***

### ✨ Why choose this Actor

| | Capability |
|---|---|
| 🎯 | **Built for the job.** Scoped specifically to Zauba's import and export pages so you skip the parser engineering entirely. |
| 🔖 | **Structured output.** Clean, typed fields ready for analysis, dashboards, or downstream pipelines. |
| ⚡ | **Fast.** Optimized request patterns return results in seconds, not minutes. |
| 🔁 | **Always fresh.** Every run pulls live data, so the dataset reflects the source as of run time. |
| 🌐 | **No infra to manage.** Apify handles proxies, retries, scaling, scheduling, and storage. |
| 🛡️ | **Reliable.** Battle-tested across many runs and edge cases, with graceful error handling. |
| 🚫 | **No code required.** Configure in the UI, run from CLI, schedule via cron, or call from any language with the Apify SDK. |

> 📊 Production-grade structured trade data without the engineering overhead of building and maintaining your own scraper.

***

### 📈 How it compares to alternatives

| Approach | Cost | Coverage | Refresh | Filters | Setup |
|---|---|---|---|---|---|
| **⭐ Zauba Scraper** *(this Actor)* | $5 free credit, then pay-per-use | Full Zauba catalog | **Live per run** | Product keyword, trade type, direct URL | ⚡ 2 min |
| Build your own scraper | Engineering hours | Full once built | Whenever you maintain it | Custom code | 🐢 Days to weeks |
| Paid trade data APIs | $$$ monthly | Vendor-defined | Live | Vendor-defined | ⏳ Hours |
| Legacy customs dumps | Varies | Subset, often stale | Periodic | None | 🕒 Variable |

Pick this Actor when you want broad coverage, source-native filtering, and no pipeline maintenance.

***

### 🚀 How to use

1. 📝 **Sign up.** [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=vmoqkp) (takes 2 minutes).
2. 🌐 **Open the Actor.** Go to the Zauba Scraper page on the Apify Store.
3. 🎯 **Set input.** Set a product keyword and pick import or export (or paste a startUrl), then set maxItems.
4. 🚀 **Run it.** Click **Start** and let the Actor collect your data.
5. 📥 **Download.** Grab your results in the **Dataset** tab as CSV, Excel, JSON, or XML.

> ⏱️ Total time from signup to downloaded dataset: **3-5 minutes.** No coding required.

***

### 💼 Business use cases

<table>
<tr>
<td width="50%" valign="top">

#### 📊 Supply chain and sourcing

- Identify alternative suppliers by country and HS code
- Benchmark unit costs across vendors and ports
- Spot supply disruptions and seasonal patterns
- Build vendor scorecards from shipment volume data

</td>
<td width="50%" valign="top">

#### 🏢 Competitive intelligence

- Monitor competitor import and export volumes
- Track product launches via shipment timing
- Build market share estimates from customs flows
- Detect new market entries and exits

</td>
</tr>
<tr>
<td width="50%" valign="top">

#### 🎯 Sales and marketing

- Identify importers and exporters as outbound leads
- Build trade-flow heatmaps for territory planning
- Surface country-specific demand signals
- Power lead scoring with shipment activity

</td>
<td width="50%" valign="top">

#### 🛠️ Engineering and product

- Prototype trade-data features without owning a crawler
- Replace fragile in-house Zauba scrapers
- Wire datasets into your apps via the Apify API or webhooks
- Skip the proxy, retry, and parsing maintenance entirely

</td>
</tr>
</table>

***

### 🌟 Beyond business use cases

Data like this powers more than commercial workflows. The same structured records support research, education, civic projects, and personal initiatives.

<table>
<tr>
<td width="50%">

#### 🎓 Research and academia

- Empirical datasets for papers, thesis work, and coursework
- Longitudinal studies tracking changes across snapshots
- Reproducible research with cited, versioned data pulls
- Classroom exercises on data analysis and ethical scraping

</td>
<td width="50%">

#### 🎨 Personal and creative

- Side projects, portfolio demos, and indie app launches
- Data visualizations, dashboards, and infographics
- Content research for bloggers, YouTubers, and podcasters
- Hobbyist collections and personal trackers

</td>
</tr>
<tr>
<td width="50%">

#### 🤝 Non-profit and civic

- Transparency reporting and accountability projects
- Advocacy campaigns backed by public-interest data
- Community-run databases for local issues
- Investigative journalism on public records

</td>
<td width="50%">

#### 🧪 Experimentation

- Prototype AI and machine-learning pipelines with real data
- Validate product-market hypotheses before engineering spend
- Train small domain-specific models on niche corpora
- Test dashboard concepts with live input

</td>
</tr>
</table>

***

### 🔌 Automating Zauba Scraper

This Actor exposes a REST endpoint, so you can drive it from any language or workflow tool.

- **Node.js** - call it via the [Apify JS SDK](https://docs.apify.com/sdk/js).
- **Python** - call it via the [Apify Python SDK](https://docs.apify.com/sdk/python).
- **REST** - hit it directly through the [Apify v2 API](https://docs.apify.com/api/v2).

**Schedules.** Use Apify Scheduler to run hourly, daily, or weekly snapshots. Combine with the Apify dataset diff tools to track new shipments between runs.

***

### ❓ Frequently Asked Questions

<details>
<summary><b>💳 Do I need a paid Apify plan to run this actor?</b></summary>

No. You can start right now on the free Apify plan, which includes **$5 in monthly credit**. That is enough to run the scraper several times and explore the output. Paid plans unlock higher item caps, more concurrent runs, and larger datasets. [Create a free Apify account here](https://console.apify.com/sign-up?fpr=vmoqkp).

</details>

<details>
<summary><b>🚨 What happens if my run fails or returns no results?</b></summary>

Failed runs are not charged. If the source site changes, proxies get rate-limited, or your filters match nothing, re-run the actor or open our [contact form](https://tally.so/r/BzdKgA) and we will look into it. The run log in the Apify console explains why a run stopped.

</details>

<details>
<summary><b>📏 How many items can I scrape per run?</b></summary>

Free users are limited to **10 items per run** so you can preview the output and confirm the actor works for your use case. Paid users can raise maxItems up to **1,000,000** per run. [Upgrade here](https://console.apify.com/sign-up?fpr=vmoqkp) if you need full scale.

</details>

<details>
<summary><b>🕒 How fresh is the data?</b></summary>

Every run fetches live data at the moment of execution. There is no cache or delay: records reflect what Zauba returned at run time. Schedule the actor to maintain a rolling snapshot.

</details>

<details>
<summary><b>🧑‍💻 Can I call this actor from my own code?</b></summary>

Yes. Apify exposes every actor as a REST endpoint and ships first-class SDKs for [Node.js](https://docs.apify.com/sdk/js) and [Python](https://docs.apify.com/sdk/python). You can start a run, read the dataset, and handle webhooks from your own app in a few lines.

</details>

<details>
<summary><b>📤 How do I export the data?</b></summary>

Every Apify dataset can be downloaded in one click as CSV, JSON, JSONL, Excel, HTML, XML, or RSS. You can also pull results programmatically via the [Apify API](https://docs.apify.com/api/v2) or stream into BigQuery, S3, and other destinations through built-in integrations.

</details>

<details>
<summary><b>📅 Can I schedule the actor to run automatically?</b></summary>

Yes. Use the Apify scheduler to run the actor on any cadence, from hourly to monthly. Results are saved to your dataset and can be delivered to webhooks, email, Slack, cloud storage, or automation tools such as Zapier and Make.

</details>

<details>
<summary><b>🏪 Can I use the data commercially?</b></summary>

Yes. The scraped data is yours to use in your own internal pipelines, products, and reports, subject to the terms of service of the source site. The Apify dataset itself has no extra licensing on top.

</details>

<details>
<summary><b>💼 Which plan should I pick for production use?</b></summary>

Apify's Starter and Scale plans are designed for production workloads. They give you faster instances, more concurrent runs, and higher proxy quotas. Pick the plan that matches your dataset size and refresh cadence; the in-app pricing calculator will help you size it.

</details>

<details>
<summary><b>🛠️ The data I need is not in the output. Can you add it?</b></summary>

Most likely yes. Open the [contact form](https://tally.so/r/BzdKgA) and tell us which field you need. We add fields all the time when there is a clear use case and the source page exposes the data.

</details>

<details>
<summary><b>⚖️ Is scraping Zauba legal?</b></summary>

This Actor only collects data from publicly accessible Zauba pages, the same content any visitor can read. Public web scraping is generally legal in most jurisdictions for non-personal data, but laws vary by country and use case. You are responsible for compliance with the source site's Terms of Service and applicable law.

***

</details>

### 🔌 Integrate with any app

Zauba Scraper connects to any cloud service via [Apify integrations](https://apify.com/integrations):

- [**Make**](https://docs.apify.com/platform/integrations/make) - Automate multi-step workflows
- [**Zapier**](https://docs.apify.com/platform/integrations/zapier) - Connect with 5,000+ apps
- [**Slack**](https://docs.apify.com/platform/integrations/slack) - Get run notifications in your channels
- [**Airbyte**](https://docs.apify.com/platform/integrations/airbyte) - Pipe results into your warehouse
- [**GitHub**](https://docs.apify.com/platform/integrations/github) - Trigger runs from commits and releases
- [**Google Drive**](https://docs.apify.com/platform/integrations/drive) - Export datasets straight to Sheets

You can also use webhooks to trigger downstream actions when a run finishes. Push fresh data into your product backend or alert your team in Slack.

***

### 🔗 Recommended Actors

- [**🏢 Importyeti Scraper**](https://apify.com/parseforge/importyeti-scraper) - U.S. import shipment records with shipper / consignee detail
- [**🏭 IndiaMART Scraper**](https://apify.com/parseforge/indiamart-scraper) - Indian B2B supplier listings with contact info
- [**🚛 FMCSA SAFER Scraper**](https://apify.com/parseforge/fmcsa-safer-scraper) - U.S. motor carrier safety records
- [**📜 SEC EDGAR Full-Text Search Scraper**](https://apify.com/parseforge/sec-edgar-full-text-search-scraper) - U.S. SEC filings full-text search
- [**🔎 Google Search Scraper**](https://apify.com/parseforge/google-search-scraper) - SERP harvesting with country and language targeting

> 💡 **Pro Tip:** browse the complete [ParseForge collection](https://apify.com/parseforge) for more reference-data scrapers.

***

**🆘 Need Help?** [**Open our contact form**](https://tally.so/r/BzdKgA) to request a new scraper, propose a custom project, or report an issue.

***

> ⚠️ **Disclaimer.** This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Zauba.com or any of its subsidiaries. All trademarks mentioned are the property of their respective owners. The scraper accesses only publicly available pages and is intended for legitimate research, analytics, and lead-generation use. Users are responsible for compliance with the source site's Terms of Service and applicable law.

# Actor input Schema

## `product` (type: `string`):

Product keyword to search for (e.g., 'laptop', 'cotton', 'steel'). Used to build the URL path.

## `tradeType` (type: `string`):

Whether to scrape import or export records.

## `startUrl` (type: `string`):

Direct URL to scrape (e.g., https://www.zauba.com/import-laptop/p-1-hs-code.html). If provided, 'Product' and 'Trade Type' are ignored.

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

Free users: Limited to 100. Paid users: Optional, max 1,000,000

## Actor input object example

```json
{
  "product": "laptop",
  "tradeType": "import",
  "maxItems": 10
}
```

# Actor output Schema

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

Dataset with all scraped items

# 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 = {
    "product": "laptop",
    "tradeType": "import",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/zauba-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 = {
    "product": "laptop",
    "tradeType": "import",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/zauba-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 '{
  "product": "laptop",
  "tradeType": "import",
  "maxItems": 10
}' |
apify call parseforge/zauba-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Zauba Scraper",
        "description": "Extract Indian import and export trade data from Zauba.com. Get shipment dates, HS codes, product details, countries, ports, quantities, and USD values. Includes market summary with total trade value, top countries, and peak months. Smart pagination collects hundreds of unique records.",
        "version": "0.0",
        "x-build-id": "vF8uXWfzUFpg5emfT"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/parseforge~zauba-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-parseforge-zauba-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/parseforge~zauba-scraper/runs": {
            "post": {
                "operationId": "runs-sync-parseforge-zauba-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/parseforge~zauba-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-parseforge-zauba-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": {
                    "product": {
                        "title": "Product / Keyword",
                        "type": "string",
                        "description": "Product keyword to search for (e.g., 'laptop', 'cotton', 'steel'). Used to build the URL path."
                    },
                    "tradeType": {
                        "title": "Trade Type",
                        "enum": [
                            "import",
                            "export"
                        ],
                        "type": "string",
                        "description": "Whether to scrape import or export records."
                    },
                    "startUrl": {
                        "title": "Start URL (optional)",
                        "type": "string",
                        "description": "Direct URL to scrape (e.g., https://www.zauba.com/import-laptop/p-1-hs-code.html). If provided, 'Product' and 'Trade Type' are ignored."
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 1,
                        "maximum": 1000000,
                        "type": "integer",
                        "description": "Free users: Limited to 100. Paid users: Optional, max 1,000,000"
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
