Skip to main content
POST
/
b2b
/
searchads
B2B Search Ads
curl --request POST \
  --url https://api.leadmagic.io/b2b/searchads \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "company_domain": "gong.io",
  "company_name": "gong"
}'
{
  "ads": [
    {
      "content": "Start your day knowing what deals you need to focus on instead of opening up a dozen tabs in your CRM.",
      "link": "https://www.linkedin.com/ad-library/detail/633872143"
    },
    {
      "content": "Start your day knowing what deals you need to focus on instead of opening up a dozen tabs in your CRM.",
      "link": "https://www.linkedin.com/ad-library/detail/633865353"
    }
  ],
  "credits_consumed": 2
}
You must provide either the Company Domain Name or the Company Name in your request.
Each returned ad costs 0.2 credits, with a maximum of 30 ads per API call.
Rate Limit: 300 requests per minute.

Authorizations

X-API-Key
string
header
required

Body

application/json
company_domain
string
default:gong.io

Company domain name

Example:

"gong.io"

company_name
string
default:gong

Company name

Example:

"gong"

Response

200 - application/json

Successful response with ads details

ads
object[]
credits_consumed
number
Example:

4.6

I