Search X posts or people by query
Search X posts or people by query.
14000 (raw units)
price
20
calls / 30d
3
unique payers
2026-09-18
updated
Provider
api.socialfetch.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x02C2fCAfCe36B4AAdB39625866Bc6B1699d83043",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "14000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"query": "what to watch this weekend"
},
"type": "http"
},
"output": {
"example": {
"data": {
"page": {
"hasMore": true,
"nextCursor": "eyJ2IjoxLCJjIjoiREFBRERBQUJDZ0FCSFI0ZDNfLVhzYVVLQUFJZEhoeXlSWm9BaGdBSUFBSUFBQUFDQ0FBREFBQUFBQWdBQkFBQUFBQUtBQVVkSGgzbU9…"
},
"people": [],
"tweets": [
{
"_truncated": true,
"author": {
"avatarUrl": null,
"blueVerified": null,
"displayName": null,
"handle": null,
"platformUserId": null,
"profileUrl": null,
"verified": null
},
"conversationId": "2098097636234440883",
"createdAt": "2026-09-10T20:31:18.000Z",
"createdAtLabel": null,
"createdAtUnix": 1789072278,
"id": "2098147324304273829",
"inReplyToStatusId": "2098097636234440883",
"language": "en",
"quotedStatusId": null,
"retweetTweetId": null,
"text": "@Necro_Ch_ NASA did nothing wrong !",
"url": "https://x.com/azraphbelzie/status/2098147324304273829"
}
]
},
"meta": {
"creditsCharged": 1,
"requestId": "req_example_twitter_search",
"version": "v1"
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"cursor": {
"description": "Opaque pagination cursor returned by a previous response.",
"minLength": 1,
"type": "string"
},
"endDate": {
"description": "Optional end date filter in YYYY-MM-DD format.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"language": {
"description": "Optional language filter.",
"enum": [
"en",
"es",
"fr",
"de",
"it",
"pt",
"ru",
"zh",
"ja",
"ko",
"ar",
"bg",
"hr",
"cs",
"da",
"nl",
"et",
"fi",
"el",
"hu",
"id",
"ga",
"lv",
"lt",
"no",
"pl",
"ro",
"sk",
"sl",
"sv",
"tr",
"uk",
"vi",
"cy",
"zu"
],
"type": "string"
},
"limit": {
"description": "Optional page size (1–20). Best-effort; the actual page size may differ.",
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"minLikes": {
"description": "Optional minimum like count filter.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"minReplies": {
"description": "Optional minimum reply count filter.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"minRetweets": {
"description": "Optional minimum retweet count filter.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"query": {
"description": "Search query for public posts on X.",
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"section": {
"default": "top",
"description": "Search section: `top` (default), `latest`, `people`, `photos`, or `videos`.",
"enum": [
"top",
"latest",
"people",
"photos",
"videos"
],
"type": "string"
},
"startDate": {
"description": "Optional start date filter in YYYY-MM-DD format.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.socialfetch.dev/v1/twitter/search" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.socialfetch.dev/v1/twitter/search");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.socialfetch.dev/v1/twitter/search")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3058.json, and this resource appears in /discovery/resources and /discovery/search.