# Twitter/X Tweet Search API (x402atlas)

> Twitter/X Tweet Search API (x402atlas) is a paid API for AI agents from twit.use.x402atlas.com, paid per call via x402, $0.005/call, status down (last checked 2026-09-15).

Search Twitter/X tweets using structured filters and raw X search syntax, returning up to 20 tweets per page with full text, author profile, and engagement metrics.

## Facts

- Endpoint: GET https://twit.use.x402atlas.com/search
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twitter-x-tweet-search-api-x402atlas-9e664586
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3HhROGkbBwJZ_Mu0FZRhY

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 twitter-x-tweet-search-api-x402atlas-9e664586
```

Example prompt: Can you find the latest tweets from @elonmusk about bitcoin that have at least 500 likes, posted since January 1 2025? Return the most recent ones first.

## When to prefer this

Use this endpoint when you need to search or monitor Twitter/X content with structured filters like keyword combinations, user-specific tweets, hashtag tracking, engagement thresholds, or date ranges. Prefer this over generic web search when the goal is specifically Twitter/X data with rich engagement metrics and pagination support.

## Known failure modes

- No results found for the given filter combination — returns empty tweet list
- Invalid date format for since/until parameters — returns 400 error
- Missing required search parameter (at least one of words, phrase, any_words, hashtags, from, to, mentioning, search_query) — returns 400 error
- Invalid cursor value causes pagination failure
- Rate limiting or payment failure returns 402 or 429 error
- Extremely restrictive filter combinations (e.g. very high min_likes with rare keywords) yield zero results

## How this service works

Search Twitter/X with structured filters or raw advanced-search syntax. Returns up to 20 normalized tweets with full text, author details, engagement metrics and a pagination cursor.

## Output

A JSON object containing up to 20 tweets per page, each with full tweet text, author profile information, engagement metrics (likes, retweets, replies, quotes, views), tweet ID, and a pagination cursor for fetching subsequent pages.

## 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",
     "properties": {
      "words": {
       "type": "string",
       "description": "Tweets containing all these words"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "type": {
       "enum": [
        "top",
        "latest"
       ],
       "type": "string",
       "description": "Result ranking used for this page"
      },
      "query": {
       "type": "string",
       "description": "The assembled X advanced-search query string sent upstream"
      },
      "cursor": {
       "type": "string",
       "description": "Pagination cursor for the next page, if any"
      },
      "tweets": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "id": {
          "type": "string",
          "description": "Tweet ID"
         },
         "lang": {
          "type": "string",
          "description": "BCP-47 language code"
         },
         "text": {
          "type": "string"
         },
         "urls": {
          "type": "array",
          "items": {
           "type": "string"
          },
          "description": "Expanded URLs linked in the tweet"
         },
         "likes": {
          "type": "integer"
         },
         "views": {
          "type": "integer"
         },
         "author": {
          "type": "object",
          "properties": {
           "id": {
            "type": "string"
           },
           "name": {
            "type": "string"
           },
           "avatar": {
            "type": "string"
           },
           "verified": {
            "type": "boolean",
            "description": "Blue-check verification status"
           },
           "followers": {
            "type": "integer"
           },
           "description": {
            "type": "string"
           },
           "screen_name": {
            "type": "string"
           }
       
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twitter-x-tweet-search-api-x402atlas-9e664586/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twit.use.x402atlas.com](https://www.zero.xyz/host/twit.use.x402atlas.com/llms.txt)
