Skip to content

Microsoft Ads APIfor AI agents

One API for Microsoft Ad Library data. Get Bing ads, advertisers and targeting as JSON.

Start for free

The Microsoft ads your agent needs.

Microsoft Ad Library returns ads for a keyword or an advertiser, each with headline, text and link.

terminal
curl -X POST "https://api.stophy.dev/v1/microsoft/ads/search" \
-H "Authorization: Bearer $STOPHY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"country": "de",
"query": "shoes"
}'

How agents use it.

  • List an advertiser's Bing ads

    The agent calls microsoftAdsAdvertisers with a brand name and takes the advertiserId. It then calls microsoftAdsSearch with that id in advertiser and a country.

  • Read how an ad is targeted

    The agent calls microsoftAdsSearch with a keyword and takes an adId. It then calls microsoftAdsAd to read targeting, impressionsMin, impressionsMax and paidBy.

  • Compare ad copy in a market

    The agent calls microsoftAdsSearch with a product keyword and country set to de, and groups headline and text by advertiserName. It then calls microsoftAdsAd on each ad to read firstShownAt and lastShownAt.

Start free. Pay per call after.

No plans and no monthly fee. 1,000 free credits to start, then $1.50 per 1,000 credits, $1.20 from $100 and $0.80 from $500. Credits never expire.

Free

Every account starts with free credits. No card needed.

1,000 free credits

$0

Start for free
  • ✓Every source

Pay as you go

Add credits to your balance and spend them one call at a time.

$1.50 per 1,000 credits, $1.20 from $100 and $0.80 from $500

$0.0015/ credit

10,000 credits≈ $13.50

Most calls cost 1 credit.

Get an API key
  • ✓Never expires

Custom

For teams that need higher rate limits or a source we do not cover yet.

Volume pricing

Custom

Talk to us
  • ✓Custom rate limits
  • ✓New sources on request
  • ✓Direct support

Questions and answers.

Get started

Give your agent the web today.

Sign up for 1,000 free credits. No card needed.