Start Your Project with Us

Whatever your project size is, we will handle it well with all the standards fulfilled! We are here to give 100% satisfaction.

  • Any feature, you ask, we develop
  • 24x7 support worldwide
  • Real-time performance dashboard
  • Complete transparency
  • Dedicated account manager
  • Customized solutions to fulfill data scraping goals
Careers

For job seekers, please visit our Career Page or send your resume to hr@actowizsolutions.com

Real-Time Regional Insights with Customizable E-commerce Dashboards

Overview

In the highly regulated and rapidly evolving pharmaceutical industry, access to timely, accurate product and pricing data is critical for B2B suppliers and buyers. Actowiz Solutions partnered with a leading pharmaceutical distributor to automate daily web scraping of Leaf Trade—a specialized B2B e-commerce platform for licensed cannabis and pharmaceutical product trading. The solution delivered real-time insights, optimized procurement workflows, and enabled dynamic price benchmarking.

Client Background

The client operates a multi-state pharmaceutical distribution network, managing licensed cannabis and wellness product inventory across 10+ states in the U.S. They needed to continuously monitor partner vendors on Leaf Trade to:

  • Track new product listings and batch-level changes
  • Monitor price fluctuations daily
  • Validate invoice numbers, SKUs, and order status
  • Improve inventory purchasing decisions with clean, real-time data

The client lacked an in-house scraping mechanism and needed a reliable partner to build, maintain, and scale daily extraction across hundreds of product listings.

Challenges

The-Client
1. Dynamic Frontend & JavaScript Rendering

Leaf Trade uses React-based dynamic content loading, complicating conventional scraping.

2. Daily Frequency

Required high-frequency scraping (daily or on-demand) with 100% accuracy for compliance and forecasting.

3. Structured Output & Field Mapping

The client needed very specific fields, including Batch Numbers and Order Status, to be parsed and normalized.

4. Data Correlation Across Pages

Some information was split across product, order, and invoice pages, requiring intelligent data stitching.

Actowiz Solutions – Approach & Strategy

The-Client

Actowiz Solutions deployed a tailored pharmaceutical e-commerce data scraping solution with a focus on:

  • High-frequency crawlers with time-based triggers (6 AM CST daily)
  • JavaScript-rendering engines using headless browsers (Playwright)
  • Auto-scaling proxy rotation with session management to mimic real user behavior
  • Data validation logic and duplication control
  • Cloud-based delivery pipeline with API or downloadable CSV

Key Scraped Data Fields

Field Example Value
Product Name "CBD Pain Relief Gel - 250mg"
Product Batch Number "BTCH0925AZ-21"
Product Category "Topicals > Pain Relief"
Product Invoice Number "INV-78245"
Order Status "Fulfilled"
Quantity/Units "120 units"
Pricing "$19.99 per unit"

Architecture Overview

1. Scraper Setup
  • Built using Python, Playwright, and Node.js for dynamic rendering
  • Triggered via AWS Lambda at user-defined schedules (daily, weekly, etc.)
  • Session rotation and cookie handling with smart delay patterns
2. Data Stitching Engine
  • Merges information from product pages and order summaries
  • Detects and links invoices with order metadata and pricing SKUs
  • Batch normalization applied for sorting and version tracking
3. Output & Integration
  • JSON or CSV structured delivery to Google Cloud, AWS S3, or FTP
  • Optional integration with the client’s Tableau dashboard and ERP

Sample Output (JSON Snippet)

The-Client

Results Achieved

Metric Before Automation After Actowiz Solution
Data Update Frequency Weekly (manual) Daily (automated)
Product Coverage ~150 SKUs 600+ SKUs
Batch Accuracy ~70% 99.1%
Order Validation Time 2–3 days < 6 hours
Procurement Cycle Improvement 22% faster

Client Testimonial

“With Actowiz Solutions, we eliminated blind spots in vendor pricing and inventory updates. Their scraping setup was robust, compliant, and fast.”

— Head of Procurement, U.S.-based Pharmaceutical Distributor

Compliance & Legal Considerations

  • Leaf Trade is a B2B platform restricted to licensed participants.
  • The scraper authenticated via client-provided credentials with permission for data extraction under the platform’s partner agreement.
  • All extracted data was stored securely, encrypted at rest and in transit.

Business Impact

✅ Improved Vendor Transparency

The client could now compare pricing across vendors and batches daily, optimizing procurement margins.

✅ Faster Reordering Decisions

By knowing when inventory dropped below thresholds, reordering was initiated instantly using scraped order statuses.

✅ Enhanced Analytics

Actowiz fed data into the client's BI tools, allowing dynamic dashboards on:

  • Batch availability trends
  • Category-wise product entry rate
  • Pricing volatility analysis
✅ Reduced Manual Effort

Saved over 80 hours per month of manual data collection, allowing analysts to focus on insights instead of data wrangling.

Scalability & Expansion

Actowiz is now working with the client to expand similar scraping into:

  • LeafLink (another cannabis B2B platform)
  • Weedmaps Wholesale
  • State Registry Portals for batch verification

Custom modules are being added to track expiration dates, lab test results, and potency per unit.

Conclusion

This case study highlights how Actowiz Solutions enabled a pharmaceutical distributor to automate data collection on Leaf Trade—a critical B2B marketplace. With daily data extraction, structured delivery, and seamless integration into their internal analytics tools, the client now has full visibility into vendor offerings, pricing dynamics, and order statuses.

If your business requires precision scraping of regulated e-commerce portals, Actowiz Solutions delivers real-time insights at scale.