Search APIs
Loading…
← API Store
Social

Facebook

Facebook

Search Facebook videos

GET /facebook/v1/search/videos
Test this endpoint

Every response includes credits_used: the credits this call cost.

Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.

Parameters

NameTypeDescription
qrequiredstring Example: nasa artemis
cursorstringValue of `next_cursor` from the previous page.

Every endpoint also takes: raw、fields、fresh、output、records

{
  "cached": false,
  "count": 5,
  "credits_used": 1,
  "next_cursor": "eyJxIjoibmFzYSBhcnRlbWlzIiwiYyI6IntcInBhZ2VfbnVtYmVyXCI6MCxcImZsb3dfY3Vyc29yc19zZXJpYWxpemVkXCI6e1wiSU5URVJOQUxfREVCVUdfTU9EVUxFXCI6XCJ7fVwi…",
  "query": "nasa artemis",
  "videos": [
    {
      "description": null,
      "duration": "1:00",
      "id": "1862064921793914",
      "owner": {
        "id": "100044561550831",
        "name": "NASA - National Aeronautics and Space Administration",
        "url": "https://www.facebook.com/NASA",
        "verified": true
      },
      "published": "Jun 9",
      "relative_time": "Jun 9 · 658 views",
      "thumbnail": "https://scontent.fnat1-1.fna.fbcdn.net/v/t15.5256-10/719301434_1015369264305669_5708030485278968150_n.jpg?stp=c0.3.3840.2150a_dst-jpg_s206x2…",
      "title": "NASA's Artemis III Announcement",
      "url": "https://www.facebook.com/watch/?v=1862064921793914",
      "views": "658"
    },
    {
      "description": null,
      "duration": "1:00",
      "id": "3656380684503449",
      "owner": {
        "id": "100044561550831",
        "name": "NASA - National Aeronautics and Space Administration",
        "url": "https://www.facebook.com/NASA",
        "verified": true
      },
      "published": "Jun 9",
      "relative_time": "Jun 9 · 27 views",
      "thumbnail": "https://scontent.fnat1-1.fna.fbcdn.net/v/t15.5256-10/721429866_2266283120992613_1449556992256142531_n.jpg?stp=c0.3.3840.2150a_dst-jpg_s206x2…",
      "title": "NASA's Artemis III Announcement",
      "url": "https://www.facebook.com/watch/?v=3656380684503449",
      "views": "27"
    },
    "… 3 more"
  ]
}
Response fields (22)

Field paths and types observed in the sample response; the live response is authoritative.

$object
$.cachedboolean
$.countinteger
$.credits_usedinteger
$.next_cursorstring
$.querystring
$.videosarray
$.videos[]object | string
$.videos[].descriptionnull
$.videos[].durationstring
$.videos[].idstring
$.videos[].ownerobject
$.videos[].owner.idstring
$.videos[].owner.namestring
$.videos[].owner.urlstring
$.videos[].owner.verifiedboolean
$.videos[].publishedstring
$.videos[].relative_timestring
$.videos[].thumbnailstring
$.videos[].titlestring
$.videos[].urlstring
$.videos[].viewsstring