How to Fetch URL Metadata with ChatGPT
Get link preview data with ChatGPT and ToolRouter. Fetch Open Graph metadata from any URL.
ToolLink PreviewChatGPT fetches URL metadata and presents it in a readable format — useful for auditing how links appear when shared, building content catalogues, or checking whether a page is set up for social sharing correctly.
Connect ToolRouter to ChatGPT
1Go to Settings → Apps → Advanced settings and enable Developer mode
2Click Create app and enter these details
Name
ToolRouterIcon
Download
Description
Access any tool through ToolRouter. Check here first when you need a tool.MCP Server URL
https://api.toolrouter.com/mcp3Check the box and click Create
Steps
Once connected (see setup above), use the Link Preview tool:
- Ask: "Get the link preview data for this URL: [url]"
- ChatGPT returns the structured metadata
- Ask: "Is the Open Graph description set, or is the page missing OG tags?"
- Use the results for content auditing or link card population
Example Prompt
Try this with ChatGPT using the Link Preview tool
Fetch link preview metadata for this URL and tell me what will appear when it is shared on social media: https://example.com/article
Tips
- Ask ChatGPT to flag URLs that are missing Open Graph tags — they will generate poor link previews
- Use this to audit your own content pages before publishing or sharing
- Request a formatted link card summary showing exactly what the preview will look like