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

# Fetch Search Videos

> This endpoint retrieves information about Facebook Videos based on a specified search query. Use the end_cursor parameter to paginate through additional video results if more data is available.



## OpenAPI

````yaml /openapi/facebook.openapi.json get /v1/data/facebook/search_facebook_watch_videos
openapi: 3.0.0
info:
  title: agntdata Facebook API
  description: >-
    Unlock Facebook data effortlessly with our powerful scraping tools. Extract
    page names, URLs, contact info, likes, followers, posts, comments,
    Marketplace listings, and meta ads metrics. Perfect for market research,
    trend analysis, and optimizing marketing strategies.
  version: 1.0.0
  contact:
    name: agntdata
    url: https://agntdata.dev
servers:
  - url: https://api.agntdata.dev
    description: agntdata API
security:
  - ApiKeyAuth: []
tags:
  - name: Facebook Marketplace Listings
    description: ''
  - name: Facebook Posts Details
    description: ''
  - name: Facebook Search
    description: >-
      The Facebook Search API group provides a comprehensive set of endpoints to
      perform various types of searches across Facebook data, including posts,
      pages, people, and places. These endpoints enable users to retrieve
      targeted information based on specific query parameters and filters such
      as location, user identifiers, and other relevant attributes.
  - name: Meta Ads Library Search
    description: >-
      The Meta Ads Library Search allows you to search and retrieve detailed
      information from Meta’s Ad Library, providing insights into active and
      inactive ad campaigns across Facebook and Instagram. This tool is ideal
      for marketing analysis, competitor research, and understanding ad
      strategies.
  - name: Facebook Pages Details/Posts
    description: ''
  - name: 'Facebook Groups Details/Posts '
    description: ''
  - name: Facebook Download Media
    description: >-
      Download media (images, videos, audio) from Facebook URLs. Returns file
      size in MB and media type.
paths:
  /v1/data/facebook/search_facebook_watch_videos:
    get:
      tags:
        - Facebook Search
      summary: Fetch Search Videos
      description: >-
        This endpoint retrieves information about Facebook Videos based on a
        specified search query. Use the end_cursor parameter to paginate through
        additional video results if more data is available.
      operationId: Fetch_Search_Videos
      parameters:
        - name: query
          in: query
          required: true
          schema:
            type: string
            default: dog playing with cats
        - name: fields
          in: query
          required: false
          schema:
            type: string
          description: >-
            Comma-separated list of keys to include in the response. Use dot
            notation to target specific sections (e.g.
            `videos.id,videos.title,page_info.end_cursor`). Invalid keys are
            silently ignored. If omitted, the full response is returned.
        - name: end_cursor
          in: query
          required: false
          schema:
            type: string
        - name: videos_live
          in: query
          required: false
          schema:
            type: boolean
        - name: most_recent
          in: query
          required: false
          schema:
            type: boolean
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Get_facebook_search_facebook_watch_videos_Response
        '400':
          description: Bad request
        '401':
          description: Unauthorized - invalid API key
        '429':
          description: Rate limit exceeded
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Get_facebook_search_facebook_watch_videos_Response:
      type: object
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Bearer token. Pass your agntdata API key as: Authorization: Bearer
        agnt_live_...

````