{"uid":"cap_douffNUCLMYFlIZQHKN8R","slug":"api-direct-linkedin-posts-search-3195f5b5","name":"API Direct LinkedIn Posts Search","description":"Search for LinkedIn posts by keyword.","url":"https://x402.apidirect.io/v1/linkedin/posts?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"page":{"type":"integer","default":1,"maximum":25,"minimum":1,"description":"Page number, 1-25 (default: 1). 20 posts per page. LinkedIn's search pool is at most ~500 posts per query, so pages past the pool return an empty list. Values below 1 are treated as 1; a page above 25 returns 400."},"query":{"type":"string","maxLength":500,"description":"Search query (max 500 characters). Required unless at least one filter (e.g. author) is provided."},"author":{"type":"string","description":"Filter to posts authored by a specific person. Accepts a profile URL, public slug (e.g. williamhgates), or member URN, resolved automatically. Comma-separate for multiple (max 5 values)."},"sort_by":{"enum":["most_recent","relevance"],"type":"string","default":"most_recent","description":"Sort order for results"},"posted_ago":{"enum":["24h","7d","30d"],"type":"string","description":"Only return posts from this period: 24h (past day), 7d (past week), or 30d (past month). Works with both sort orders and every filter. Omit for all time. Any other value returns 400."},"author_title":{"type":"string","description":"Filter by the author's job title as free text (e.g. CEO). Requires a query parameter."},"from_company":{"type":"string","description":"Filter to posts authored by a company page. Numeric LinkedIn company ID (from the Company Details endpoint). Comma-separate for multiple. Non-numeric values return 400."},"get_sentiment":{"type":"boolean","default":false,"description":"Set to true to add AI emotion analysis to each post. Adds a `sentiment` object containing `emotions` (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), `dominant_emotion`, `emotional_intensity` (0-10), and `polarity` (positive, negative or neutral). Any post t"},"author_company":{"type":"string","description":"Filter to posts written by people who work at a company. Numeric company ID, comma-separate for multiple. Non-numeric values return 400."},"author_industry":{"type":"string","description":"Filter by the author's industry. Numeric LinkedIn industry ID(s), comma-separated. Requires a query parameter. Non-numeric values return 400. Advanced."},"mentions_member":{"type":"string","description":"Filter to posts that mention a specific person (profile URL, slug, or member URN). Comma-separate for multiple (max 5 values)."},"mentions_company":{"type":"string","description":"Filter to posts that mention a company. Numeric company ID, comma-separate for multiple. Non-numeric values return 400."}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eQpWdlXVyXe_GKNkRC3td","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search LinkedIn posts by keyword, author, company, time range, and other filters, with optional AI sentiment analysis.","exampleAgentPrompt":"Search LinkedIn for the most recent posts about 'generative AI in healthcare' from the past week and include sentiment analysis on each result.","exampleUseCases":[{"title":"Brand mention monitoring on LinkedIn","prompt":"Search LinkedIn for posts mentioning 'Acme Corp' from the past 24 hours, sorted by most recent, and include sentiment analysis so I can see how people are feeling about us."},{"title":"Competitive intelligence by company author","prompt":"Find the latest LinkedIn posts authored by employees of company ID 1035 — I want to see what Microsoft has been posting publicly this past month."},{"title":"Thought leader content research","prompt":"Look up recent LinkedIn posts by williamhgates sorted by relevance and show me what he's been talking about in the past 30 days."}],"resultDescription":"Returns a paginated list of up to 20 LinkedIn posts per page matching the search criteria. Each post includes content text, author details (name, profile URL, title), post URL, engagement metrics, and optionally a sentiment object with eight emotion scores (joy, trust, fear, surprise, sadness, disgust, anger, anticipation) each scored 0–1.","failureModes":["Missing both query and author filter returns 400 — at least one is required","page value above 25 returns 400","posted_ago value other than 24h, 7d, or 30d returns 400","Non-numeric from_company value returns 400","author_title filter without a query parameter returns an error","Pages beyond LinkedIn's ~500-post search pool return an empty list","Rate limit or authentication errors from the underlying LinkedIn data source may return 429 or 503"],"whenToPreferThis":"Use this endpoint when you need to search LinkedIn posts by keyword, author, company, or job title — especially when you want time-filtered results (past day/week/month) or AI-powered sentiment/emotion analysis on posts. Prefer this over Twitter/X or Threads endpoints when the target audience is professional or B2B. Choose this over the LinkedIn company posts endpoint when you need cross-author keyword search rather than a single company's feed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:06:12.947Z","isFirstParty":false,"canonicalSlug":"api-direct-linkedin-posts-search-3195f5b5"}