83trust / 100

X Search

by SCRIPTMASTERLABS in Search & web

x402 APIPassing, checked 2 h ago

Public X/Twitter search API for AI agents. Search recent public posts by keyword without requiring the caller to maintain a separate X developer account.

GET https://squeezeos-api.onrender.com/api/x/search

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
221 ms typical, 605 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://squeezeos-api.onrender.com/api/x/search?max_results=10&q=x402&type=Latest"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsqueezeos-api.onrender.com%2Fapi%2Fx%2Fsearch
const res = await pay("https://squeezeos-api.onrender.com/api/x/search?max_results=10&q=x402&type=Latest");
console.log(await res.json());

Example input

{
  "max_results": "10",
  "q": "x402",
  "type": "Latest"
}

Example output

{
  "product": "SML Public X Search",
  "provenance": {
    "provider": "twitterapis",
    "public_read_only": true
  },
  "query": "x402",
  "result_count": 1,
  "results": [
    {
      "author": {
        "username": "<public-handle>"
      },
      "created_at": "<source-timestamp>",
      "id": "<public-post-id>",
      "text": "<public-post-text>",
      "url": "https://x.com/<public-handle>/status/<public-post-id>"
    }
  ],
  "status": "ready",
  "type": "Latest"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402766 ms$0.0048
5 h agoPassed402605 ms$0.0048
8 h agoPassed402212 ms$0.0048
13 h agoPassed402221 ms$0.0048