Agents
n8n
Read social data in an n8n workflow with the HTTP Request node, or give an n8n agent the MCP server.
Option A: HTTP Request node
- Add an HTTP Request node.
- Method
GET, URLhttps://api.openhandle.dev/v1/instagram/profiles/@handle. - Authentication: Generic Credential Type, Header Auth. Name
Authorization, valueBearerfollowed by your key. - Run it. The node output is the Openhandle envelope, with
dataholding the profile.
Pass freshness=24h as a query parameter for daily jobs. A cache hit costs
$0.0005 and is often fresh enough for tracking.
Option B: MCP Client node
n8n's AI Agent can use MCP servers through the MCP Client tool node.
- Add an AI Agent node and attach an MCP Client tool.
- Endpoint
https://api.openhandle.dev/mcp, transport Streamable HTTP. - Header
Authorization: Bearerfollowed by your key. - Prompt the agent in plain words, for example "get the last five posts of this TikTok creator and sum the views".
Notes
- Start with a Test key. Every endpoint works, nothing is charged.
- Pagination is cursor based. The response's
meta.cursors.nextgoes back in ascursorfor the next page. - Errors come back with a code and a message. Failed requests are not billed.