# Lemmy Federated Forum Search

> Lemmy Federated Forum Search is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Searches posts across Lemmy (federated Reddit-alternative) instances, returning titles, communities, creators, scores, comments, URLs, and ActivityPub IDs

## Facts

- Endpoint: GET https://api.x402node.dev/forum/lemmy
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-5ffd432e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pSQ5dQarBAbdq-RAPe2ud

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 api-x402node-dev-5ffd432e
```

Example prompt: Search Lemmy for the top 10 posts about 'Rust programming language' on lemmy.world and tell me what the community is saying — titles, scores, and a snippet of each post body.

## When to prefer this

Choose this endpoint when you need to search open community discussions on the Fediverse/Lemmy without hitting Reddit's anti-scraping restrictions. Ideal for AI agents researching open-source project sentiment, developer community opinion, or niche hobby topics where Lemmy communities are active. Preferable to Reddit scraping tools due to Lemmy's permissive, open API design and ActivityPub federation metadata.

## Known failure modes

- No results found for obscure or misspelled query terms
- Specified Lemmy instance is offline or unreachable — returns error or empty result
- Rate limiting or payment failure returns 402 status
- Invalid or malformed query parameter returns 400 error
- Instance parameter points to non-Lemmy or incompatible ActivityPub server

## How this service works

Search Lemmy (federated Reddit alternative, fully open API) posts across instances. Returns title, community, creator, score, comments, url, body, ap_id (ActivityPub federation ID). Use ?q=YOUR_QUERY plus optional and instance=lemmy.world and limit=10. Built for AI agents researching open-source community sentiment with stable scraper-friendly API (Reddit blocks scraping; Lemmy is permissive). Accepts payment on Base or Solana — either network works.

## Output

Returns a list of Lemmy posts matching the query, each with: post title, community name, creator username, score (upvotes), comment count, post URL, post body text, and ap_id (ActivityPub federation identifier for cross-instance tracking).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Search query (required)"
      },
      "limit": {
       "type": "string",
       "description": "Max results (optional)"
      },
      "instance": {
       "type": "string",
       "description": "Instance (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-5ffd432e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
