AI agent that prepares a music artist brief for bookers
The job
A booker or a brand weighing an artist wants a quick, comparable picture. This agent reads an artist's public SoundCloud profile and Last.fm listening figures and writes a brief that keeps the two audiences apart, because they measure different things.
Run it for every artist on a shortlist on the same day.
Tool calls, in order
1. POST /v1/music/soundcloud/artist
The profile shows the artist's own channel: followers and how much is published there.
What to read in the answer. Check the display name and city to confirm the right profile. A last modified date of 1970 means no date was available, so ignore it.
curl -X POST https://api.foxapis.com/v1/music/soundcloud/artist \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{"artist":"bonobo"}'
A real answer (saved 2026-11-22)
{
"display_name": "bonobo",
"followers": 1106502,
"tracks_count": 229,
"playlist_count": 52,
"city": "Los Angeles",
"country": "United States",
"verified": false,
"soundcloud_url": "https://soundcloud.com/bonobo?utm_medium=api&utm_campaign=social_sharing&utm_source=id_328220"
}2. POST /v1/music/lastfm/artist
Listening data adds genre tags and similar artists, useful for building a bill.
What to read in the answer. Listeners is an all time total, not a monthly figure. Divide plays by listeners for a rough sense of repeat listening, and use similar artists as ideas to check.
curl -X POST https://api.foxapis.com/v1/music/lastfm/artist \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{"artist":"Radiohead"}'
A real answer (saved 2026-11-22)
{
"name": "Radiohead",
"listeners": 8525004,
"playcount": 1437305784,
"on_tour": false,
"tags": [
"rock",
"alternative"
],
"similar_artists": [
"Thom Yorke",
"Atoms for Peace"
],
"listeners_note": "Total unique listeners (all-time cumulative, not monthly)"
}Instruction to paste into your agent
You write one page artist briefs for bookers. Fetch the SoundCloud profile and the Last.fm artist by name, confirm both refer to the same act, and report each source in its own block with the capture date. Add tags and three similar artists. Say clearly that listener totals are all time. Give no fee estimate.
Rules the agent should follow
- Never add followers and listeners together.
- Compare artists only on figures captured the same day.
- Confirm names, since two acts can share one.
- If either source returns nothing for a name, leave that block empty with the reason, and try the spelling the artist uses on their own site before writing that there is no profile.
What the agent hands back
A page per artist with two clearly separate blocks, one for each source, the capture date on both, genre tags, three similar artists to explore and a line saying what each audience number counts.
What a person still does
The booker listens to the music, looks at recent tour history and ticket results from promoters, asks the agent or manager about fee and availability, and judges fit with the venue and the rest of the bill.
Limits
- No streaming revenue, ticket sales or fees are returned.
- The two samples are different artists, chosen to show each answer.
- An on tour flag is not a tour schedule.
Cost of one run
POST /v1/music/soundcloud/artist: 1 creditsPOST /v1/music/lastfm/artist: 3 credits
Total for one pass, taking one record or lookup from each call above, in credits: 4. Repeating a call costs it again. What a credit costs · Get a free key
MCP setup
The live MCP server offers soundcloud_artist, lastfm_artist. 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": "soundcloud_artist",
"description": "The profile shows the artist's own channel: followers and how much is published there.",
"parameters": {
"type": "object",
"properties": {
"artist": {
"type": "string"
}
},
"required": [
"artist"
]
},
"http": {
"method": "POST",
"url": "https://api.foxapis.com/v1/music/soundcloud/artist"
}
},
{
"name": "lastfm_artist",
"description": "Listening data adds genre tags and similar artists, useful for building a bill.",
"parameters": {
"type": "object",
"properties": {
"artist": {
"type": "string"
}
},
"required": [
"artist"
]
},
"http": {
"method": "POST",
"url": "https://api.foxapis.com/v1/music/lastfm/artist"
}
}
]
Pages for these calls
More blueprints
Streamer check agent · Chess coach agent · Check a UK supplier · Triage posts for buying intent · all of them