Integration
Connect Beehiiv to MLB Records and Stats
When something happens in Beehiiv, your agent does the next thing in MLB Records and Stats. Describe it in plain language and the automation is built, tested on every branch and kept running.
Build it
What do you want Beehiiv and MLB Records and Stats to do together?
Describe it and your agent reads both APIs, builds the automation, tests every branch and ships it. The list below is what exists today, not the limit.
Ask the assistant
You'll sign in before anything runs. What you typed comes with you.
Or work from Claude Code
Install the APIANT plugin for Claude Code and build, edit, test and read run history from your terminal. Every plan gets this, including free, and it spends no assistant credits.
Connect Claude CodeEverything your agent can do with Beehiiv and MLB Records and Stats
Triggers and actions 8 triggers · 62 actions
Trigger
List automationspoll for automations; new automations surface over time (trigger).
Trigger
List newsletter listspoll newsletter lists; new lists surface over time (trigger).
Trigger
List pollspoll for polls; new polls surface over time (trigger).
Trigger
List segment subscriber IDspoll subscriber IDs in a segment; new IDs surface over time (trigger).
Trigger
List segment subscriberspoll subscribers in a segment; new members surface over time (trigger).
Trigger
List tierspoll subscription tiers; new tiers surface over time (trigger).
Trigger
New subscriber to publicationPolls Beehiiv and emits each new subscriber to the specified publication. Lists subscriptions newest-first; dedup by subscription id.
Trigger
New unsubscriber to publicationPolls Beehiiv and emits each new unsubscriber (inactive subscription) to the specified publication. Dedup by subscription id.
Action
Add subscription tagadd a tag to a subscription.
Action
Bulk create subscriptioncreate multiple subscriptions in a single bulk request.
Action
Create custom fieldcreate a new custom field.
Action
Create newsletter listcreate a new newsletter list.
Action
Create segmentcreate a new segment.
Action
Create subscriptionCreates a new subscriber on a publication. Sets email plus optional custom fields, UTM attribution, and referral source.
Action
Delete custom fielddelete a custom field.
Action
Delete newsletter listdelete a newsletter list.
Action
Delete segmentdelete a segment.
Action
Delete subscriptionRemove a subscriber from a publication.
Action
Get aggregate statsget aggregate statistics across posts.
Action
Get authorget details for a specific author.
Action
Get custom fieldget details for a specific custom field.
Action
Get newsletter listget details for a specific newsletter list.
Action
Get newsletter list subscriptionget details for a newsletter list subscription.
Action
Get postRetrieve a single post by ID. Returns content, stats, and publish status.
Action
Get post templatesget available post templates for a publication.
Action
Get publicationget details for a specific publication.
Action
Get publication engagementsget aggregate engagement stats for a publication.
Action
Get publications by subscription emailget publications associated with a subscriber email.
Action
Get referral programget referral program details for a publication.
Action
Get segmentget details for a specific segment.
Action
Get subscription by emailRetrieve a single subscription by email address. Returns the subscriber's status, tier, and custom fields.
Action
Get subscription by IDget details for a subscription by its ID.
Action
Get subscription updateget a specific bulk subscription update record.
Action
Identify userget current OAuth user info.
Action
Identify workspaceget current workspace info.
Action
List authorslist all authors for a publication.
Action
List complimentary accesslist free access grants for a publication.
Action
List condition setslist all condition sets for a publication.
Action
List custom fieldsList a publication's subscriber custom fields. Returns field names and types for mapping.
Action
List postsList posts for a publication. Returns posts with status, audience, and publish metadata.
Action
List publicationsList the publications on the account. Returns each publication's id, name, and settings — the entry point for resolving a publication id.
Action
List segmentsList segments for a publication. Returns segment ids, names, and types for audience targeting.
Action
List subscriptionsList subscriptions for a publication. Returns subscribers with status, tier, and custom fields, supports filtering/pagination.
Action
List subscription updateslist bulk subscription update records.
Action
Recalculate segmentrecalculate segment membership.
Action
Update a tierupdate an existing tier.
Action
Update custom fieldupdate an existing custom field.
Action
Update subscription by emailUpdate an existing subscriber identified by email. Changes tier, status, or custom fields.
Action
Update subscription by IDupdate a subscription by its ID.
Action
Update subscriptionsupdate multiple subscriptions at once.
Action
Update subscriptions' statusbulk update subscription status.
Action
Find scheduleQuery the game schedule by sportId, teamId, date range, or gamePk(s). GET https://statsapi.mlb.com/api/v1/schedule
Action
Find statsQuery player/team stats by stat type, group, season, and sortStat. GET https://statsapi.mlb.com/api/v1/stats
Action
Find transactionsQuery player transactions (trades, signings, DFA, etc.) by teamId, playerId, or date range. GET https://statsapi.mlb.com/api/v1/transactions
Action
Get attendanceGet attendance figures by teamId, leagueId, or season/date. GET https://statsapi.mlb.com/api/v1/attendance
Action
Get draftGet MLB amateur draft picks by year, optionally filtered to prospects or the latest pick. GET https://statsapi.mlb.com/api/v1/draft/{year}
Action
Get game boxscoreGet a game's full boxscore by gamePk. GET https://statsapi.mlb.com/api/v1/game/{gamePk}/boxscore
Action
Get game linescoreGet a game's linescore (inning-by-inning) by gamePk. GET https://statsapi.mlb.com/api/v1/game/{gamePk}/linescore
Action
Get game live feedGet a game's full live feed (plays, boxscore, linescore combined) by gamePk. GET https://statsapi.mlb.com/api/v1/game/{gamePk}/feed/live
Action
Get game play by playGet all plays for a game by gamePk. GET https://statsapi.mlb.com/api/v1/game/{gamePk}/playByPlay
Action
Get personGet a single player/person's bio info by personId. GET https://statsapi.mlb.com/api/v1/people/{personId}
Action
Get person statsGet a player's stats for a specific game by personId and gamePk (or "current"). GET https://statsapi.mlb.com/api/v1/people/{personId}/stats/game/{gamePk}
Action
Get standingsGet division/league standings by leagueId and season. GET https://statsapi.mlb.com/api/v1/standings
Action
Get stats leadersGet statistical leaders by leaderCategories, season, and league/sport. GET https://statsapi.mlb.com/api/v1/stats/leaders
Action
Get teamGet a single MLB team's info by teamId. GET https://statsapi.mlb.com/api/v1/teams/{teamId}
Action
Get team rosterGet a team's player roster by teamId. GET https://statsapi.mlb.com/api/v1/teams/{teamId}/roster
Action
Get team statsGet a team's season stats by teamId, season, and stat group. GET https://statsapi.mlb.com/api/v1/teams/{teamId}/stats
Action
Get venueGet venue info by venueIds. GET https://statsapi.mlb.com/api/v1/venues
Action
List divisionsList MLB divisions, optionally filtered by leagueId/sportId/season. GET https://statsapi.mlb.com/api/v1/divisions
Action
List leaguesList MLB leagues by sportId/leagueIds/seasons. GET https://statsapi.mlb.com/api/v1/league
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.