Home · Agents · Blueprints · Sponsor research agent

AI agent that researches a Substack newsletter before sponsorship

The job

Before paying to sponsor a newsletter, a marketer wants to know what it covers and what a typical post looks like. This agent reads the publication's public description and one recent post, and turns them into a fit note that is honest about the numbers nobody outside can see.

Run it for each newsletter on a sponsorship shortlist.

Tool calls, in order

1. POST /v1/content/substack/publication

The publication's own words about its subject are the first filter.

What to read in the answer. Compare the description with your buyer. Read the limitation note: subscriber counts are not public, so the answer will not give one.

curl -X POST https://api.foxapis.com/v1/content/substack/publication \
  -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"url":"https://www.lennysnewsletter.com/"}'

Sample coming. The answer we had saved for this call was close to empty, so we took it down.

2. POST /v1/content/substack/post

A single post shows whether the writing is free to read or behind a paywall, which affects who would see your message.

What to read in the answer. Check the paywall type and open the link yourself. In this sample the title returned is the publication's, so confirm the post title on the page.

curl -X POST https://api.foxapis.com/v1/content/substack/post \
  -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"url":"https://www.lennysnewsletter.com/p/how-to-build-a-product-business"}'

Sample coming. The answer we had saved for this call was close to empty, so we took it down.

Instruction to paste into your agent

You assess newsletters for sponsorship. Fetch the publication and one post the marketer names. Summarize the stated subject in two sentences, give the paywall type of the post, and score topic fit high, medium or low with a reason. Then list the questions to send the publisher: subscribers, open rate, sponsor price and past sponsors.

Rules the agent should follow

What the agent hands back

A fit note per newsletter: two sentences on the subject, the paywall type of the sample post, a high, medium or low fit with its reason, and the list of figures to request from the publisher before talking about money.

What a person still does

The marketer reads several recent posts, asks the publisher for audience numbers and past sponsor results, agrees how a placement will be labelled, and runs one small test with its own tracking link before buying a longer package.

Limits

Cost of one run

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 substack_publication, substack_post. 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": "substack_publication",
    "description": "The publication's own words about its subject are the first filter.",
    "parameters": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        }
      },
      "required": [
        "url"
      ]
    },
    "http": {
      "method": "POST",
      "url": "https://api.foxapis.com/v1/content/substack/publication"
    }
  },
  {
    "name": "substack_post",
    "description": "A single post shows whether the writing is free to read or behind a paywall, which affects who would see your message.",
    "parameters": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        }
      },
      "required": [
        "url"
      ]
    },
    "http": {
      "method": "POST",
      "url": "https://api.foxapis.com/v1/content/substack/post"
    }
  }
]

Pages for these calls

More blueprints

Post evidence agent · Artist brief agent · Streamer check agent · Chess coach agent · all of them