# Mastodon

The posts trending on Mastodon right now — text, authors, and engagement.

- Method: `GET`
- Path: `/v1/social/mastodon/trending`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `limit` | integer | optional | Statuses to return, 1 to 40. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/social/mastodon/trending \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "statuses": [
      {
        "id": "117144886314987763",
        "url": "https://mastodon.social/@someone/117144886314987763",
        "text": "The fediverse works.",
        "author_account": "someone@mastodon.social",
        "author_name": "Someone",
        "posted_at": "2026-08-23T12:45:10.033Z",
        "reblogs": 412,
        "favourites": 1204,
        "replies": 88
      }
    ]
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ",
    "as_of": "2026-08-23T12:30:00.000Z",
    "age_seconds": 42,
    "next_update_at": "2026-08-23T12:35:00.000Z"
  }
}
```

**MCP**: callable from any AI agent via `call_api` with endpoint `mastodon-trending` — https://mcp.diraz.ae/mcp