Overview

A configurable marketplace data-collection workflow designed around product metadata and structured JSON output.

The challenge

Marketplace product information is split across shops, regions, and changing interfaces. Building a repeatable research pipeline requires request configuration, region selection, product-level normalization, and resilient handling of upstream API differences.

What I built

I developed a Python collection workflow targeting product discovery and product metadata for the US and German TikTok Shop markets. The project included configurable keywords, region settings, proxy-backed requests, deliberate request pacing, and a JSON output structure suitable for downstream analysis. Source discovery and API compatibility were active engineering challenges in the recorded work.

My role

Python collector development, marketplace API exploration, request configuration, data schema design, structured export.

Key capabilities

  • Configurable target markets, including Germany and the United States.
  • Keyword-driven collection configuration for categories such as fashion, beauty, technology, and electronics.
  • Proxy-aware HTTP request handling with configurable request headers and randomized pacing.
  • Product-oriented schema including product ID, name, description, price, sold count, and shop ID.
  • Structured JSON export workflow targeting output/all_products.json.
  • Exploratory shop-discovery and API behavior analysis to adapt the collector to marketplace interfaces.

Engineering approach

Request configuration

Country, keyword, header, and proxy settings are externalized from the collection routines to make experiments repeatable.

Discovery & collection

Shop discovery and product retrieval were organized as separate concerns so endpoint failures could be isolated and investigated.

Normalization

Product records are mapped to a consistent set of commerce fields, making raw data easier to store and compare.

Export

JSON output supports further research or analytics without coupling the collector to a specific dashboard.

Architecture

Conceptual workflow diagram for TikTok Shop Data Collection & Analytics Pipeline
Figure 1. Conceptual workflow diagram — illustrative artwork, not a screenshot or source-code diagram.

Documented configuration

  • DE and US target regions
  • Configurable keywords
  • Randomized 1.5–3 second request delays
  • Raw JSON-oriented output

Outcome

Implemented marketplace collection components and an analysis-oriented data model. The source integrations were subject to endpoint compatibility limitations; no production-scale collection, guaranteed coverage, or verified end-to-end extraction throughput is claimed.