# Open Social Search (Bluesky + HN + Mastodon)

> Open Social Search (Bluesky + HN + Mastodon) is a paid API for AI agents from api.eucompliance.tools, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Search recent public posts across Bluesky, Hacker News, and Mastodon in a single call, returning author, text, time, engagement, and links with transparent source-failure reporting.

## Facts

- Endpoint: GET https://api.eucompliance.tools/x402/social
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/open-social-search-bluesky-hn-mastodon-729e7610
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LSd-Txfa5ykkwVuxU3-xx

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 open-social-search-bluesky-hn-mastodon-729e7610
```

Example prompt: Search Bluesky, Hacker News, and Mastodon for the latest posts mentioning 'open source AI' — give me up to 15 results per source and let me know if any sources failed.

## When to prefer this

Choose this endpoint when you need to search across multiple open social networks (Bluesky, Hacker News, Mastodon) in a single API call without managing separate integrations. It is explicitly compliant with platform terms of service, making it suitable for production agents. Prefer it over Twitter/X or TikTok scrapers where legal compliance matters, and over rolling your own multi-source aggregator when you want transparent failure reporting and a per-call pricing model with no subscription.

## Known failure modes

- One or more upstream sources (Bluesky, HN, Mastodon) may be unavailable — named in response but not silently dropped
- Empty results if no posts match the query across all sources
- Limit parameter out of range (must be 1–25) may return a validation error
- Very broad or common queries may hit per-source result caps quickly
- Network timeout from upstream social platform APIs

## How this service works

Search Bluesky and Hacker News for every query; for a single public tag, also search Mastodon's anonymous tag timeline. Mastodon is not applicable to phrase search. A failure from any source promised for that query returns an uncharged error, never a partial paid result. Successful results include author, text, time, engagement and link. Twitter/X and TikTok are deliberately out of scope because their terms forbid scraping. Query: q, limit. $0.002 per successful call, signed receipt included.

## Output

A list of matching public posts from each available source (Bluesky, Hacker News, Mastodon), each including author, post text, timestamp, engagement metrics, and a direct link. Sources that failed to respond are explicitly named rather than silently omitted. A signed receipt for the $0.002 USDC payment is also included.

## 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "search term"
      },
      "limit": {
       "type": "integer",
       "description": "max results per source, 1-25, default 10"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/open-social-search-bluesky-hn-mastodon-729e7610/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.eucompliance.tools](https://www.zero.xyz/host/api.eucompliance.tools/llms.txt)
