LinkedIn Ads Search API
Returns ads from the LinkedIn Ad Library matching a company, keyword, country, or date range, with each ad's copy and the advertiser behind it.
50 credits a call · cursor pagination · failed calls free · 10 free calls to start
curl "https://api.insightsocial.app/v1/linkedin/ads/search?company=microsoft" \-H "x-api-key: $INSIGHTSOCIAL_API_KEY"
When to use it
Use it to find what a competitor is running, then pass a result's ad URL to ad for the complete record.
Parameters
Query parameters for GET /v1/linkedin/ads/search. Send your key in the x-api-key header.
| Name | Required | Description |
|---|---|---|
| company | One of company, keyword, companyId | The company name to search for. 'Microsoft' for example. |
| keyword | One of keyword, company, companyId | The keyword to search for. |
| companyId | One of companyId, company, keyword | The company id to search for. |
| countries | No | Comma separated list of countries. Example: US,CA,MX |
| startDate | No | Start date to search for. Format: YYYY-MM-DD |
| endDate | No | End date to search for. Format: YYYY-MM-DD |
| cursor | No | The pagination.next_cursor from the previous page, sent back unchanged. Omit it for the first page. |
Response
This endpoint returns the platform's own fields in data, in snake_case, rather than a unified post or profile. The reference page lists them.
Every field, error and example is in the LinkedIn Ads Search API reference.
How much does the LinkedIn Ads Search API cost?
50 credits per successful call.
Failed calls are free
A call that errors or finds nothing costs 0 credits.
Know the price first
Add dry_run=1 and the response quotes the call without making it. Nothing is charged.
One balance
API calls and Chrome extension exports share the same credits, on the free plan too.
LinkedIn Ads Search API: frequently asked questions
Send GET /v1/linkedin/ads/search with either company or keyword or companyId and your key in the x-api-key header. Returns ads from the LinkedIn Ad Library matching a company, keyword, country, or date range, with each ad's copy and the advertiser behind it.
50 credits per successful call. A call that errors or finds nothing costs 0 credits, and an answer from the shared cache costs 2. Pro's 10,000 monthly credits cover about 200 calls at 50 credits each. Add dry_run=1 to see the price of a call without making it.
No. There is no LinkedIn app, OAuth flow or app review. One InsightSocial API key works for this endpoint and every other platform, and your first 10 calls priced at 100 credits or less are free.
This endpoint pages. Each response carries pagination.next_cursor and pagination.has_more. Send next_cursor back unchanged as the cursor parameter and stop when has_more is false. Every page is a separate call and is charged as one.
You get an error or an empty result, and it costs 0 credits. The API reads public LinkedIn data only, so private accounts and deleted content come back as not found rather than as partial data.
Yes. Add the hosted MCP server at https://api.insightsocial.app/mcp to your AI app and sign in. The assistant finds this endpoint by name, shows its price and calls it with your credits.
Recipes that use this endpoint
More LinkedIn endpoints
- LinkedIn Profile API50 credits
- LinkedIn Company API50 credits
- LinkedIn Company by Domain API50 credits
- LinkedIn Profile Similar API50 credits
- LinkedIn Search Companies API100 credits
- LinkedIn Profile Posted Jobs API50 credits
- LinkedIn Job Hiring Team API50 credits
- LinkedIn Profile Articles API50 credits
- LinkedIn Article API50 credits
- LinkedIn Article Comments API50 credits
- LinkedIn Article Reactions API50 credits
- LinkedIn Search Hashtag API100 credits