Query and analyze brand mentions from Octolens API. Use when the user wants to fetch mentions, track keywords, filter by source platforms (Twitter, Reddit, GitHub, LinkedIn, etc.), sentiment analysis, or analyze social media engagement. Supports complex filtering with AND/OR logic, date ranges, follower counts, and bookmarks.
Use this skill when the user needs to:
The Octolens API requires a Bearer token for authentication. The user should provide their API key, which you'll use in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Important: Always ask the user for their API key before making any API calls. Store it in a variable for subsequent requests.
All API endpoints use the base URL: https://app.octolens.com/api/v1
X-RateLimit-* headers indicate current usageFetch mentions matching keywords with optional filtering. Returns posts sorted by timestamp (newest first).
Key Parameters:
limit (number, 1-100): Maximum results to return (default: 20)cursor (string): Pagination cursor from previous responseincludeAll (boolean): Include low-relevance posts (default: false)view (number): View ID to use for filteringfilters (object): Filter criteria (see filtering section)Example Response:
{
"data": [
{
"id": "abc123",
"url": "https://twitter.com/user/status/123",
"body": "Just discovered @YourProduct - this is exactly what I needed!",
"source": "twitter",
"timestamp": "2024-01-15T10:30:00Z",
"author": "user123",
"authorName": "John Doe",
"authorFollowers": 5420,
"relevance": "relevant",
"sentimen...