S

SocialFetch · Companies Search

by SocialFetch

GETBase

$0.014

per call · USD Coin on Base

Search Facebook Ad Library companies / advertisers by name.

Endpoint

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

1

Calls / 30d

1

Unique payers / 30d

Aug 23

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.socialfetch.dev/v1/facebook/ad-library/companies/search", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.socialfetch.dev/v1/facebook/ad-library/companies/search?query=nike" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "companies": [
      {
        "category": "Sportswear Store",
        "country": null,
        "entityType": "PERSON_PROFILE",
        "imageUrl": "https://scontent-sea1-1.xx.fbcdn.net/v/t39.30808-1/284964043_10159903868513445_7696353984967674128_n.jpg?stp=dst-jpg_s2…",
        "instagram": {
          "followers": null,
          "username": null,
          "verified": null
        },
        "likes": 39651323,
        "name": "Nike",
        "pageAlias": "nike",
        "pageDeleted": false,
        "pageId": "15087023444",
        "platform": "facebook",
        "verification": "BLUE_VERIFIED"
      }
    ],
    "query": "nike",
    "totalCompanies": 15
  },
  "meta": {
    "creditsCharged": 1,
    "requestId": "req_01example",
    "version": "v1"
  }
}

Payment details

Pay to0x02c2fcafce36b4aadb39625866bc6b1699d83043
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Search & Web and the homepage with a featured placement.

Get featured →

More from SocialFetch & similar services