Facebook

Search Facebook Videos

Search for Facebook videos by keyword. Supports date filtering and sorting.

Price: $0.008 per page. Free tier: 50 requests/month.

get/v1/facebook/videos

Request

  • Base URL: https://apidirect.io
  • URL: https://apidirect.io/v1/facebook/videos
  • Auth: API key in header X-API-Key

Query parameters

querystring required

Search query (max 500 characters)

pagesinteger

Number of pages to fetch and merge into one response (1-15). Billed per page.

start_datestring

Filter videos from this date (YYYY-MM-DD)

end_datestring

Filter videos until this date (YYYY-MM-DD)

sort_by'most_recent' | 'relevance'

Sort order for results. most_recent returns the newest videos first; relevance is the default.

get_sentimentboolean

Set to true to add AI emotion analysis to each video. 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 video that cannot be scored returns sentiment: null.

Response

Successful response

countnumber nullable
pagesnumber nullable

Changes

No recorded changes to this operation across all 1 revision of this API.