Skip to main content

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 your openclaw.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:
Or add it to your .env file:

Available Tools

Once installed, your agent has access to tools for all supported platforms. Tools follow the naming pattern agntdata_{platform}_{operation}.

Supported Platforms

  • LinkedIn
  • YouTube
  • X (Twitter)
  • TikTok
  • Instagram
  • Reddit
  • Facebook
Each platform provides tools for common operations like fetching profiles, posts, and search.

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:
Your agent can interpret these errors and respond appropriately.

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

Ensure you’ve installed the plugin and restarted OpenClaw:
Verify your API key is set correctly:
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.