← Back to directory

AnyAPI twitter.search (X / Twitter Search)

https://api.getanyapi.com/v1/run/twitter.search

Overview

AnyAPI twitter.search (X / Twitter Search)

Protocol x402
Price
Payment Asset USD Coin
Payment Network Base
Category tools/search
Provider getanyapi
Source bazaar
Indexed 2026-06-23 08:15:16

Health

Status degraded
Latency (p50) 365ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-08-14 08:30:42
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Invalid
Asset Verified
Facilitator

Input Schema

{ "bodyFields": { "lang": { "description": "Optional ISO 639-1 language code to restrict tweets to (e.g. en).", "type": "string" }, "limit": { "description": "Maximum number of results to return (1–50, default 50). You are billed per result returned, so a lower limit costs less.", "maximum": 50, "minimum": 1, "type": "integer" }, "query": { "description": "Search query using X advanced-search syntax. IMPORTANT: terms are ANDed - a tweet must contain EVERY word, so a list of loosely related keywords matches nothing. Use one short phrase, or OR between alternatives (e.g. 'anyapi OR getanyapi'). Useful operators: from:user, since:YYYY-MM-DD, \"exact phrase\", -filter:replies. A query with no matches returns an empty items array; prefer the fewest words that identify the topic.", "type": "string" }, "queryType": { "default": "Latest", "description": "Result ranking: 'Latest', 'Top', 'Photos', or 'Videos' (e.g. Latest).", "type": "string" } }, "bodyType": "json", "discoverable": true, "method": "POST", "type": "http" }

Output Schema

{ "properties": { "costUsd": { "description": "Amount charged in USD for this call.", "type": "number" }, "items": { "description": "Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count.", "type": "integer" }, "output": { "additionalProperties": false, "properties": { "data": { "oneOf": [ { "type": "null" }, { "additionalProperties": false, "properties": { "items": { "description": "Tweet records: text, author profile, timestamp, and engagement metrics (likes, retweets, replies, views).", "items": { "properties": { "authorName": { "type": "string", "x-anyapi-must-populate": true }, "authorUsername": { "type": "string", "x-anyapi-must-populate": true }, "authorVerified": { "type": "boolean" }, "bookmarkCount": { "type": "integer" }, "conversationId": { "type": "string" }, "createdAt": { "description": "Tweet creation time.", "type": "string", "x-anyapi-must-populate": true }, "id": { "type": "string", "x-anyapi-must-populate": true }, "isReply": { "type": "boolean" }, "lang": { "type": "string" }, "likeCount": { "type": "integer" }, "quoteCount": { "type": "integer" }, "replyCount": { "type": "integer" }, "retweetCount": { "type": "integer" }, "text": { "type": "string", "x-anyapi-must-populate": true }, "url": { "type": "string", "x-anyapi-must-populate": true }, "viewCount": { "type": "integer" } }, "required": [ "id", "url", "text" ], "type": "object" }, "type": "array", "x-anyapi-must-populate": true } }, "required": [ "items" ], "type": "object" } ] }, "found": { "type": "boolean" } }, "required": [ "found", "data" ], "title": "X / Twitter search output", "type": "object" }, "provider": { "description": "Always \"AnyAPI\".", "type": "string" } }, "required": [ "output", "provider", "costUsd" ], "type": "object" }

Recent Health Checks

Time Status HTTP Latency Error
2026-08-14 08:30:42 degraded 401 1199ms
2026-08-14 02:25:23 degraded 401 385ms
2026-08-13 21:50:31 degraded 401 365ms
2026-08-13 15:45:19 degraded 401 597ms
2026-08-13 12:27:52 degraded 401 342ms
2026-08-13 05:20:06 degraded 401 312ms
2026-08-12 21:15:55 degraded 401 362ms
2026-08-12 16:46:09 degraded 401 372ms
2026-08-12 11:58:10 degraded 401 330ms
2026-08-12 07:40:28 degraded 401 376ms
2026-08-12 00:26:27 degraded 401 322ms
2026-08-11 21:34:56 degraded 401 363ms
2026-08-11 13:39:16 degraded 401 370ms