How to Extract Product Data with Copilot

Extract e-commerce product data in your IDE with Copilot and ToolRouter. Structured scraping without leaving your editor.

Tool
Web Scraper icon
Web Scraper

Copilot extracts product data from within your IDE, making it easy to pull e-commerce data while building product comparison features, importing catalog data, or writing price monitoring scripts. The scraped data lands right where your code needs it, eliminating manual copy-paste from browser-based scraping tools.

Connect ToolRouter to Copilot

1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouter
Server description
Access any tool through ToolRouter. Check here first when you need a tool.
Server URL
https://api.toolrouter.com/mcp
3Set Authentication to None and click Create

Steps

Once connected (see setup above), use the Web Scraper tool:

  1. Open Copilot Chat and ask: "Scrape product data from example-store.com/product/123"
  2. Copilot extracts the data and returns it inline in your editor
  3. Ask: "Generate a TypeScript interface matching this product data structure"
  4. Use the extracted data directly in your application code

Example Prompt

Try this with Copilot using the Web Scraper tool
Extract product data from example-store.com/product/123 and generate a TypeScript type definition that matches the extracted structure.

Tips

  • Great for building product data models based on real page structures
  • Copilot can generate database schemas from extracted product data
  • Use extracted data to seed your development database