Common API workflows for sales signal detection, competitor monitoring, hiring alerts, trending content discovery, and AI agent integration with LinkedIn.
Monitor LinkedIn for buying intent signals - people talking about problems your product solves, comparing tools, or looking for recommendations.
# 1. Create a keyword watchlist for buying signalscurl -X POST "https://api.outx.ai/api-keyword-watchlist" \ -H "Content-Type: application/json" \ -H "x-api-key: YOUR_API_KEY" \ -d '{ "name": "Buying Intent - CRM Tools", "keywords": [ "looking for a CRM", "CRM recommendation", { "keyword": "switching from", "required_keywords": ["CRM", "sales tool"], "excluded_keywords": ["hiring", "job"] } ], "fetchFreqInHours": 6 }'# 2. Retrieve high-intent posts sorted by relevancecurl -X GET "https://api.outx.ai/api-posts?watchlist_id=YOUR_ID&sort_by=relevance_first" \ -H "x-api-key: YOUR_API_KEY"
What you get: A continuously updated feed of LinkedIn posts from people actively discussing CRM tools, filtered by your keywords and sorted by AI relevance scoring.
Find the most engaging LinkedIn posts in your industry for content inspiration or engagement opportunities.
# Get trending posts from your watchlistcurl -X GET "https://api.outx.ai/api-posts?watchlist_id=YOUR_ID&trending=true&sort_by=engagement" \ -H "x-api-key: YOUR_API_KEY"# Filter by post type and date rangecurl -X GET "https://api.outx.ai/api-posts?watchlist_id=YOUR_ID&post_type=text&start_date=2026-02-01&end_date=2026-03-01&sort_by=engagement" \ -H "x-api-key: YOUR_API_KEY"
OutX doesn’t currently offer webhooks, but you can build a polling-based monitoring system:
import requestsimport timeAPI_KEY = "YOUR_API_KEY"HEADERS = {"x-api-key": API_KEY}BASE = "https://api.outx.ai"WATCHLIST_ID = "YOUR_WATCHLIST_ID"seen_posts = set()while True: posts = requests.get( f"{BASE}/api-posts", headers=HEADERS, params={ "watchlist_id": WATCHLIST_ID, "sort_by": "recent_first", "page": 1 } ).json() for post in posts.get("data", []): if post["id"] not in seen_posts: seen_posts.add(post["id"]) # Process new post - send to Slack, CRM, AI agent, etc. print(f"New post by {post['author_name']}: {post['content'][:100]}") time.sleep(3600) # Check every hour
Can I combine multiple watchlists in a single API call?
Yes. When calling /api-posts, you can pass multiple watchlist_id values to retrieve posts from several watchlists at once. You can also omit the watchlist_id parameter entirely to get posts from all your team’s watchlists in a single request.
How do I get notified when new posts arrive?
There are two approaches. First, you can poll the /api-posts endpoint periodically with sort_by=recent_first and track which post IDs you have already seen (see the polling pattern example above). Second, you can set up Slack notifications directly in the OutX UI to receive alerts in your Slack channels without writing any code.