Facebook Ads Url Parser avatar

Facebook Ads Url Parser

Pricing

Pay per usage

Go to Apify Store
Facebook Ads Url Parser

Facebook Ads Url Parser

Copy any Facebook Ad Library URL and instantly extract ads data. No setup, no filters to configure just paste the URL and run

Pricing

Pay per usage

Rating

4.8

(15)

Developer

FlowExtract API

FlowExtract API

Maintained by Community

Actor stats

17

Bookmarked

28

Total users

23

Monthly active users

6 days ago

Last modified

Share

๐Ÿ”— Facebook Ads URL Parser

Copy any Facebook Ad Library URL and get instant ad data - No configuration needed.

Copy URL โ†’ Get Results โ†’ Done


๐Ÿš€ Quick Start

Step 1: Copy URL from Facebook

Open Facebook Ad Library, use any filters you want, then copy the URL from your browser address bar.

Example URL:

https://www.facebook.com/ads/library/?q=nike&country=US&active_status=active&...

Step 2: Create Input

Save your URL to input.json:

{
"URLAds": [
{
"url": "https://www.facebook.com/ads/library/?q=nike&country=US&..."
}
],
"maxResultsPerURL": 200
}

Step 3: Run Actor

$apify call dz-omar/facebook-ads-url-parser --input input.json

Step 4: Get Results

Results appear in your dataset - same format as - facebook-ads-scraper-pro!



โš ๏ธ Important: Execution Model & Costs

This Actor is a URL-based wrapper around the Facebook Ad Library.

When you run Facebook Ads Url Parser, it does not scrape ads directly. Instead:

  • The Actor parses the provided Facebook Ad Library URL
  • It then executes Facebook Ads Scraper Pro in standby mode
  • The scraper performs the actual data extraction and returns results to this Actor

What this means

  • You may see two Actors running for a single execution
  • This is expected behavior
  • The Actor does not run automatically and is only triggered when you start it manually
  • The standby execution consumes compute units, just like running the scraper directly

Billing & Compute Usage

  • Running this Actor is not free
  • Costs are generated by the internally executed scraper
  • Charges apply even though no additional configuration is required

If you prefer full control over parameters and execution, you can run the scraper directly:

๐Ÿ‘‰ Facebook Ads Scraper Pro


When to Use This Actor

Use Facebook Ads URL Parser if you want to:

  • Re-run saved Facebook Ad Library URLs
  • Automate competitor monitoring using copied URLs
  • Avoid manually configuring search parameters

Use Facebook Ads Scraper Pro if you want:

  • Direct parameter-based control
  • Clear visibility into compute usage per run
  • Advanced scraping options

โœ… Transparency Notice

This Actor intentionally uses a standby Actor execution to ensure consistent output and feature parity with the main scraper. This behavior is by design and not an automatic or hidden trigger.


๐Ÿ“‹ Input Format

That's it. Just two fields:

FieldTypeRequiredDescription
URLAdsarrayโœ… YesArray of Facebook Ad Library URLs
maxResultsPerURLintegerโŒ NoMax ads per URL (default: 10, range: 10-โˆž)

Example

Multiple URLs:

{
"URLAds": [
{"url": "https://www.facebook.com/ads/library/?q=nike&..."},
{"url": "https://www.facebook.com/ads/library/?q=adidas&..."},
{"url": "https://www.facebook.com/ads/library/?search_type=page&view_all_page_id=12345&..."}
],
"maxResultsPerURL": 10
}

With Custom Limit:

{
"URLAds": [
{"url": "https://www.facebook.com/ads/library/?..."}
],
"maxResultsPerURL": 500
}

๐Ÿ“ค Output

You get the exact same ad data as the main scraper:

{
"id": "1234567890",
"page_name": "Nike",
"page_likes": 5000000,
"text": "Just Do It",
"title": "Campaign Title",
"start_date": "2024-01-15",
"is_active": true,
"media": {
"type": "image",
"primary_thumbnail": "https://..."
},
...
}

Each ad is one item in your dataset.


๐Ÿ’ก Common Scenarios

Monitor Competitor Ads

Copy the URL after searching for your competitor:

{
"URLAds": [
{"url": "https://www.facebook.com/ads/library/?q=competitor_brand&..."}
]
}

Track Specific Brand

Copy the URL after selecting a page:

{
"URLAds": [
{"url": "https://www.facebook.com/ads/library/?search_type=page&view_all_page_id=15087023444&..."}
]
}

Analyze Multiple Regions

Copy URLs from different countries:

{
"URLAds": [
{"url": "https://www.facebook.com/ads/library/?q=nike&country=US&..."},
{"url": "https://www.facebook.com/ads/library/?q=nike&country=GB&..."},
{"url": "https://www.facebook.com/ads/library/?q=nike&country=DE&..."}
],
"maxResultsPerURL": 100
}

โœ… Supported URLs

  • โœ… Keyword search URLs
  • โœ… Advertiser/page search URLs
  • โœ… Date-filtered URLs
  • โœ… Country/language-filtered URLs
  • โœ… Platform-filtered URLs
  • โœ… Any Facebook Ad Library URL


๐Ÿค Support & Resources

๐Ÿ“ž Support

Get Help

Social Media

๐ŸŽฌ Video & Media

๐Ÿ  Real Estate

๐Ÿ› ๏ธ Developer Tools

๐Ÿ“ฑ Social Media


  • Public Data Access: Only processes publicly available Facebook Ad Library data
  • Rate Limiting: Respects Facebook's service limits and terms of use
  • Data Protection: No storage of personal information or unauthorized data collection
  • Commercial Use: Suitable for business intelligence and research applications