# SocialFetch X Hashtag Search

> SocialFetch X Hashtag Search is a paid API for AI agents from api.socialfetch.dev, paid per call via x402, $0.014/call, status unknown (last checked 2026-09-15).

Search X (Twitter) posts by a specific hashtag, with optional section filtering and pagination.

## Facts

- Endpoint: GET https://api.socialfetch.dev/v1/twitter/hashtags
- Price: $0.014/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/socialfetch-x-hashtag-search-6c31d683
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j205tTpYdBwCFtUrK7kla

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 socialfetch-x-hashtag-search-6c31d683
```

Example prompt: Pull the latest 20 posts from the #AI hashtag on X, using the 'latest' section so I get the most recent ones first.

## When to prefer this

Use this endpoint when you need to search X posts by a specific hashtag (e.g. #Bitcoin) rather than free-text keywords — for free-text keyword search, use the sibling twitter.search.list endpoint instead. Prefer this when you need section-specific feeds (top, latest, photos, videos, people) or paginated hashtag results.

## Known failure modes

- Missing required 'hashtag' parameter returns a validation error
- Hashtag exceeding 256 characters is rejected
- Invalid 'section' enum value causes a bad request error
- Expired or invalid pagination cursor returns an error or empty results
- Rate limiting or downstream X API unavailability returns a 5xx error
- Requesting a limit above 20 is silently capped or rejected

## How this service works

Search X posts by hashtag (not free-text keyword — use twitter.search.list for that).

## Output

A list of X (Twitter) posts matching the given hashtag, filtered by optional section (top, latest, people, photos, videos), with a pagination cursor for fetching subsequent pages and up to 20 results per call.

## 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": [
      "hashtag"
     ],
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 20,
       "minimum": 1,
       "description": "Optional page size (1–20). Best-effort; the actual page size may differ."
      },
      "cursor": {
       "type": "string",
       "minLength": 1,
       "description": "Opaque pagination cursor returned by a previous response."
      },
      "hashtag": {
       "type": "string",
       "maxLength": 256,
       "minLength": 1,
       "description": "Hashtag to search, with or without a leading #."
      },
      "section": {
       "enum": [
        "top",
        "latest",
        "people",
        "photos",
        "videos"
       ],
       "type": "string",
       "default": "top",
       "description": "Hashtag feed section: `top` (default), `latest`, `people`, `photos`, or `videos`."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/socialfetch-x-hashtag-search-6c31d683/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.socialfetch.dev](https://www.zero.xyz/host/api.socialfetch.dev/llms.txt)
