Home · Agents · Blueprints · Post evidence agent

AI agent that records a Bluesky or Mastodon post as evidence

The job

A screenshot of a post proves little: it can be edited and it carries no source. Given a public link on Bluesky or Mastodon, this agent saves what the post says, who the account is, when it was published and its counts at the moment of capture.

Run it as soon as a post matters, to a complaint, a story or a campaign, because posts can be edited or removed.

Tool calls, in order

1. POST /v1/social/bluesky/post

The answer carries both the publication time and the capture time, which is what makes it a record.

What to read in the answer. Keep the date source and the content identifiers in the extra fields; they help show which version was captured. Counts are only true at the capture time.

curl -X POST https://api.foxapis.com/v1/social/bluesky/post \
  -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"url":"https://bsky.app/profile/bsky.app/post/3n27yge3hys24"}'
A real answer (saved 2026-11-22)
{
 "url": "https://bsky.app/profile/bsky.app/post/3n27yge3hys24",
 "text": "I heard Bluesky gets all its breaking news from Flavor Flav",
 "author_handle": "bsky.app",
 "published_at": "2026-11-13T22:03:20.663Z",
 "date_source": "bluesky_atproto_api",
 "likes": 7635,
 "reposts": 672,
 "comments_count": 206,
 "extracted_at": "2026-11-22T01:32:42.929481+00:00"
}

2. POST /v1/social/mastodon/post

Mastodon posts live on many servers, so the link and the server name are part of the evidence.

What to read in the answer. Record the instance and the visibility setting. A verified mark on Mastodon usually relates to links the account proved, so do not present it as identity checked.

curl -X POST https://api.foxapis.com/v1/social/mastodon/post \
  -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"url":"https://mastodon.social/@Gargron/117621282276303009"}'
A real answer (saved 2026-11-22)
{
 "text": "#SilentSunday",
 "author_name": "Eugen Rochko",
 "author_handle": "Gargron",
 "author_verified": true,
 "published_at": "2026-11-15T15:58:55.527Z",
 "likes": 251,
 "reposts": 59,
 "hashtags": [
  "silentsunday"
 ]
}

Instruction to paste into your agent

You record social posts as evidence. For each link choose the matching tool, then return the post text exactly, the account handle, published time, capture time and counts, plus the raw answer. Never paraphrase the post inside the record. If the post cannot be read, say so and give the time you tried.

Rules the agent should follow

What the agent hands back

A record per link holding the exact text, account handle, publication time, capture time, counts, the raw answer and, for failures, the time of the attempt. Store the records where they cannot be edited later.

What a person still does

A person checks the post in a browser while it is still up, notes the surrounding thread where context changes the meaning, takes legal advice on preservation if a dispute is likely, and decides what may be published about the account holder.

Limits

When a Mastodon read behaves differently than last month, check the Mastodon changelog, release by release.

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 bluesky_post, mastodon_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": "bluesky_post",
    "description": "The answer carries both the publication time and the capture time, which is what makes it a record.",
    "parameters": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        }
      },
      "required": [
        "url"
      ]
    },
    "http": {
      "method": "POST",
      "url": "https://api.foxapis.com/v1/social/bluesky/post"
    }
  },
  {
    "name": "mastodon_post",
    "description": "Mastodon posts live on many servers, so the link and the server name are part of the evidence.",
    "parameters": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        }
      },
      "required": [
        "url"
      ]
    },
    "http": {
      "method": "POST",
      "url": "https://api.foxapis.com/v1/social/mastodon/post"
    }
  }
]

Pages for these calls

More blueprints

Artist brief agent · Streamer check agent · Chess coach agent · Check a UK supplier · all of them