Linkedin Ads Scraper avatar
Linkedin Ads Scraper

Pricing

$7.99/month + usage

Go to Store
Linkedin Ads Scraper

Linkedin Ads Scraper

Developed by

Data Xplorer

Maintained by Community

🔮 Unlock LinkedIn Ads Insights: Transform LinkedIn Ad Library data into structured analytics. Extract comprehensive ad performance, targeting strategies, and campaign metrics with automated calculations. Access real-time advertising intelligence through simple API calls.

5.0 (1)

Pricing

$7.99/month + usage

4

Monthly users

14

Runs succeeded

>99%

Last modified

18 days ago

You can access the Linkedin Ads Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.8",
5    "x-build-id": "pgbeC0SHlRwKb8yfs"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/data_xplorer~linkedin-ads-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-data_xplorer-linkedin-ads-scraper",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/data_xplorer~linkedin-ads-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-data_xplorer-linkedin-ads-scraper",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/data_xplorer~linkedin-ads-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-data_xplorer-linkedin-ads-scraper",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "searchUrl"
135        ],
136        "properties": {
137          "searchUrl": {
138            "title": "LinkedIn Ads Search URL",
139            "type": "string",
140            "description": "URL of the LinkedIn Ads Library search page you want to scrape (e.g. https://www.linkedin.com/ad-library/search?keyword=recrutement)"
141          },
142          "maxItems": {
143            "title": "Maximum number of ads",
144            "minimum": 1,
145            "type": "integer",
146            "description": "Maximum number of ads to scrape (default: 20)"
147          },
148          "decodeUrls": {
149            "title": "Decode shortened URLs",
150            "type": "boolean",
151            "description": "If enabled, the scraper will attempt to decode shortened URLs (bit.ly, lnkd.in). This provides complete URLs but slightly slows down the extraction process",
152            "default": false
153          },
154          "proxyType": {
155            "title": "Proxy type",
156            "enum": [
157              "RESIDENTIAL",
158              "DATACENTER"
159            ],
160            "type": "string",
161            "description": "Type of proxy to use",
162            "default": "RESIDENTIAL"
163          }
164        }
165      },
166      "runsResponseSchema": {
167        "type": "object",
168        "properties": {
169          "data": {
170            "type": "object",
171            "properties": {
172              "id": {
173                "type": "string"
174              },
175              "actId": {
176                "type": "string"
177              },
178              "userId": {
179                "type": "string"
180              },
181              "startedAt": {
182                "type": "string",
183                "format": "date-time",
184                "example": "2025-01-08T00:00:00.000Z"
185              },
186              "finishedAt": {
187                "type": "string",
188                "format": "date-time",
189                "example": "2025-01-08T00:00:00.000Z"
190              },
191              "status": {
192                "type": "string",
193                "example": "READY"
194              },
195              "meta": {
196                "type": "object",
197                "properties": {
198                  "origin": {
199                    "type": "string",
200                    "example": "API"
201                  },
202                  "userAgent": {
203                    "type": "string"
204                  }
205                }
206              },
207              "stats": {
208                "type": "object",
209                "properties": {
210                  "inputBodyLen": {
211                    "type": "integer",
212                    "example": 2000
213                  },
214                  "rebootCount": {
215                    "type": "integer",
216                    "example": 0
217                  },
218                  "restartCount": {
219                    "type": "integer",
220                    "example": 0
221                  },
222                  "resurrectCount": {
223                    "type": "integer",
224                    "example": 0
225                  },
226                  "computeUnits": {
227                    "type": "integer",
228                    "example": 0
229                  }
230                }
231              },
232              "options": {
233                "type": "object",
234                "properties": {
235                  "build": {
236                    "type": "string",
237                    "example": "latest"
238                  },
239                  "timeoutSecs": {
240                    "type": "integer",
241                    "example": 300
242                  },
243                  "memoryMbytes": {
244                    "type": "integer",
245                    "example": 1024
246                  },
247                  "diskMbytes": {
248                    "type": "integer",
249                    "example": 2048
250                  }
251                }
252              },
253              "buildId": {
254                "type": "string"
255              },
256              "defaultKeyValueStoreId": {
257                "type": "string"
258              },
259              "defaultDatasetId": {
260                "type": "string"
261              },
262              "defaultRequestQueueId": {
263                "type": "string"
264              },
265              "buildNumber": {
266                "type": "string",
267                "example": "1.0.0"
268              },
269              "containerUrl": {
270                "type": "string"
271              },
272              "usage": {
273                "type": "object",
274                "properties": {
275                  "ACTOR_COMPUTE_UNITS": {
276                    "type": "integer",
277                    "example": 0
278                  },
279                  "DATASET_READS": {
280                    "type": "integer",
281                    "example": 0
282                  },
283                  "DATASET_WRITES": {
284                    "type": "integer",
285                    "example": 0
286                  },
287                  "KEY_VALUE_STORE_READS": {
288                    "type": "integer",
289                    "example": 0
290                  },
291                  "KEY_VALUE_STORE_WRITES": {
292                    "type": "integer",
293                    "example": 1
294                  },
295                  "KEY_VALUE_STORE_LISTS": {
296                    "type": "integer",
297                    "example": 0
298                  },
299                  "REQUEST_QUEUE_READS": {
300                    "type": "integer",
301                    "example": 0
302                  },
303                  "REQUEST_QUEUE_WRITES": {
304                    "type": "integer",
305                    "example": 0
306                  },
307                  "DATA_TRANSFER_INTERNAL_GBYTES": {
308                    "type": "integer",
309                    "example": 0
310                  },
311                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
312                    "type": "integer",
313                    "example": 0
314                  },
315                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
316                    "type": "integer",
317                    "example": 0
318                  },
319                  "PROXY_SERPS": {
320                    "type": "integer",
321                    "example": 0
322                  }
323                }
324              },
325              "usageTotalUsd": {
326                "type": "number",
327                "example": 0.00005
328              },
329              "usageUsd": {
330                "type": "object",
331                "properties": {
332                  "ACTOR_COMPUTE_UNITS": {
333                    "type": "integer",
334                    "example": 0
335                  },
336                  "DATASET_READS": {
337                    "type": "integer",
338                    "example": 0
339                  },
340                  "DATASET_WRITES": {
341                    "type": "integer",
342                    "example": 0
343                  },
344                  "KEY_VALUE_STORE_READS": {
345                    "type": "integer",
346                    "example": 0
347                  },
348                  "KEY_VALUE_STORE_WRITES": {
349                    "type": "number",
350                    "example": 0.00005
351                  },
352                  "KEY_VALUE_STORE_LISTS": {
353                    "type": "integer",
354                    "example": 0
355                  },
356                  "REQUEST_QUEUE_READS": {
357                    "type": "integer",
358                    "example": 0
359                  },
360                  "REQUEST_QUEUE_WRITES": {
361                    "type": "integer",
362                    "example": 0
363                  },
364                  "DATA_TRANSFER_INTERNAL_GBYTES": {
365                    "type": "integer",
366                    "example": 0
367                  },
368                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
369                    "type": "integer",
370                    "example": 0
371                  },
372                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
373                    "type": "integer",
374                    "example": 0
375                  },
376                  "PROXY_SERPS": {
377                    "type": "integer",
378                    "example": 0
379                  }
380                }
381              }
382            }
383          }
384        }
385      }
386    }
387  }
388}

Linkedin Ads Library Scraper OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Linkedin Ads Scraper from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

1 day

Price

$7.99