Skip to content
SocialHelper
Join waitlist

Data tools

Your marketing data, on tap.

Connect Facebook, Instagram, YouTube and more once. Then your code or your AI agent can run their reports and lookups through the same API key and MCP server you post with.

How it works

List, then run.

A data account lists its tools with an input schema. Send the tool’s input as the JSON body and the result comes straight back.

  1. 1

    Connect the account

    Sign in with Google from Accounts in the dashboard. Each Google product connects on its own and asks only for its own access.

  2. 2

    List its tools

    GET /api/v1/accounts/{id}/tools returns each tool’s name, description, read_only flag and input_schema.

  3. 3

    Run one

    POST /api/v1/accounts/{id}/tools/{tool} with the input as the JSON body. It runs once, straight away.

curl https://socialhelper.app/api/v1/accounts/ACCOUNT_ID/tools \
  -H "Authorization: Bearer $SOCIALHELPER_API_KEY"
curl https://socialhelper.app/api/v1/accounts/ACCOUNT_ID/tools/search_analytics \
  -H "Authorization: Bearer $SOCIALHELPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "site_url": "sc-domain:example.com",
      "start_date": "2026-09-01",
      "end_date": "2026-09-30",
      "dimensions": [
          "query"
      ],
      "row_limit": 10
  }'

list_posts

read-only

List the Page's most recent posts, newest first, with their text, permalink, creation time and reaction, comment and share counts.

limit integer
How many posts to return (1–50). default: 10
after string
The next_cursor from a previous call, to continue with older posts.

page_insights

read-only

Read Page Insights over time. Allowed metrics: page_media_view, page_total_media_view_unique, page_post_engagements, page_total_actions, page_views_total, page_follows, page_daily_follows_unique, page_daily_unfollows_unique, page_actions_post_reactions_total, page_video_views, page_video_views_organic, page_video_views_paid, page_video_complete_views_30s, page_video_view_time. page_follows, page_actions_post_reactions_total and page_video_view_time only support period "day". Meta needs the Page to have 100 or more followers, keeps two years of data and returns at most 90 days per request.

metrics array<string>
Metric names. Default: page_media_view, page_total_media_view_unique, page_post_engagements, page_daily_follows_unique, page_video_views.
period string
Aggregation of each value: one day, a rolling week, or a rolling 28 days. day | week | days_28 default: 'day'
since string
Start of the range, YYYY-MM-DD. Default: 28 days before until.
until string
End of the range, YYYY-MM-DD. Default: today (UTC).

post_insights

read-only

Read lifetime Insights for one of the Page's posts. Allowed metrics: post_media_view, post_total_media_view_unique, post_clicks, post_clicks_by_type, post_reactions_by_type_total, post_reactions_like_total, post_reactions_love_total, post_reactions_wow_total, post_reactions_haha_total, post_reactions_sorry_total, post_reactions_anger_total, post_video_views, post_video_views_organic, post_video_views_paid, post_video_avg_time_watched, post_video_view_time, post_video_complete_views_organic, post_video_complete_views_paid, post_video_length.

post_id* string
The post ID exactly as list_posts returns it ("{page-id}_{post-id}").
metrics array<string>
Metric names. Default: post_media_view, post_total_media_view_unique, post_clicks, post_reactions_by_type_total.

list_conversations

read-only

List the Page's Messenger conversations, most recently active first, with the person's name and Page-scoped ID, the last message snippet, and message and unread counts.

limit integer
How many conversations to return (1–25). default: 10
after string
The next_cursor from a previous call, to continue with older conversations.

get_conversation

read-only

Read the latest messages of one Messenger conversation (as list_conversations returns it), newest first. Meta only returns the 20 most recent messages.

conversation_id* string
The conversation ID from list_conversations.
limit integer
How many messages to return (1–20). default: 20

send_message

makes changes

Reply as the Page to a person who messaged it. Facebook only allows replies within 24 hours of the person's last message.

recipient_id* string
The person's Page-scoped ID (the id of a person in list_conversations, or sender_id in a message.received webhook).
text* string
The reply, up to 2,000 characters.

message_notifications

makes changes

Turn real-time notifications of new Messenger messages on or off for the Page, or check whether they are on. While on, every message people send the Page reaches your webhooks as a message.received event.

action string
"on" subscribes the Page to new messages, "off" unsubscribes it, "status" only checks. status | on | off default: 'status'

list_media

read-only

List the account's most recent posts, reels and carousels, newest first (stories are not included), with caption, media type, publish time, permalink, and like and comment counts. Counts are null where the owner hid them.

limit integer
How many to return (1–50). default: 10
after string
The next_cursor from a previous call, to page back to older media.

account_insights

read-only

Account-level insights summed over a date range (default: the last 24 hours), optionally broken down. Data can lag up to 48 hours; reach and accounts_engaged are estimates; follows_and_unfollows needs 100+ followers.

metrics array<string>
Metrics to fetch, one or more of: accounts_engaged, comments, follows_and_unfollows, likes, profile_links_taps, reach, replies, reposts, saves, shares, total_interactions, views. Default: reach, views, accounts_engaged, total_interactions. default: ["reach","views","accounts_engaged","total_interactions"]
metric_type string
"total_value" for one total per metric (all metrics), or "time_series" for daily values (reach only). total_value | time_series default: 'total_value'
breakdown string
Split totals (total_value only): media_product_type (comments, likes, reach, saves, shares, total_interactions, views), follow_type (follows_and_unfollows, reach, views) or contact_button_type (profile_links_taps). media_product_type | follow_type | contact_button_type
since string
First day, YYYY-MM-DD (UTC). Required with until; the range can span at most 30 days.
until string
Last day, YYYY-MM-DD (UTC, inclusive). Defaults to now when since is given.

media_insights

read-only

Lifetime insights for one post, reel or carousel (as list_media returns it). Metrics that do not apply to the media type are rejected by Instagram. Data can lag up to 48 hours.

media_id* string
The media ID from list_media.
metrics array<string>
Metrics to fetch, one or more of: comments (feed posts and reels); crossposted_views (reels shared to Facebook); facebook_views (media shared to Facebook); follows (feed posts and stories); ig_reels_avg_watch_time (reels); ig_reels_video_view_total_time (reels); likes (feed posts and reels); navigation (stories); profile_activity (feed posts and stories); profile_visits (feed posts and stories); reach (all media); reels_skip_rate (reels); replies (stories); reposts (all media); saved (feed posts and reels); shares (all media); total_interactions (all media); views (all media). Default: reach, views, likes, comments, saved. default: ["reach","views","likes","comments","saved"]

list_videos

read-only

List the channel's most recent uploads, newest first, with title, publish time, privacy and view, like and comment counts. Counts are null where the owner hid them.

max_results integer
How many videos to return (1–50). default: 10

channel_stats

read-only

Get the channel's totals: subscribers (rounded down to three significant figures by YouTube), views and public videos.

analytics_report

read-only

Run a YouTube Analytics report for the channel: metrics (e.g. views, estimatedMinutesWatched, averageViewDuration, likes, comments, shares, subscribersGained) over a date range (default: the last 28 days, ending yesterday), optionally by dimensions such as day, month, country, video, deviceType, insightTrafficSourceType, ageGroup or gender. Data can lag about two days.

metrics* array<string>
Metric names, e.g. ["views", "estimatedMinutesWatched"].
dimensions array<string>
Dimension names to break the metrics down by, e.g. ["day"] or ["country"].
start_date string
First day, YYYY-MM-DD.
end_date string
Last day, YYYY-MM-DD (inclusive).
filters string
Optional filter, e.g. "video==VIDEO_ID" or "country==US"; join several with ";".
sort string
Sort order, e.g. "-views" for most viewed first, or "day".
max_results integer
Most rows to return (1–200). default: 50

top_videos

read-only

The channel's most viewed videos over a date range (default: the last 28 days, ending yesterday), with views, watch time, average view duration and percentage, likes, comments, shares and subscribers gained and lost.

start_date string
First day, YYYY-MM-DD.
end_date string
Last day, YYYY-MM-DD (inclusive).
limit integer
How many videos (1–50). default: 10

video_analytics

read-only

Analytics for one video over a date range (default: the last 28 days, ending yesterday): views, watch time, average view duration and percentage, likes, comments, shares and subscribers gained and lost, as totals or per day.

video_id* string
The 11-character video ID, as list_videos returns it.
start_date string
First day, YYYY-MM-DD.
end_date string
Last day, YYYY-MM-DD (inclusive).
by_day boolean
Return one row per day instead of totals. default: false

set_thumbnail

makes changes

Replace a video's thumbnail with an image uploaded to SocialHelper (POST /api/v1/media): JPEG or PNG, at most 2 MB; YouTube recommends 1280×720. Custom thumbnails need a verified channel. This changes the video on YouTube.

video_id* string
The 11-character video ID, as list_videos returns it.
media_id* string
The image's media ID.

creator_info

read-only

What the account may post right now: its nickname and username, the privacy levels it allows (pass one as privacy_level), whether comments, duets or stitches are turned off, and the longest video it may post. TikTok asks apps to check this before every post.

account_stats

read-only

The account's follower, following, like and video counts.

list_videos

read-only

List the account's public videos, newest first, with title, link, duration and view, like, comment and share counts. Private and friends-only posts are not included.

max_count integer
How many to return (1–20). default: 10
cursor integer
The next_cursor from a previous call, to page back to older videos.

list_boards

read-only

List the account's public boards you can pin to, with each board's ID (use it as the post's board_id option), name, description and Pin count.

page_size integer
How many boards to return (1–250). default: 50
bookmark string
The next_bookmark from a previous call, to continue the list.

list_posts

read-only

List the profile's most recent posts, newest first (replies are not included), with text, media type, topic, publish time and permalink.

limit integer
How many to return (1–100). default: 25
after string
The next_cursor from a previous call, to page back to older posts.

post_insights

read-only

Lifetime metrics for one post (as list_posts returns it): views, likes, replies, reposts, quotes, shares. Reposts of other posts have none.

post_id* string
The post ID from list_posts.
metrics array<string>
Metrics to fetch (default: all), from: views, likes, replies, reposts, quotes, shares.

account_insights

read-only

Profile metrics: views (daily profile views), likes, replies, reposts, quotes and clicks (per link) over a date range (default: yesterday and today), plus followers_count and follower_demographics, which ignore the range. follower_demographics needs a breakdown and 100+ followers.

metrics array<string>
Metrics to fetch, from: views, likes, replies, reposts, quotes, clicks, followers_count, follower_demographics. Default: views, likes, replies, reposts, quotes, followers_count. default: ["views","likes","replies","reposts","quotes","followers_count"]
breakdown string
Required with follower_demographics, which must then be the only metric. country | city | age | gender
since string
First day, YYYY-MM-DD (UTC), from 2024-04-13 on.
until string
Last day, YYYY-MM-DD (UTC, inclusive). Defaults to today.

publishing_limit

read-only

How many of its 250 posts per 24 hours the profile has used through the API.

list_blogs

read-only

List the blogs this Tumblr account can post to, with each blog's name and UUID (use either as the post's blog option), title, URL, followers and whether it is the primary blog.

post_notes

read-only

Count the notes (likes, reblogs and replies) on one post.

post_id* string
The post's ID, as returned when it was published.
blog string
The blog the post is on (name or UUID). Defaults to the primary blog.

site_info

read-only

Describe the connected WordPress site (name, tagline, address, time zone) and what the connected user may do there (roles, whether they can publish and upload).

list_posts

read-only

List the site's blog posts, newest first, with each post's ID, title, status, date, link, a plain-text excerpt, and category and tag IDs, plus the total count.

status string
Only posts with this status. "any" (the default) is every status except trash. any | draft | publish | future | pending | private default: 'any'
search string
Only posts matching these words.
categories array<integer>
Only posts in any of these category IDs (from list_categories).
per_page integer
Posts per page (1–100). default: 20
page integer
The page of results, starting at 1. default: 1

get_post

read-only

Get one post in full: title, content (the stored HTML when the user may edit the post, else the rendered HTML), excerpt, status, date, slug, link, categories, tags and featured image ID.

id* integer
The post ID, from list_posts.

create_post

makes changes

Create a blog post. It is saved as a draft unless status says otherwise, so it can be reviewed in WordPress before it goes live. Returns the post's ID, status, link and the WordPress editor link.

title* string
The post title (plain text).
content* string
The post body as HTML, up to 200,000 characters. Plain HTML opens in the block editor as a Classic block; block markup (<!-- wp:paragraph -->) stays as blocks.
excerpt string
A short summary shown in listings and feeds (plain text).
status string
draft (the default: saved for review in WordPress, not published), or publish (live now, or scheduled when date is in the future), future (scheduled for date, which is then required), pending (awaiting review) or private (visible only to the site's editors and administrators). draft | publish | future | pending | private default: 'draft'
date string
Publication date and time, ISO 8601 (e.g. "2026-10-12T09:00:00" in the site's time zone, or with an offset such as "Z" or "+02:00"). Required when status is future.
slug string
The URL slug, e.g. "my-first-post". WordPress makes it from the title when left out.
categories array<integer>
Category IDs from list_categories. Leave it out for the site's default category.
tags array<string>
Tag names, at most 20. Existing tags are reused; missing ones are created.
featured_image_url string
An http(s) URL of a JPEG, PNG, GIF or WebP image (up to 20 MB) to upload to the media library and set as the featured image.
featured_image_alt string
Alt text for the featured image.

update_post

makes changes

Change an existing post. Only the fields given are changed; setting status to publish makes the post live.

id* integer
The post ID, from list_posts.
title string
The post title (plain text).
content string
The post body as HTML, up to 200,000 characters. Plain HTML opens in the block editor as a Classic block; block markup (<!-- wp:paragraph -->) stays as blocks.
excerpt string
A short summary shown in listings and feeds (plain text).
status string
A new status: draft (unpublishes the post), or publish (live now, or scheduled when date is in the future), future (scheduled for date, which is then required), pending (awaiting review) or private (visible only to the site's editors and administrators). draft | publish | future | pending | private
date string
Publication date and time, ISO 8601 (e.g. "2026-10-12T09:00:00" in the site's time zone, or with an offset such as "Z" or "+02:00"). Required when status is future.
slug string
The URL slug, e.g. "my-first-post". WordPress makes it from the title when left out.
categories array<integer>
Category IDs from list_categories. Replaces the post's categories.
tags array<string>
Tag names, at most 20. Existing tags are reused; missing ones are created. Replaces the post's tags.
featured_image_url string
An http(s) URL of a JPEG, PNG, GIF or WebP image (up to 20 MB) to upload to the media library and set as the featured image.
featured_image_alt string
Alt text for the featured image.

list_categories

read-only

List the site's post categories, with each category's ID (use it in create_post), name, slug, parent and post count.

search string
Only terms whose name or slug contains this text.
per_page integer
How many to return (1–100). default: 100
page integer
The page of results, starting at 1. default: 1

list_tags

read-only

List the site's post tags, with each tag's ID, name, slug and post count.

search string
Only terms whose name or slug contains this text.
per_page integer
How many to return (1–100). default: 100
page integer
The page of results, starting at 1. default: 1

WooCommerce

Platform details →

store_info

read-only

The store's name, address, currency, time zone, WooCommerce version and number of published products.

list_products

read-only

List the store's products with price, sale and stock status, short description (plain text), categories and main image. Includes the total count and number of pages.

search string
Only results matching this text.
category integer
Only products in this category (its ID, from list_categories).
status string
Only products with this status. any | publish | draft | pending | private default: 'publish'
stock_status string
Only products with this stock status. instock | outofstock | onbackorder
on_sale boolean
Only products on sale. default: false
orderby string
Sort by date, popularity (sales), rating or price. date | popularity | rating | price default: 'date'
order string
Sort direction. asc | desc default: 'desc'
per_page integer
Results per page (1–100). default: 20
page integer
Page of results, from 1. default: 1

get_product

read-only

One product in full: everything list_products returns, plus its description (plain text), all images, attributes, average rating, rating count and total sales.

id* integer
The product ID.

list_categories

read-only

List the store's product categories with their ID, slug, parent and number of published products.

search string
Only results matching this text.
per_page integer
Results per page (1–100). default: 100
page integer
Page of results, from 1. default: 1

sales_report

read-only

Sales totals for a period: gross and net sales, average daily net sales, orders, items, tax, shipping, refunds, discounts and new customers, plus totals per day (or per month for long ranges). Amounts are in the store currency; dates are in the store's time zone.

period string
A preset range in the store's time zone: week (the last 7 days, including today), month (this month so far), last_month, or year (this year so far, totals by month). Defaults to week. Leave it out when giving date_min. week | month | last_month | year
date_min string
First day, YYYY-MM-DD (inclusive), instead of period.
date_max string
Last day, YYYY-MM-DD (inclusive), with date_min. Defaults to today.

top_sellers

read-only

The best-selling products for a period (up to 12), by quantity sold.

period string
A preset range in the store's time zone: week (the last 7 days, including today), month (this month so far), last_month, or year (this year so far, totals by month). Defaults to week. Leave it out when giving date_min. week | month | last_month | year
date_min string
First day, YYYY-MM-DD (inclusive), instead of period.
date_max string
Last day, YYYY-MM-DD (inclusive), with date_min. Defaults to today.

list_orders

read-only

List orders, newest first, with number, date, status, currency, totals, items (name, quantity, SKU) and coupon codes. Customer details (names, addresses, emails, phone numbers, notes) are never included.

status string
Only orders with this status. any | pending | processing | on-hold | completed | cancelled | refunded | failed default: 'any'
after string
Only orders created on or after this day, YYYY-MM-DD (store time zone).
before string
Only orders created on or before this day, YYYY-MM-DD (store time zone).
per_page integer
Results per page (1–100). default: 20
page integer
Page of results, from 1. default: 1

list_coupons

read-only

List the store's coupons with code, amount, discount type, expiry date and usage.

search string
Only results matching this text.
per_page integer
Results per page (1–100). default: 20
page integer
Page of results, from 1. default: 1

create_coupon

makes changes

Create a coupon. Needs a key with Read/Write permissions. Codes are unique in a store, so WooCommerce refuses a code that already exists.

code* string
The coupon code customers enter.
discount_type string
percent (a percentage off the cart), fixed_cart (a fixed amount off the cart) or fixed_product (a fixed amount off each matching product). percent | fixed_cart | fixed_product default: 'fixed_cart'
amount* number
The discount: a percentage for percent, else an amount in the store currency.
date_expires string
The day the coupon expires, YYYY-MM-DD. As in WooCommerce, it stops working at 00:00 that day (store time zone).
individual_use boolean
Whether the coupon can't be combined with other coupons. default: false
usage_limit integer
How many times the coupon can be used in total.
usage_limit_per_user integer
How many times each customer can use it.
minimum_amount number
The order subtotal needed to use the coupon.
product_ids array<integer>
Only these products (their IDs) are discounted.
free_shipping boolean
Whether the coupon grants free shipping (the store's free shipping method must accept coupons). default: false
description string
A note for the store's staff; customers don't see it.

site_info

read-only

Describe the Ghost site: its title, description, URL and Ghost version, how many posts are published, drafted and scheduled, and how many members it has (just the number, when the key may read members).

list_posts

read-only

List the site's posts with their ID, title, status, URL, dates, excerpt, tag names and feature image, plus pagination. Ghost lists scheduled posts first, then drafts, then published posts, newest first.

status string
Which posts to list. all | draft | published | scheduled default: 'all'
search string
Only posts whose title contains this text.
filter string
An extra Ghost NQL filter, e.g. "tag:news" or "featured:true" (https://docs.ghost.org/content-api/filtering).
limit integer
How many to return per page (1–100). default: 15
page integer
Which page of results, starting at 1. default: 1

get_post

read-only

Read one post, with its HTML and the same details list_posts gives.

id* string
The post's ID, from list_posts or create_post.

create_post

makes changes

Write a new post from HTML. It is saved as a draft unless status says otherwise: "published" puts it live on the site now, "scheduled" publishes it at published_at. Posts are never emailed to newsletter subscribers. Returns the post's ID, status, URL and updated_at.

title* string
The post's title.
html* string
The post's content as HTML, up to 200,000 characters. Ghost converts it to its editor format, which may change some markup; wrap it in <!--kg-card-begin: html--> and <!--kg-card-end: html--> to keep it exactly as written.
status string
"draft" to save it unpublished, "published" to publish it now, or "scheduled" to publish it at published_at. draft | published | scheduled default: 'draft'
published_at string
When the post is or was published: an ISO 8601 date and time with a timezone, e.g. 2026-10-12T09:00:00Z. Needed to schedule a post, and then in the future.
tags array<string>
Tag names. Tags that don't exist yet are created.
custom_excerpt string
A short summary shown instead of the automatic excerpt.
feature_image string
The URL of the image shown at the top of the post.
slug string
The post's URL slug, e.g. "my-first-post". Ghost makes one from the title if there is none.
visibility string
Who can read it: "public", "members" (signed-in members) or "paid" (paying members). Left out of a new post, Ghost uses the site's default. public | members | paid

update_post

makes changes

Change an existing post. Anything left out stays as it is. Setting status publishes ("published"), schedules ("scheduled") or unpublishes ("draft") it. Posts are never emailed: publishing or scheduling a post set up in Ghost Admin to be emailed is refused. Returns the post's ID, status, URL and updated_at.

id* string
The post's ID, from list_posts or create_post.
updated_at string
The post's updated_at as you last read it. Ghost refuses the change if the post was edited since. Left out, the latest is fetched first.
title string
A new title.
html string
New content as HTML, up to 200,000 characters, replacing the current content. Ghost converts it to its editor format; wrap it in <!--kg-card-begin: html--> and <!--kg-card-end: html--> to keep it exactly as written.
status string
"draft" to unpublish it, "published" to publish it now, or "scheduled" to publish it at published_at. draft | published | scheduled
published_at string
When the post is or was published: an ISO 8601 date and time with a timezone, e.g. 2026-10-12T09:00:00Z. Needed to schedule a post, and then in the future.
tags array<string>
Tag names, replacing all of the post's tags ([] removes them). Tags that don't exist yet are created.
custom_excerpt string
A short summary shown instead of the automatic excerpt.
feature_image string
The URL of the image shown at the top of the post.
slug string
The post's URL slug, e.g. "my-first-post". Ghost makes one from the title if there is none.
visibility string
Who can read it: "public", "members" (signed-in members) or "paid" (paying members). Left out of a new post, Ghost uses the site's default. public | members | paid

list_tags

read-only

List the site's tags with their ID, name, slug, visibility ("internal" for #hidden tags) and how many posts use each, plus pagination.

limit integer
How many to return per page (1–100). default: 15
page integer
Which page of results, starting at 1. default: 1

Google Search Console

Platform details →

list_sites

read-only

List the Search Console properties this account can access, with its permission level on each.

search_analytics

read-only

Query search performance (clicks, impressions, CTR, average position), optionally grouped by query, page, country, device, search appearance, date or hour. Dates are Pacific Time; data usually lags 2–3 days unless data_state is "all".

site_url* string
The property exactly as list_sites returns it, e.g. "https://example.com/" or "sc-domain:example.com".
start_date* string
First day, YYYY-MM-DD (inclusive).
end_date* string
Last day, YYYY-MM-DD (inclusive).
dimensions array<string>
Group rows by these, in order: query, page, country, device, searchAppearance, date, hour. Omit for one total row.
type string
Which results to count. web | image | video | news | discover | googleNews default: 'web'
filters array<object>
Filters, all of which must match. Each is {"dimension": "query|page|country|device|searchAppearance", "operator": "equals|notEquals|contains|notContains|includingRegex|excludingRegex", "expression": "…"}. Countries are ISO 3166-1 alpha-3 (e.g. "usa"); devices are DESKTOP, MOBILE or TABLET.
aggregation_type string
How to aggregate: by page or by property. "auto" lets Google choose. auto | byPage | byProperty default: 'auto'
data_state string
"final" for finished data only, "all" to include fresh (incomplete) data, "hourly_all" with the hour dimension. final | all | hourly_all default: 'final'
row_limit integer
Rows to return (1–25000). default: 100
start_row integer
Zero-based offset for paging. default: 0

inspect_url

read-only

Inspect how Google sees one URL of a property: index status, coverage, last crawl, canonical, mobile usability and rich results.

site_url* string
The property exactly as list_sites returns it, e.g. "https://example.com/" or "sc-domain:example.com".
url* string
The full URL to inspect; it must belong to the property.
language_code string
Language for translated issue messages, e.g. "en-US". default: 'en-US'

list_sitemaps

read-only

List the sitemaps submitted for a property, with their status, errors, warnings and indexed content counts.

site_url* string
The property exactly as list_sites returns it, e.g. "https://example.com/" or "sc-domain:example.com".

Google Analytics

Platform details →

list_properties

read-only

List the Google Analytics accounts this login can access, with their GA4 properties (resource name, display name and type).

run_report

read-only

Run a GA4 report: metrics (e.g. activeUsers, newUsers, sessions, screenPageViews, engagementRate, keyEvents, totalRevenue) over a date range, optionally broken down by up to 9 dimensions (e.g. date, sessionDefaultChannelGroup, sessionSource, pagePath, landingPage, country, deviceCategory). Use get_metadata for every name the property supports, including custom ones. Dates are in the property's time zone.

property* string
The GA4 property as list_properties returns it, e.g. "properties/123456789" (the bare number works too). Not the "G-…" measurement ID.
start_date* string
First day (inclusive): YYYY-MM-DD, "NdaysAgo" (e.g. "28daysAgo"), "yesterday" or "today".
end_date* string
Last day (inclusive): YYYY-MM-DD, "NdaysAgo", "yesterday" or "today".
metrics* array<string>
Metric API names, e.g. ["activeUsers", "sessions"].
dimensions array<string>
Dimension API names to group rows by, in order, e.g. ["date", "sessionDefaultChannelGroup"]. Omit for one total row.
dimension_filter object
A GA4 FilterExpression, sent as is, e.g. {"filter": {"fieldName": "country", "stringFilter": {"matchType": "EXACT", "value": "Canada"}}}. Combine with {"andGroup": {"expressions": […]}}, {"orGroup": …} or {"notExpression": …}.
order_by array
GA4 OrderBy objects, sent as is, e.g. [{"metric": {"metricName": "sessions"}, "desc": true}] or [{"dimension": {"dimensionName": "date"}}]. A single object is accepted too.
totals boolean
Also return the metric totals across all rows. default: false
limit integer
Rows to return (1–250000). default: 100
offset integer
Zero-based row offset for paging; row_count is the total. default: 0
keep_empty_rows boolean
Include rows whose metrics are all zero. default: false

run_realtime_report

read-only

Report on the last 30 minutes. Realtime supports fewer names: metrics activeUsers, eventCount, keyEvents, screenPageViews; dimensions such as country, city, deviceCategory, platform, eventName, unifiedScreenName, minutesAgo.

property* string
The GA4 property as list_properties returns it, e.g. "properties/123456789" (the bare number works too). Not the "G-…" measurement ID.
metrics* array<string>
Metric API names, e.g. ["activeUsers"].
dimensions array<string>
Dimension API names to group rows by, e.g. ["country"]. Omit for one total row.
limit integer
Rows to return (1–250000). default: 100

get_metadata

read-only

List the dimensions and metrics a property can report on, including its custom definitions, with their API names, UI names, descriptions and categories.

property* string
The GA4 property as list_properties returns it, e.g. "properties/123456789" (the bare number works too). Not the "G-…" measurement ID.

list_accessible_customers

read-only

List the Google Ads accounts this Google login can access directly, with name, currency, time zone, status and whether each is a manager (MCC) or test account. Accounts that can't be read (for example, not enabled) are listed with an error. Client accounts reached only through a manager are not listed; use list_child_accounts on the manager. Describes at most 50 accounts.

list_child_accounts

read-only

List the client accounts under a manager (MCC) account, with name, currency, time zone, status, whether each is itself a manager, and its level below the manager.

customer_id* string
The manager account's customer ID, with or without dashes, e.g. "123-456-7890".
login_customer_id string
Only when this Google login reaches customer_id through a manager (MCC) account: that manager's customer ID, e.g. "111-222-3333".
max_level integer
How many levels below the manager to include (1 = direct clients only). default: 1

search

read-only

Run a read-only Google Ads Query Language (GAQL) query, e.g. "SELECT campaign.name, metrics.clicks FROM campaign WHERE segments.date DURING LAST_7_DAYS". Only SELECT queries are accepted. Rows are returned as Google sends them: camelCase field names, 64-bit numbers as strings, money in micros (millionths of the account currency). Reference: https://developers.google.com/google-ads/api/docs/query/overview

customer_id* string
The Google Ads account (customer) ID, with or without dashes, e.g. "123-456-7890". list_accessible_customers and list_child_accounts return them.
query* string
The GAQL query. Must start with SELECT.
login_customer_id string
Only when this Google login reaches customer_id through a manager (MCC) account: that manager's customer ID, e.g. "111-222-3333".
max_rows integer
Most rows to return (1–10000). Add a LIMIT clause to the query to keep results small. default: 1000

campaign_performance

read-only

Per-campaign performance for a date range: impressions, clicks, cost, conversions, conversion value, CTR and average CPC, with status and channel type, sorted by cost. Cost and CPC are in the account currency. Dates are in the account's time zone. Give start_date and end_date, or during (default LAST_30_DAYS, not including today).

customer_id* string
The Google Ads account (customer) ID, with or without dashes, e.g. "123-456-7890". list_accessible_customers and list_child_accounts return them.
start_date string
First day, YYYY-MM-DD (inclusive). Use with end_date.
end_date string
Last day, YYYY-MM-DD (inclusive). Use with start_date.
during string
A predefined range, instead of start_date and end_date. LAST_7_DAYS | LAST_30_DAYS | THIS_MONTH | LAST_MONTH
include_removed boolean
Include removed campaigns. default: false
login_customer_id string
Only when this Google login reaches customer_id through a manager (MCC) account: that manager's customer ID, e.g. "111-222-3333".

Google Business Profile

Platform details →

list_reviews

read-only

List the reviews of this Business Profile location (newest first by default) with the location's average rating and total review count. Reviews are only available for verified locations.

page_size integer
Reviews to return (1–50). default: 20
order_by string
Sort order. updateTime desc | rating | rating desc default: 'updateTime desc'
page_token string
The next_page_token of a previous call, to get the next page.

reply_to_review

makes changes

Publicly reply to one review on this location as the business. Replaces the existing reply if there is one.

review_id* string
The review_id from list_reviews.
comment* string
The reply text, up to 4096 bytes.

list_photos

read-only

List the photos the business added to this Business Profile location (not customers' photos): where each is shown (PROFILE, COVER, EXTERIOR, INTERIOR, PRODUCT, …), its Google URL, size and view count.

page_size integer
Photos to return (1–100). default: 20
page_token string
The next_page_token of a previous call, to get the next page.

add_photo

makes changes

Add one of the team's images (uploaded with POST /api/v1/media) to this location: PROFILE and COVER replace the current one, every other category adds to the gallery. JPEG or PNG, 10 KB to 5 MB, at least 250 pixels on each side, fetched from its public URL. Google reviews new photos before showing them.

media_id* string
The image's media ID.
category* string
Where the photo is shown. PROFILE is the logo-sized picture next to the name, COVER the large header; the rest file it in the gallery (ADDITIONAL when none fits). PROFILE | COVER | EXTERIOR | INTERIOR | PRODUCT | AT_WORK | FOOD_AND_DRINK | MENU | COMMON_AREA | ROOMS | TEAMS | ADDITIONAL
description string
A caption, up to 255 characters. Not allowed on COVER photos.

delete_photo

makes changes

Remove a photo the business added to this location. Customers' photos cannot be removed this way.

media_key* string
The media_key from list_photos.

FAQ

Data tool questions.

What are data tools?

Operations a connected account offers besides posting, such as reports and lookups. Each tool has a name, a description and an input schema, and runs straight away when you call it.

Which accounts have tools?

Right now: Facebook, Instagram, YouTube, TikTok, Pinterest, Threads, Tumblr, WordPress, WooCommerce, Ghost, Google Search Console, Google Analytics, Google Ads and Google Business Profile.

Can a tool change anything?

Most tools only read. Any tool that makes a change is marked “makes changes” here and has read_only set to false in its description.

What happens if access is lost?

The call returns 409 with code reconnect_required, the account is flagged in the dashboard, and the account.needs_reconnect webhook fires.

Are tool calls retried?

No. Tools run once, synchronously. If the platform is busy you get 503 with code temporarily_unavailable, and a Retry-After header when the platform sent one.

Put your data to work.

SocialHelper is invite-only during early access. Join the waitlist: the first 100 people to sign up get a Founding account with higher limits, free for 12 months.