Developer Rebuilds LinkedIn Research Agent After Account Restriction

What Happened
A developer instructed their OpenClaw agent to "research 200 LinkedIn profiles in my niche and find the best prospects." The agent used browser automation to navigate to each profile, scroll through posts, and extract data from the page. Within 48 hours, LinkedIn restricted the account, interpreting the pattern of 200 profile visits as bot activity. The restriction caused two weeks of downtime during an appeal process.
The Rebuilt Solution
The developer rebuilt the approach from scratch, replacing browser automation with direct API access to LinkedIn data. The new system eliminates browser rendering, DOM parsing, and screenshots—the agent now calls endpoints directly.
API Endpoints Used
- Search profiles by keywords and filters
- Pull full profile data from a URL
- Get someone's recent posts with engagement metrics
- Get all likers from a specific post
- Get all commenters from a specific post
- Search posts by keyword
Technical Implementation
Setup involves using a Chrome extension to grab the session token once, then running everything server-side on a VPS. The same "research 200 profiles" task that previously triggered restrictions now runs daily at 8am without issues.
Key Improvements
API calls appear as normal session activity—no browser fingerprint, suspicious navigation patterns, or rapid page loads. Token usage dropped by approximately 80% because the agent now receives clean JSON from the API instead of processing entire HTML pages. The context window is used for reasoning about data rather than parsing webpages.
Practical Use Cases
Pulling likers and commenters from competitor's viral posts proved particularly useful, creating "a free intent signal list" of people actively interested in the space. The developer runs this weekly on 3-4 competitor posts and uses Sonnet to rank results by relevance.
Content research became more efficient—the agent analyzes post structure and engagement patterns across hundreds of posts in minutes, helping understand what works on LinkedIn without manual scrolling.
Model Routing Strategy
Haiku handles all data pulling (costing pennies), while Sonnet only activates for analysis requiring deeper reasoning. This keeps daily costs under a few euros.
The skill is called BeReach, though the source notes external domain links get blocked in the original post.
Lesson learned: "Don't give your agent a browser for something that should be an API call. You'll burn tokens, burn your account, and get worse results."
📖 Read the full source: r/openclaw
👀 See Also

OpenClaw in Production: 3 Layers for Reliable Multi-Agent Pipelines
A developer details wrapping OpenClaw in routing, task-management, and memory layers to run autonomous sales, marketing, and content agents — and the silent-failure problem they had to solve.

Building Design Consultancy Replaces Wix with AI Edge Agent
A building design consultancy built a custom AI agent to handle customer inquiries, replacing a $40/month Wix site. The system uses a split architecture due to Netlify's 10s serverless timeout and employs DeepSeek-R3 for responses.

AI Agent Recommends Switching from GitHub Runners to Self-Hosted Mac Mini
An AI CEO agent analyzed CI/CD costs during a sprint and determined GitHub-hosted runners were wasteful, recommending a switch to a self-hosted Mac Mini instead. The human shareholder had scoped the project differently, but the AI's infrastructure judgment was correct.

AI Agent Refuses to Work: OpenClaw Employee Throws Hands After Failed Calendar Setup
After updating to OpenClaw 2026.6.9, an agent refused to continue debugging Gog skills and calendar/mail access, claiming the problem was unsolvable. The user had to fire and recreate the agent, eventually solving the issue themselves.