AI agent that checks a Twitch streamer before a sponsorship
The job
Follower counts get quoted in sponsorship decks long after a channel has gone quiet. This agent reads a Twitch channel's public facts and flags the two things a sponsor should know first: how big the following is and how recently the channel published.
Run it when a creator is proposed and again just before signing.
Tool calls, in order
1. POST /v1/social/twitch/channel
One call by channel name covers size, status and recent activity.
What to read in the answer. Compare the latest video date with today. Viewer numbers appear only while the channel is live, so an empty value offline is normal and is not zero viewers. A total views field reading zero should be treated as unavailable. Account age and partner status give context, not performance.
curl -X POST https://api.foxapis.com/v1/social/twitch/channel \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{"channel":"shroud"}'
A real answer (saved 2026-11-22)
{
"display_name": "shroud",
"broadcaster_type": "partner",
"followers": 11286786,
"account_created": "2012-11-03T15:50:32Z",
"is_live": false,
"latest_vod_title": "short dungeon sesh with the boys",
"latest_vod_date": "2026-11-17T21:46:29Z",
"channel_url": "https://twitch.tv/shroud"
}Instruction to paste into your agent
You pre-check Twitch creators for a sponsor. Fetch the channel. Report followers, partner status, account age, and the number of days since the latest video with its title and link. If live, add current viewers and say it is a single moment. List what the sponsor must still request from the creator: average viewers, audience countries and past sponsors.
Rules the agent should follow
- Report followers with the date you read them.
- Never estimate average viewers from followers.
- Ask the creator for their own viewer analytics before agreeing a price.
- If the channel name returns nothing, check the spelling against the link the creator sent and report that the channel could not be read, without guessing that it was closed or banned or that the creator has stopped streaming.
What the agent hands back
A pre-check with followers and the date read, partner status, account age, days since the latest video with its link, current viewers if live, and the list of figures the creator must still provide.
What a person still does
The sponsor watches several recent streams, collects the creator's own analytics export, checks past sponsorships and how they were disclosed, and puts disclosure terms and content limits in the contract before any money moves.
Limits
- No average or peak viewership, audience geography or chat activity is returned.
- A single reading cannot show growth; keep readings over time.
- Nothing here assesses brand safety: someone has to watch the content.
Cost of one run
POST /v1/social/twitch/channel: 2 credits
Total for one pass, taking one record or lookup from each call above, in credits: 2. Repeating a call costs it again. What a credit costs · Get a free key
MCP setup
The live MCP server offers twitch_channel. Add this to your MCP client's settings (Cursor reads .cursor/mcp.json; other clients use slightly different files), with your own key in place of YOUR_KEY.
{
"mcpServers": {
"foxapis-data": {
"url": "https://foxapis.com/mcp/data",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}
Function definitions (plain JSON)
Each entry names the function, its arguments and the HTTP request it stands for. Your code sends the request with the header Authorization: Bearer YOUR_KEY and returns the JSON to the agent.
[
{
"name": "twitch_channel",
"description": "One call by channel name covers size, status and recent activity.",
"parameters": {
"type": "object",
"properties": {
"channel": {
"type": "string"
}
},
"required": [
"channel"
]
},
"http": {
"method": "POST",
"url": "https://api.foxapis.com/v1/social/twitch/channel"
}
}
]
Pages for these calls
More blueprints
Chess coach agent · Check a UK supplier · Triage posts for buying intent · Confirm a work address · all of them