# API Direct Forum Posts Search

> API Direct Forum Posts Search is a paid API for AI agents from x402.apidirect.io, paid per call via x402, $0.009/call, status unknown (last checked 2026-10-30).

Search for forum posts, Q&A threads, and community board discussions across the web with optional sentiment analysis.

## Facts

- Endpoint: GET https://x402.apidirect.io/v1/forums/posts?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-direct-forum-posts-search-73f08123
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bW6j2U1QQQSDjpFKJeL-k

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-direct-forum-posts-search-73f08123
```

Example prompt: Search forum posts and community boards for discussions about 'remote work burnout' from the past month in the US, and include sentiment analysis so I can see how people emotionally feel about it.

## When to prefer this

Choose this endpoint when you need to surface community opinions, user discussions, troubleshooting threads, or Q&A content from forum-style platforms across the web. It is particularly valuable when you need optional AI-powered sentiment and emotion analysis on each post. Prefer this over social media search endpoints when the target content is discussion-board or Q&A format rather than short-form social posts.

## Known failure modes

- Empty query or query exceeding 500 characters returns 400
- Page number above 10 returns 400
- Invalid country code (not exactly 2 letters) returns 400
- Time filter value outside allowed enum returns 400
- No matching forum posts found returns empty results
- Network timeout on slow upstream crawl

## How this service works

Search for forum posts across the web, including discussion boards, Q&A sites, and community boards.

## Output

A paginated list of forum posts and community discussion threads matching the query (10 results per page, up to page 10). Each result includes post content and metadata. When get_sentiment is enabled, each post also includes a sentiment object with emotion scores (joy, trust, fear, surprise, sadness, disgust, anger, anticipation each scored 0–100), a dominant_emotion field, an emotional_intensity score (0–10), and a polarity label (positive, negative, or neutral).

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "page": {
       "type": "integer",
       "default": 1,
       "maximum": 10,
       "minimum": 1,
       "description": "Page number for pagination, 1-10 (default: 1). Results are paginated 10 at a time, so page=2 starts at the 11th result. Values below 1, and values that are not numbers, are treated as 1. A page above 10 returns 400."
      },
      "time": {
       "enum": [
        "any",
        "hour",
        "day",
        "week",
        "month",
        "year"
       ],
       "type": "string",
       "default": "any",
       "description": "Filter by time period. 'any' applies no time filter. Any value outside this list returns 400."
      },
      "query": {
       "type": "string",
       "maxLength": 500,
       "description": "Search query (max 500 characters). Leading and trailing whitespace is trimmed, and the query must not be empty."
      },
      "country": {
       "type": "string",
       "maxLength": 2,
       "minLength": 2,
       "description": "ISO 3166-1 alpha-2 country code (e.g., US, GB, DE). Case-insensitive. Any value that is not exactly 2 letters returns 400."
      },
      "get_sentiment": {
       "type": "boolean",
       "default": false,
       "description": "Set to true to add AI emotion analysis to each post. Adds a `sentiment` object containing `emotions` (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), `dominant_emotion`, `emotional_intensity` (0-10), and `polarity` (positive, negative or neutral). Any post t"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-direct-forum-posts-search-73f08123/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.apidirect.io](https://www.zero.xyz/host/x402.apidirect.io/llms.txt)
