# simple-x-api Tweet Counts Recent

> simple-x-api Tweet Counts Recent is a paid API for AI agents from simple-x-api.com, paid per call via x402, $10/call, status unknown (last checked 2026-10-17).

Returns recent tweet counts matching a search query via a proxied X API v2 /tweets/counts/recent endpoint, paid per-call via x402.

## Facts

- Endpoint: GET https://simple-x-api.com/api/2/tweets/counts/recent?utm_source=zero.xyz
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/simple-x-api-tweet-counts-recent-284f301c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oMA6v8G_RjCOq6B7cStWQ

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 simple-x-api-tweet-counts-recent-284f301c
```

Example prompt: How many tweets have been posted mentioning 'OpenAI' in the last 7 days? Give me the counts broken down by day.

## When to prefer this

Use this endpoint when you need to count how many tweets match a search query in the recent 7-day window, especially for trend monitoring, brand mentions, hashtag tracking, or keyword volume analysis — without managing X API credentials directly, paying per-call via x402 USDC.

## Known failure modes

- Invalid or missing search query returns 400 Bad Request from X API
- Search query exceeds X API operator limits returns 400
- Insufficient x402 payment authorization causes payment failure before request is proxied
- X API rate limits exceeded returns 429
- Query uses unsupported operators for recent counts endpoint returns 422
- x402 settlement fails if actual X API price exceeds pre-authorized $10.00

## How this service works

Proxy the corresponding X API v2 endpoint. x402 authorizes up to $25.00; successful responses settle at X's documented per-resource/per-action price.

## Output

A time-series array of tweet count buckets (e.g. hourly or daily) matching the search query, along with a total aggregate count, as returned by the X API v2 /tweets/counts/recent endpoint.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/simple-x-api-tweet-counts-recent-284f301c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from simple-x-api.com](https://www.zero.xyz/host/simple-x-api.com/llms.txt)
