> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agent.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Search LinkedIn Posts by Keyword

> Search LinkedIn posts by keywords using Fiber.ai. Returns posts with author info, content, engagement metrics, and more.



## OpenAPI

````yaml /api-reference/v1/v1.1.0_openapi.json post /action/search_linkedin_posts_by_keyword
openapi: 3.0.0
info:
  version: 1.1.0
  title: AI Actions - Get Data
  description: API specifications for 'Get Data' category AI actions.
  license:
    name: MIT
servers:
  - url: https://api-lr.agent.ai/v1
security:
  - bearerAuth: []
paths:
  /action/search_linkedin_posts_by_keyword:
    post:
      tags:
        - Social Media & Online Presence
      summary: Search LinkedIn Posts by Keyword
      description: >-
        Search LinkedIn posts by keywords using Fiber.ai. Returns posts with
        author info, content, engagement metrics, and more.
      operationId: searchLinkedinPostsByKeyword
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                keywords:
                  type: string
                  description: >-
                    Enter comma-separated keywords to search for in LinkedIn
                    posts, such as 'artificial intelligence, machine learning'
                    or 'SaaS growth strategy'
                recency:
                  type: string
                  enum:
                    - Day
                    - Week
                    - Month
                    - Quarter
                    - HalfYear
                    - Year
                  description: >-
                    Filter posts by how recent they are. Leave empty for all
                    time.
                min_likes:
                  type: string
                  description: >-
                    Only include posts with at least this many likes. Set to 0
                    to include all posts.
                  default: '0'
                output_variable_name:
                  type: string
                  description: >-
                    Assign a variable name to store the search results, such as
                    'linkedin_posts' or 'post_results'.
                  default: linkedin_posts
                  pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
              required:
                - keywords
                - output_variable_name
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '401':
          description: Unauthorized - invalid or missing bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
components:
  schemas:
    ActionResponse:
      type: object
      properties:
        status:
          type: integer
          format: int32
          description: HTTP status code of the action response
        response:
          type: object
          description: Response data from the action
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer token from your account
        ([https://agent.ai/user/integrations#api](https://agent.ai/user/integrations#api))

````