# US Trade Data Scraper - Comtrade & Census Aggregates — workflow

## Choose this tool

For trade researchers, collect commodity and country aggregates from public statistical sources without treating them as shipment records.

Useful output columns: `recordType`, `commodityCode`, `partner`, `period`, `value`, `source`.

## Practical workflow

1. Use the existing Comtrade defaults and keep the maximum saved-row cap small. Add Census only after supplying its required key.
2. Review aggregate rows in the run's dataset and read `SUMMARY` for source status, completeness and stop reasons.

**Read the results correctly:** These rows do not identify individual shipments, importers or consignees. With soft-fail enabled, a successful run can still contain no collected data.

## Check the fit

- Individual bills of lading, consignee lists, or vessel manifests
- ImportYeti / Panjiva / commercial BOL HTML scrapes

## Real output sample

One selected row from a 2026-10-13 run. One saved row, selected scalar columns only. Contact details, patient demographics and long text are omitted. Original values and nulls are preserved.

Run: Ug91d9JUalmAlCF2c. Summary status: ok. Incomplete: false.

Historical output from this run; the current example input is a separate starting configuration and may produce different records.

```json
{
  "recordType": "trade_aggregate",
  "commodityCode": "TOTAL",
  "partner": "0",
  "period": "2025",
  "value": 3504272131456,
  "source": "comtrade",
  "note": "UN Comtrade public preview aggregate - not a bill of lading. Keyless; no BOL.",
  "reporter": "842",
  "flow": "M",
  "sourceUrl": "https://comtradeapi.un.org/public/v1/preview/C/A/HS",
  "scrapedAt": "2026-10-13T03:48:11.605Z",
  "unit": null
}
```

## Combine with companion tools

Each Actor runs separately with its own inputs, authorization and pricing. These instructions do not configure automatic execution.

### [UN Press Release Monitor - Official Updates and Changes](https://mayd-it.com/data-tools/actors/un-press-release-monitor/)

Monitor official UN press-release listings with document codes, dates, source links and bounded publisher excerpts. Filter literal topics and compare saved releases. No API key. Keep this UN Press Release Monitor evidence alongside the original source in a reviewed policy and trade review workflow.

1. Choose the corresponding source target in this second Actor’s own input form; no automatic field transfer is configured.
2. Keep both original source URLs and observation dates in your review sheet; reconcile identities manually.

Notices, sanctions actions and trade statistics cover different scopes and effective dates. Keep jurisdictions and source identifiers separate; this is research evidence, not legal or compliance advice.

### [FMCSA Carriers Scraper - USDOT, Legal Name, Fleet & Status](https://mayd-it.com/data-tools/actors/fmcsa-carriers-scraper/)

Search US motor carriers from the FMCSA MCMIS census open dataset (data.transportation.gov). Filter by name, USDOT, state or status. No API key. Keep this FMCSA Carriers Scraper evidence alongside the original source in a reviewed policy and trade review workflow.

1. Choose the corresponding source target in this second Actor’s own input form; no automatic field transfer is configured.
2. Keep both original source URLs and observation dates in your review sheet; reconcile identities manually.

Notices, sanctions actions and trade statistics cover different scopes and effective dates. Keep jurisdictions and source identifiers separate; this is research evidence, not legal or compliance advice.
