mirrored listing x402 solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpeip155:8453eip155:143

Fetch a tweet (with thread context) by URL/id or a user (with recent tweets) from one URL

Fetch a tweet (with thread context) by URL/id or a user (with recent tweets) from one URL

Do you run glim.sh? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
5000 (raw units)
price
18
calls / 30d
4
unique payers
2026-09-09
updated

Provider

glim.sh · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "9MkM5Ra48KFcSv9HDQ8sb3C3r5HjouEwGQ6sp1cx1vde",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xC751344Ee09B5159160173F77D4a1169bCd386A1",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:143",
    "payTo": "0xC751344Ee09B5159160173F77D4a1169bCd386A1",
    "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "ref": "https://x.com/karpathy/status/1585841080431321088"
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "parent": null,
          "thread": [],
          "tweet": {
            "id": "123",
            "text": "Hello"
          }
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "properties": {
                "cursor": {
                  "description": "Profile refs only: pagination cursor",
                  "maxLength": 500,
                  "type": "string"
                },
                "expand_urls": {
                  "default": false,
                  "description": "When true, auto-crawl entity URLs and attach crawled_content to tweets. Off by default: responses can grow by up to 4KB per expanded URL. Use glim_web_crawl(url) for targeted crawls instead.",
                  "type": "boolean"
                },
                "include": {
                  "description": "Tweet refs only: extra sections to include (replies, quotes)",
                  "items": {
                    "enum": [
                      "replies",
                      "quotes"
                    ],
                    "type": "string"
                  },
                  "type": "array"
                },
                "include_mentions": {
                  "default": false,
                  "description": "Profile refs only: include the mentions timeline",
                  "type": "boolean"
                },
                "include_replies": {
                  "default": false,
                  "description": "Profile refs only: include replies in the timeline",
                  "type": "boolean"
                },
                "ref": {
                  "description": "Tweet URL/id or profile URL. Tweet URLs including /i/status/<id> and bare numeric tweet ids return the tweet + thread; a profile URL (https://x.com/<handle>) returns the user + recent tweets.",
                  "maxLength": 2048,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "ref"
              ],
              "type": "object"
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://glim.sh/api/v1/twitter/get"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://glim.sh/api/v1/twitter/get");
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://glim.sh/api/v1/twitter/get")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/242.json, and this resource appears in /discovery/resources and /discovery/search.