Overview
The agntdata OpenClaw plugin registers social media data tools directly in your agent’s tool registry. Your agent can then access LinkedIn, YouTube, X, and other platform data as native capabilities.Installation
Install the plugin using the OpenClaw CLI:Configuration
Add your API key to youropenclaw.json configuration:
The
${AGNTDATA_API_KEY} syntax references an environment variable. Set it in your environment or .env file.Environment Setup
Set your API key as an environment variable:.env file:
Available Tools
Once installed, your agent has access to tools for all supported platforms. Tools follow the naming patternagntdata_{platform}_{operation}.
Supported Platforms
- YouTube
- X (Twitter)
- TikTok
Usage Example
Once configured, your agent can use the tools naturally: User prompt:“What can you tell me about Microsoft’s LinkedIn presence?”Agent response:
I’ll look up Microsoft’s LinkedIn profile. [Uses agntdata_linkedin_get_company with username: “microsoft”] Microsoft has 22 million followers on LinkedIn. They’re headquartered in Redmond, WA and have approximately 228,000 employees. Their recent posts focus on AI and cloud computing announcements.
Tool Schema
Each tool follows a consistent schema:Error Handling
The plugin handles errors gracefully and returns structured error messages:Credit Usage
Each tool call consumes credits from your agntdata balance. The plugin includes credit information in responses:Updating the Plugin
To update to the latest version:Uninstalling
To remove the plugin:Troubleshooting
Plugin not found
Plugin not found
Ensure you’ve installed the plugin and restarted OpenClaw:
Authentication errors
Authentication errors
Verify your API key is set correctly:
Tools not appearing
Tools not appearing
Check that the plugin is enabled in
openclaw.json and restart OpenClaw.Next Steps
OpenClaw Skill
Alternative: Use a ClawHub skill instead.
API Reference
Browse all available endpoints.