Api Endpoint

StableSocial

Scrape Creators · Facebook — Company Ads

Open interactive test console

Offering

Provider
stablesocial.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Social Intelligence
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://stablesocial.dev/api/sc/facebook/adLibrary/company/ads
MIME type
Not provided
First seen
2026-10-16T01:52:52.778Z
Last seen
Tags
Sc

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.06 USDC
Atomic price: 60000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.06 USDC
Atomic price: 60000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "60000",
    "payTo": "0xCfA26F13c6C18307033EcE13BBb8F470dA5b4dbE"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "60000",
    "payTo": "8VZEQmHM8ADqTSWMtnn3cMmevBaR1E8xrrzm2zf81g2U"
  }
]

Observed health

Status
Healthy
Latest latency
83 ms
Average latency
391 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "companyName": {
          "description": "The name of the company. Can either use this or pageId",
          "type": "string"
        },
        "country": {
          "description": "This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL.",
          "type": "string"
        },
        "cursor": {
          "description": "Cursor to paginate through results",
          "type": "string"
        },
        "end_date": {
          "description": "End date to search for. Format: YYYY-MM-DD",
          "type": "string"
        },
        "language": {
          "description": "Language to filter ads on. Needs to be 2 letter language code, ie EN, ES, FR, etc",
          "type": "string"
        },
        "media_type": {
          "description": "Media type of the ad. Defaults to ALL. Meme refers to ads with image and text. Not sure why they call it meme.",
          "enum": [
            "ALL",
            "IMAGE",
            "VIDEO",
            "MEME",
            "IMAGE_AND_MEME",
            "NONE"
          ],
          "type": "string"
        },
        "pageId": {
          "description": "The companies ad library page id. You can get this with my Search For Companies Endpoint. Can either use this or companyName",
          "type": "string"
        },
        "sort_by": {
          "description": "Sort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions.",
          "enum": [
            "total_impressions",
            "relevancy_monthly_grouped"
          ],
          "type": "string"
        },
        "start_date": {
          "description": "Start date to search for. Format: YYYY-MM-DD",
          "type": "string"
        },
        "status": {
          "description": "Status of the ad. Defaults to ACTIVE.",
          "enum": [
            "ALL",
            "ACTIVE",
            "INACTIVE"
          ],
          "type": "string"
        },
        "trim": {
          "description": "Set to true for a trimmed down version of the response",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "companyName": {
              "description": "The name of the company. Can either use this or pageId",
              "type": "string"
            },
            "country": {
              "description": "This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL.",
              "type": "string"
            },
            "cursor": {
              "description": "Cursor to paginate through results",
              "type": "string"
            },
            "end_date": {
              "description": "End date to search for. Format: YYYY-MM-DD",
              "type": "string"
            },
            "language": {
              "description": "Language to filter ads on. Needs to be 2 letter language code, ie EN, ES, FR, etc",
              "type": "string"
            },
            "media_type": {
              "description": "Media type of the ad. Defaults to ALL. Meme refers to ads with image and text. Not sure why they call it meme.",
              "enum": [
                "ALL",
                "IMAGE",
                "VIDEO",
                "MEME",
                "IMAGE_AND_MEME",
                "NONE"
              ],
              "type": "string"
            },
            "pageId": {
              "description": "The companies ad library page id. You can get this with my Search For Companies Endpoint. Can either use this or companyName",
              "type": "string"
            },
            "sort_by": {
              "description": "Sort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions.",
              "enum": [
                "total_impressions",
                "relevancy_monthly_grouped"
              ],
              "type": "string"
            },
            "start_date": {
              "description": "Start date to search for. Format: YYYY-MM-DD",
              "type": "string"
            },
            "status": {
              "description": "Status of the ad. Defaults to ACTIVE.",
              "enum": [
                "ALL",
                "ACTIVE",
                "INACTIVE"
              ],
              "type": "string"
            },
            "trim": {
              "description": "Set to true for a trimmed down version of the response",
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}