ScrapeCrate
YouTube, Google Maps, Trustpilot and Meta Ad Library data as tools, paid with one credit balance.
Should I use this
Quality & Safety
Findings (4)
- LOWin account_balance
- LOWin reviews_trustpilot_companies_search
- LOWin reviews_trustpilot_company_reviews
- LOWin reviews_trustpilot_category_companies
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"scrapecrate": {
"command": "uvx",
"args": [
"scrapecrate-mcp"
]
}
}
}Runnable packages
1.0.0stdioRemote endpoints
https://api.scrapecrate.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (35)
🟢youtube_transcript(video_id, lang, format, chunk_size, chunk_overlap)
YouTube API: Get a transcript. The transcript of a video as timed segments and plain text. Without `lang` you get the video's default caption track. format=vtt puts a WebVTT subtitle file in `text`; format=chunks returns `chunks` (index, text, start, end in seconds) with the chunk_size and chunk_overlap used: whole segments merged into pieces of about chunk_size characters, ready for embeddings. Price: 1 credit per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {
"video_id": {
"type": "string",
"description": "11-character video ID"
},
"lang": {
"type": "string",
"description": "Language code (e.g. `en`, `it`, `pt-BR`); auto-translated when the video doesn't have it"
},
"format": {
"type": "string",
"enum": [
"json",
"text",
"srt",
"vtt",
"chunks"
],
"default": "json",
"description": "`json` (segments + text), `text` or `srt`. `vtt` (WebVTT subtitles in `text`) or `chunks` (timestamped chunks for embeddings, in `chunks`)."
},
"chunk_size": {
"type": "integer",
"minimum": 200,
"maximum": 4000,
"default": 1000,
"description": "`format=chunks` only: target characters per chunk (segments are never split)"
},
"chunk_overlap": {
"type": "integer",
"minimum": 0,
"maximum": 1000,
"default": 0,
"description": "`format=chunks` only: characters of whole segments repeated from the end of the previous chunk (less than `chunk_size`)"
}
},
"required": [
"video_id"
]
}🟢youtube_transcript_languages(video_id)
YouTube API: List transcript languages. The caption tracks available for a video, manual and auto-generated. Price: 1 credit per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {
"video_id": {
"type": "string",
"description": "11-character video ID"
}
},
"required": [
"video_id"
]
}🟢youtube_video(video_id)
YouTube API: Get video metadata. Title, description, channel, duration, views, likes, comment count, tags and categories. Price: 1 credit per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {
"video_id": {
"type": "string",
"description": "11-character video ID"
}
},
"required": [
"video_id"
]
}🟢youtube_video_chapters(video_id)
YouTube API: Get video chapters. The chapters of a video with start and end times in seconds. Price: 1 credit per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {
"video_id": {
"type": "string",
"description": "11-character video ID"
}
},
"required": [
"video_id"
]
}🟢youtube_video_comments(video_id, sort, limit, include_replies, replies_per_comment, ...)
YouTube API: List video comments. Top-level comments of a video with author, likes, replies count, date and pinned flag. With include_replies=true each comment also carries `replies` (comment_id, parent_id, text, author, like_count, published_at), up to replies_per_comment each. Replies are billed like comments: 1 credit per 100 comments and replies together. Price: 1 credit per 100 items returned (min 1); with include_replies=true the nested items (up to replies_per_comment per item) count as items too; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"video_id": {
"type": "string",
"description": "11-character video ID"
},
"sort": {
"type": "string",
"enum": [
"top",
"new"
],
"default": "top",
"description": "Top comments or newest first"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50,
"description": "Comments per page (max 100)"
},
"include_replies": {
"type": "boolean",
"default": false,
"description": "Also return each comment's replies, in its `replies` list (billed like comments)"
},
"replies_per_comment": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 10,
"description": "With `include_replies`: most replies per comment (max 100)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"video_id"
]
}🟢youtube_channel(channel_id)
YouTube API: Get a channel. Channel details by channel ID (`UC...`) or @handle. Price: 1 credit per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {
"channel_id": {
"type": "string",
"description": "Channel ID (`UC...`) or @handle"
}
},
"required": [
"channel_id"
]
}🟢youtube_channel_videos(channel_id, include_shorts, limit, cursor)
YouTube API: List channel videos. The videos of a channel, newest first, page by page: follow `pagination.next_cursor`; every page costs the same, the last one like the first. Price: 1 credit per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"channel_id": {
"type": "string",
"description": "Channel ID (`UC...`) or @handle"
},
"include_shorts": {
"type": "boolean",
"default": false,
"description": "Include Shorts"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 30,
"description": "Videos per page (max 100)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"channel_id"
]
}🟢youtube_playlist_videos(playlist_id, limit, cursor)
YouTube API: List playlist videos. The videos of a public playlist in playlist order, page by page: follow `pagination.next_cursor`; every page costs the same, the last one like the first. `meta.total_videos` and `meta.total_pages` give the size of the playlist (null when YouTube does not show it). Private and Mix playlists answer 404. Price: 1 credit per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"playlist_id": {
"type": "string",
"description": "Playlist ID: the `list=` value of a playlist URL (`PL...`, `UU...`, `OLAK5uy_...`)"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 30,
"description": "Videos per page (max 100)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"playlist_id"
]
}🟢youtube_search(q, limit)
YouTube API: Search videos. Search by keyword and get videos with channel, duration, views and upload date. Price: 1 credit per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Search query"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 20,
"description": "Results (max 50)"
}
},
"required": [
"q"
]
}🟢maps_places_search(q, language, region, lat, lng, ...)
Google Maps API: Search places. Places matching a query, optionally around a point, up to 20 per call. Price: 3 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "What to search, e.g. `dentist in Berlin`"
},
"language": {
"type": "string",
"default": "en",
"description": "Result language (`en`, `it`, `pt-BR`...)"
},
"region": {
"type": "string",
"default": "us",
"description": "Two-letter country code to bias results"
},
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude of the search centre (with `lng`)"
},
"lng": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude of the search centre (with `lat`)"
},
"radius_km": {
"type": "number",
"minimum": 0.1,
"maximum": 100,
"description": "Radius around `lat`/`lng` in km"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 20,
"description": "Places per page (max 20)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"q"
]
}🟢maps_place(place_id, language, region)
Google Maps API: Get place details. Full details of a place by place ID, CID or feature ID. Price: 3 credits per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {
"place_id": {
"type": "string",
"description": "Place ID, CID or feature ID (use `/places/resolve` for URLs)"
},
"language": {
"type": "string",
"default": "en",
"description": "Result language"
},
"region": {
"type": "string",
"default": "us",
"description": "Two-letter country code"
}
},
"required": [
"place_id"
]
}🟢maps_place_reviews(place_id, sort, language, limit, cursor)
Google Maps API: List place reviews. Reviews of a place with rating, text, translation, date and owner response. Price: 3 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"place_id": {
"type": "string",
"description": "Place ID, CID or feature ID"
},
"sort": {
"type": "string",
"enum": [
"relevant",
"newest",
"highest",
"lowest"
],
"default": "relevant",
"description": "Review order"
},
"language": {
"type": "string",
"default": "en",
"description": "Language of translations"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 20,
"description": "Reviews per page (max 20, one page of the source)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"place_id"
]
}🟢maps_places_resolve(input)
Google Maps API: Resolve a Maps URL or ID. Turn any Google Maps URL, short link, CID or feature ID into the place IDs. Price: 3 credits per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "A Maps URL, short link, CID or feature ID"
}
},
"required": [
"input"
]
}🟢trustpilot_companies_search(query, limit, cursor)
Trustpilot Reviews API: Search companies. Companies matching a name or domain. Price: 8 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Company name or domain"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"default": 10,
"description": "Companies per page (max 10, one page of the source)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"query"
]
}🟢trustpilot_company(domain, include_similar)
Trustpilot Reviews API: Get a company. Company profile with trust score, star distribution, languages and reply behaviour. Price: 8 credits per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {
"domain": {
"type": "string",
"description": "Company domain, e.g. `booking.com`"
},
"include_similar": {
"type": "boolean",
"default": false,
"description": "Include similar companies"
}
},
"required": [
"domain"
]
}🟢trustpilot_company_reviews(domain, stars, language, since, until, ...)
Trustpilot Reviews API: List company reviews. Public reviews of a company with filters. `meta.complete` is false when the source caps the reviews reachable for a filter combination. Price: 8 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"domain": {
"type": "string",
"description": "Company domain"
},
"stars": {
"type": "string",
"description": "Comma-separated star ratings"
},
"language": {
"type": "string",
"default": "all",
"description": "`all` or an ISO 639-1 code"
},
"since": {
"type": "string",
"format": "date",
"description": "Published on or after (YYYY-MM-DD)"
},
"until": {
"type": "string",
"format": "date",
"description": "Published on or before (YYYY-MM-DD)"
},
"verified": {
"type": "boolean",
"default": false,
"description": "Only verified reviews"
},
"with_reply": {
"type": "boolean",
"default": false,
"description": "Only reviews with a company reply"
},
"search": {
"type": "string",
"description": "Full-text filter"
},
"sort": {
"type": "string",
"enum": [
"recent",
"relevant"
],
"default": "recent",
"description": "Order"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 20,
"description": "Reviews per page (max 20, one page of the source)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"domain"
]
}🟢trustpilot_categories
Trustpilot Reviews API: List categories. The category tree used to browse companies. Price: 8 credits per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {},
"required": []
}🟢trustpilot_category_companies(category_id, country, sort, min_trust_score, location, ...)
Trustpilot Reviews API: List companies in a category. Companies of a category in a country, with optional trust score and city filters. Price: 8 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"category_id": {
"type": "string",
"description": "Category ID from `/categories`"
},
"country": {
"type": "string",
"description": "Two-letter country code"
},
"sort": {
"type": "string",
"enum": [
"relevant",
"reviews_count"
],
"default": "relevant",
"description": "Order"
},
"min_trust_score": {
"type": "string",
"enum": [
"3.0",
"4.0",
"4.5"
],
"description": "Minimum trust score"
},
"location": {
"type": "string",
"description": "City, e.g. `Milano`"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 20,
"description": "Companies per page (max 20, one page of the source)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"category_id",
"country"
]
}🟢reviews_trustpilot_companies_search(query, limit, cursor)
Reviews API: Search Trustpilot companies. Trustpilot companies matching a name or domain, as `Entity` objects (`type` business). Price: 8 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Company name or domain"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"default": 10,
"description": "Companies per page (max 10, one page of the source)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"query"
]
}🟢reviews_trustpilot_company(domain, include_similar)
Reviews API: Get a Trustpilot company. A Trustpilot company as an `Entity`: rating, review count, rating distribution and categories; TrustScore, contacts, claim status and reply behaviour in `extra`. Price: 8 credits per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {
"domain": {
"type": "string",
"description": "Company domain, e.g. `booking.com`"
},
"include_similar": {
"type": "boolean",
"default": false,
"description": "Include similar companies in `extra.similar`"
}
},
"required": [
"domain"
]
}🟢reviews_trustpilot_company_reviews(domain, stars, language, since, until, ...)
Reviews API: List Trustpilot reviews. Public reviews of a Trustpilot company as `Review` objects, with filters. `meta.entity` is the company reviewed; `meta.complete` is false when the source caps the reviews reachable for a filter combination. A page that returns nothing only because of the filters, with `has_more` true, is free. Price: 8 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"domain": {
"type": "string",
"description": "Company domain"
},
"stars": {
"type": "string",
"description": "Comma-separated star ratings"
},
"language": {
"type": "string",
"default": "all",
"description": "`all` or an ISO 639-1 code"
},
"since": {
"type": "string",
"format": "date",
"description": "Published on or after (YYYY-MM-DD)"
},
"until": {
"type": "string",
"format": "date",
"description": "Published on or before (YYYY-MM-DD)"
},
"verified": {
"type": "boolean",
"default": false,
"description": "Only verified reviews"
},
"with_reply": {
"type": "boolean",
"default": false,
"description": "Only reviews with a company reply"
},
"search": {
"type": "string",
"description": "Full-text filter"
},
"sort": {
"type": "string",
"enum": [
"recent",
"relevant"
],
"default": "recent",
"description": "Order"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 20,
"description": "Reviews per page (max 20, one page of the source)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"domain"
]
}🟢reviews_trustpilot_categories
Reviews API: List Trustpilot categories. The Trustpilot category tree used to browse companies. Price: 8 credits per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {},
"required": []
}🟢reviews_trustpilot_category_companies(category_id, country, sort, min_trust_score, location, ...)
Reviews API: List Trustpilot companies in a category. Companies of a Trustpilot category in a country, as `Entity` objects, with optional trust score and city filters. `meta.category` is the category ranked. Price: 8 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"category_id": {
"type": "string",
"description": "Category ID from `/trustpilot/categories`"
},
"country": {
"type": "string",
"description": "Two-letter country code"
},
"sort": {
"type": "string",
"enum": [
"relevant",
"reviews_count"
],
"default": "relevant",
"description": "Order"
},
"min_trust_score": {
"type": "string",
"enum": [
"3.0",
"4.0",
"4.5"
],
"description": "Minimum trust score"
},
"location": {
"type": "string",
"description": "City, e.g. `Milano`"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 20,
"description": "Companies per page (max 20, one page of the source)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"category_id",
"country"
]
}🟢reviews_appstore_apps_search(query, country, limit, cursor)
Reviews API: Search App Store apps. Apps of one country's App Store matching a name, developer or keyword, as `Entity` objects (`type` app). Price: 8 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "App name or keyword"
},
"country": {
"type": "string",
"default": "us",
"description": "Store country (ISO 3166-1 alpha-2): apps and reviews differ per country"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 10,
"description": "Apps per page (max 20)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"query"
]
}🟢reviews_appstore_app(app_id, country)
Reviews API: Get an App Store app. An app of one country's App Store as an `Entity`: rating, rating count, genres and description; developer, price, version, release dates and age rating in `extra`. Price: 8 credits per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {
"app_id": {
"type": "string",
"description": "App Store app ID (`324684580`, also `id324684580`) or bundle ID (`com.spotify.client`)"
},
"country": {
"type": "string",
"default": "us",
"description": "Store country (ISO 3166-1 alpha-2)"
}
},
"required": [
"app_id"
]
}🟢reviews_appstore_app_reviews(app_id, country, sort, stars, since, ...)
Reviews API: List App Store reviews. Reviews of an app in one country's App Store as `Review` objects, newest or most helpful first. Apple publishes the newest 500 reviews per country and sort: `meta.complete` is false when that cap cut the list. `meta.entity` is the app. A page that returns nothing only because of the filters, with `has_more` true, is free. Price: 8 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"app_id": {
"type": "string",
"description": "App Store app ID or bundle ID"
},
"country": {
"type": "string",
"default": "us",
"description": "Store country (ISO 3166-1 alpha-2)"
},
"sort": {
"type": "string",
"enum": [
"recent",
"helpful"
],
"default": "recent",
"description": "Order"
},
"stars": {
"type": "string",
"description": "Comma-separated star ratings"
},
"since": {
"type": "string",
"format": "date",
"description": "Published on or after (YYYY-MM-DD)"
},
"until": {
"type": "string",
"format": "date",
"description": "Published on or before (YYYY-MM-DD)"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 50,
"description": "Reviews per page (max 50, one page of the source)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"app_id"
]
}🟢reviews_googleplay_apps_search(query, country, language, limit, cursor)
Reviews API: Search Google Play apps. Apps on Google Play matching a name or keyword, as `Entity` objects (`type` app). Price: 8 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "App name or keyword"
},
"country": {
"type": "string",
"default": "us",
"description": "Store country (ISO 3166-1 alpha-2)"
},
"language": {
"type": "string",
"default": "en",
"description": "Language of the texts, ISO 639-1 (`en`, `pt-BR`)"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 10,
"description": "Apps per page (max 20)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"query"
]
}🟢reviews_googleplay_app(app_id, country, language)
Reviews API: Get a Google Play app. An app on Google Play as an `Entity`: rating, ratings count and distribution by star, category and description; developer, installs, price, content rating and last update in `extra`. Price: 8 credits per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {
"app_id": {
"type": "string",
"description": "Package name, e.g. `com.spotify.music`"
},
"country": {
"type": "string",
"default": "us",
"description": "Store country (ISO 3166-1 alpha-2)"
},
"language": {
"type": "string",
"default": "en",
"description": "Language of the texts, ISO 639-1"
}
},
"required": [
"app_id"
]
}🟢reviews_googleplay_app_reviews(app_id, country, language, sort, stars, ...)
Reviews API: List Google Play reviews. Reviews of a Google Play app as `Review` objects, newest or most relevant first, with the developer's reply when there is one. `meta.entity` is the app. With several star ratings, the reviews of each come one after the other. A page that returns nothing only because of the filters, with `has_more` true, is free. Price: 8 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"app_id": {
"type": "string",
"description": "Package name"
},
"country": {
"type": "string",
"default": "us",
"description": "Store country (ISO 3166-1 alpha-2)"
},
"language": {
"type": "string",
"default": "en",
"description": "Language of the reviews, ISO 639-1"
},
"sort": {
"type": "string",
"enum": [
"recent",
"relevant"
],
"default": "recent",
"description": "Order"
},
"stars": {
"type": "string",
"description": "Comma-separated star ratings"
},
"since": {
"type": "string",
"format": "date",
"description": "Published on or after (YYYY-MM-DD)"
},
"until": {
"type": "string",
"format": "date",
"description": "Published on or before (YYYY-MM-DD)"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 50,
"description": "Reviews per page (max 50, one page of the source)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"app_id"
]
}🟢ads_ads_search(q, page_id, country, status, ad_type, ...)
Meta Ad Library API: Search ads. Ads matching a keyword or an advertiser page, with filters, up to 30 per call. Every ad carries days_active (whole days from started_at to ended_at, or to today while it runs; null when unknown) and winning_score (0-100, null when days_active is null): long-running ads are the ones that pay off. score = L + V + R, with L = 70 x min(days_active, 90) / 90, V = 15 x min(variants_count - 1, 9) / 9 and R = 15 x min(log10(1 + EU reach) / 6, 1). The EU reach is only in the single-ad lookup, so in lists score = (L + V) x 100 / 85: a missing reach never lowers it. Rounded to the nearest integer. min_days_active and sort=longevity apply to the ads of the returned page, at the same price. Price: 5 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call). One of q, page_id is required.
Input Schema
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Keyword (required unless `page_id` is set)"
},
"page_id": {
"type": "string",
"description": "Only ads of this advertiser page"
},
"country": {
"type": "string",
"default": "ALL",
"description": "Two-letter country code or `ALL`"
},
"status": {
"type": "string",
"enum": [
"active",
"inactive",
"all"
],
"default": "active",
"description": "Ad status"
},
"ad_type": {
"type": "string",
"enum": [
"all",
"political"
],
"default": "all",
"description": "All ads or political/issue ads"
},
"media_type": {
"type": "string",
"enum": [
"all",
"image",
"video",
"meme",
"none"
],
"default": "all",
"description": "Creative type"
},
"platforms": {
"type": "string",
"description": "Comma-separated: facebook, instagram, messenger, audience_network"
},
"languages": {
"type": "string",
"description": "Comma-separated ISO 639-1 codes"
},
"active_from": {
"type": "string",
"format": "date",
"description": "Running on or after (YYYY-MM-DD)"
},
"active_to": {
"type": "string",
"format": "date",
"description": "Running on or before (YYYY-MM-DD)"
},
"match": {
"type": "string",
"enum": [
"any",
"exact"
],
"default": "any",
"description": "Keyword match"
},
"sort": {
"type": "string",
"enum": [
"relevance",
"impressions",
"longevity"
],
"default": "relevance",
"description": "Order. `longevity` puts the longest-running ads of the page first."
},
"min_days_active": {
"type": "integer",
"minimum": 0,
"maximum": 3650,
"description": "Keep only ads running for at least this many days (applied to the returned page, same price)"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 30,
"default": 30,
"description": "Ads per page (max 30, one page of the source)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": []
}🟢ads_ad(ad_id, country)
Meta Ad Library API: Get an ad. One ad with creatives, payer and beneficiary, and EU/UK transparency data. Price: 5 credits per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {
"ad_id": {
"type": "string",
"description": "Ad Library ID"
},
"country": {
"type": "string",
"default": "ALL",
"description": "Country used to look the ad up"
}
},
"required": [
"ad_id"
]
}🟢ads_pages_search(q, country, limit)
Meta Ad Library API: Search advertisers. Advertiser pages whose ads match a keyword. Price: 5 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Keyword"
},
"country": {
"type": "string",
"default": "ALL",
"description": "Two-letter country code or `ALL`"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"default": 10,
"description": "Pages (max 10, one page of the source)"
}
},
"required": [
"q"
]
}🟢ads_page(page_id)
Meta Ad Library API: Get an advertiser. Advertiser page details with Instagram account and active ads estimate. Price: 5 credits per call; failed calls are free.
Input Schema
{
"type": "object",
"properties": {
"page_id": {
"type": "string",
"description": "Advertiser page ID"
}
},
"required": [
"page_id"
]
}🟢ads_page_ads(page_id, country, status, media_type, sort, ...)
Meta Ad Library API: List an advertiser's ads. The ads of one advertiser page, with the same filters as search. Every ad carries days_active and winning_score (see Search ads for the formula); min_days_active and sort=longevity work as in search. Price: 5 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as `cursor` for the next page (each page is a new call).
Input Schema
{
"type": "object",
"properties": {
"page_id": {
"type": "string",
"description": "Advertiser page ID"
},
"country": {
"type": "string",
"default": "ALL",
"description": "Two-letter country code or `ALL`"
},
"status": {
"type": "string",
"enum": [
"active",
"inactive",
"all"
],
"default": "active",
"description": "Ad status"
},
"media_type": {
"type": "string",
"enum": [
"all",
"image",
"video",
"meme",
"none"
],
"default": "all",
"description": "Creative type"
},
"sort": {
"type": "string",
"enum": [
"relevance",
"longevity"
],
"default": "relevance",
"description": "Order. `longevity` puts the longest-running ads of the page first."
},
"min_days_active": {
"type": "integer",
"minimum": 0,
"maximum": 3650,
"description": "Keep only ads running for at least this many days (applied to the returned page, same price)"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 30,
"default": 30,
"description": "Ads per page (max 30, one page of the source)"
},
"cursor": {
"type": "string",
"description": "`pagination.next_cursor` of the previous page"
}
},
"required": [
"page_id"
]
}🟢account_balance
Your remaining credits (free monthly and purchased). Free of charge.
Input Schema
{
"type": "object",
"properties": {}
}Community
Evidence