# Tokenguard Lemmy Social Posts Endpoint

> Tokenguard Lemmy Social Posts Endpoint is a paid API for AI agents from eltociear-tokenguard.hf.space, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Fetches top Lemmy community posts related to a crypto/DeFi topic, returning scored posts with titles, URLs, and comment counts from a specified Lemmy instance

## Facts

- Endpoint: POST https://eltociear-tokenguard.hf.space/social/lemmy
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenguard-lemmy-social-posts-endpoint-78d0db42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1Utau-PzOV50v7Sf4aGdS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tokenguard-lemmy-social-posts-endpoint-78d0db42 -d '<json body>'
```

Example prompt: Can you pull the top Lemmy posts about Ethereum from lemmy.world and show me the titles, scores, and how many comments each one has?

## When to prefer this

Choose this endpoint when you need community-driven social signals from the federated Lemmy platform specifically about crypto or DeFi topics, as opposed to Twitter/Reddit social data. Ideal for agents analyzing decentralized social sentiment or monitoring grassroots crypto discussions outside mainstream platforms.

## Known failure modes

- Lemmy instance unreachable or offline — returns error or empty posts array
- Invalid or unknown Lemmy instance — 404 or connection error
- No matching posts found for the given query — returns count:0 and empty array
- Rate limiting or payment failure via x402 micropayment — 402 or 429 status
- Malformed request body — 400 bad request

## How this service works

Lemmy (fediverse link aggregator) posts from an instance or a single community, with score and comment counts

## Output

A JSON object containing a count of posts, the Lemmy instance queried, and an array of post objects each with a URL, title, numeric score, and comment count — useful for gauging community sentiment or discovering trending crypto discussions on decentralized social platforms.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sort": {
   "type": "string",
   "description": "Hot | New | TopDay | Active"
  },
  "limit": {
   "type": "integer",
   "description": "1-50 posts (default 20)"
  },
  "instance": {
   "type": "string",
   "description": "Lemmy host (default lemmy.world)"
  },
  "community": {
   "type": "string",
   "description": "Community name, e.g. technology"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "posts": [
   {
    "url": "https://…",
    "score": 231,
    "title": "…",
    "comments": 47
   }
  ],
  "instance": "lemmy.world"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenguard-lemmy-social-posts-endpoint-78d0db42/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eltociear-tokenguard.hf.space](https://www.zero.xyz/host/eltociear-tokenguard.hf.space/llms.txt)
