ToolAssay

Search Facebook Ad Library ads by keyword and filters

Search Facebook Ad Library ads by keyword and filters.

Answeringour last check, 2026-09-24
1 of 1checks answered this week
306 msmedian answer time
$0.014listed price per call
$0.014price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://api.socialfetch.dev/v1/facebook/ad-library/ads/search

CategorySearch and research
Provider hostapi.socialfetch.dev
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days3 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-24 valid payment request 402$0.014 306 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "query": "running"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "adType": {
              "description": "Optional filter for all ads or political and issue ads.",
              "enum": [
                "all",
                "political-and-issue"
              ],
              "type": "string"
            },
            "country": {
              "description": "Optional country code filter. Use ALL to search all countries.",
              "maxLength": 3,
              "minLength": 2,
              "type": "string"
            },
            "cursor": {
              "description": "Opaque pagination cursor from a previous response.",
              "minLength": 1,
              "type": "string"
            },
            "endDate": {
              "description": "Optional end date filter in YYYY-MM-DD format.",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            },
            "mediaType": {
              "description": "Optional creative media filter.",
              "enum": [
                "all",
                "image",
                "video",
                "meme",
                "image-and-meme",
                "none"
              ],
              "type": "string"
            },
            "query": {
              "description": "Search query text for Facebook Ad Library ads.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            },
            "searchType": {
              "description": "Optional keyword matching mode for the search query.",
              "enum": [
                "keyword-unordered",
                "exact-phrase"
              ],
              "type": "string"
            },
            "sortBy": {
              "description": "Optional sort order for returned ads.",
              "enum": [
                "impressions",
                "most-recent"
              ],
              "type": "string"
            },
            "startDate": {
              "description": "Optional start date filter in YYYY-MM-DD format.",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            },
            "status": {
              "description": "Optional ad status filter.",
              "enum": [
                "all",
                "active",
                "inactive"
              ],
              "type": "string"
            },
            "trim": {
              "description": "When true, returns a smaller response with fewer fields.",
              "type": "boolean"
            }
          },
          "required": [
            "query"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON