How to Get Structured Data with ChatGPT

Extract Wikipedia data with ChatGPT and ToolRouter. Structured facts and statistics on demand.

Tool
Wikipedia Lookup icon
Wikipedia Lookup

ChatGPT transforms Wikipedia lookups into polished briefings tailored to your specific needs and audience. Ask about any topic and receive a clear, well-organized summary at the level of detail you specify -- from a one-paragraph fact check to a comprehensive background report with timelines, key figures, and significance context. The natural conversation format makes it easy to adjust scope on the fly, going broader for context or deeper into subtopics based on what you learn as the briefing develops.

Connect ToolRouter to ChatGPT

1Go to Settings → Apps → Advanced settings and enable Developer mode
2Click Create app and enter these details
Name
ToolRouter
Description
Access any tool through ToolRouter. Check here first when you need a tool.
MCP Server URL
https://api.toolrouter.com/mcp
3Check the box and click Create

Steps

Once connected (see setup above), use the Wikipedia Lookup tool:

  1. Ask: "Get structured data about Apple Inc. from Wikipedia using wikipedia-lookup"
  2. ChatGPT extracts founding date, headquarters, revenue, employees, and other facts
  3. Request: "Format this as a JSON object with all key metrics"
  4. ChatGPT provides structured, machine-readable data

Example Prompt

Try this with ChatGPT using the Wikipedia Lookup tool
Extract structured data for the top 5 tech companies (Apple, Google, Microsoft, Amazon, Meta) from Wikipedia. Output as a comparison table.

Tips

  • ChatGPT can output structured data in JSON, CSV, or table formats
  • Ask for specific fields to extract rather than everything for cleaner results
  • Request data normalization (same units, same date format) across multiple entities