# PrimeAPI AI Hashtag Search

> PrimeAPI AI Hashtag Search is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.068188/call, status unknown (last checked 2026-09-15).

Searches for trending or relevant hashtags on X (Twitter) based on a query string

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/ai/hashtag
- Price: $0.068188/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-ai-hashtag-search-e35a80b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9YOzxb7G_qNXI2QtqZ6ZG

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 primeapi-ai-hashtag-search-e35a80b7 -d '<json body>'
```

Example prompt: What are the best hashtags I should use on X for a post about artificial intelligence and machine learning? Search for the most relevant and trending ones.

## When to prefer this

Choose this endpoint when an AI agent needs to discover relevant or trending hashtags on X (Twitter) for a given topic, keyword, or campaign — especially when building social media content strategies, optimizing post reach, or researching what tags are popular in a niche. Useful when the agent does not have direct X API access or API keys.

## Known failure modes

- Empty or vague query returns no meaningful hashtags
- Query too broad results in generic or low-value hashtags
- Rate limiting or upstream X API unavailability returns an error
- Payment failure in USDC results in 402 response blocking the call
- Trending data may be stale if not refreshed in real time

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

A list of relevant or trending hashtags on X (Twitter) related to the provided query, potentially including engagement metrics or popularity signals for each tag.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-ai-hashtag-search-e35a80b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
