{"openapi":"3.1.0","info":{"title":"Scrape Creators API","description":"The easiest way to scrape public social media data at scale. Extract profiles, posts, videos, comments, and more from TikTok, Instagram, YouTube, Twitter, LinkedIn, Facebook, Reddit, and 27+ platforms.","version":"1.0.0","contact":{"name":"Scrape Creators","url":"https://scrapecreators.com","email":"support@scrapecreators.com"}},"servers":[{"url":"https://api.scrapecreators.com","description":"Production server"}],"security":[{"apiKeyAuth":[]}],"tags":[{"name":"Facebook Ad Library","description":"Scrapes the Facebook (Meta) Ad Library"}],"paths":{"/v1/facebook/adLibrary/ad/transcript":{"get":{"tags":["Facebook Ad Library"],"summary":"Ad Transcript","description":"Retrieves a transcript for a single Facebook Ad Library video ad by ID or URL. If Facebook exposes captions, those are used. Otherwise we try to transcribe the public video URL. Credits are only deducted when transcript is returned. If the ad has no video or no transcript is available, transcript will be null and no credit is charged.","parameters":[{"name":"id","in":"query","required":false,"description":"Facebook Ad Id","schema":{"type":"string"},"example":"1020359190509080"},{"name":"url","in":"query","required":false,"description":"Facebook Ad URL","schema":{"type":"string"},"example":"https://www.facebook.com/ads/library?id=1020359190509080"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"example":{"success":true,"credits_remaining":100,"data":{"ad_id":"1020359190509080","url":"https://www.facebook.com/ads/library?id=1020359190509080","transcript":"Sample transcript text from the ad video...","transcript_available":true}}}}}}}}},"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your Scrape Creators API key"}}}}