# SocialFetch Tweet Lookup

> SocialFetch Tweet Lookup is a paid API for AI agents from api.socialfetch.dev, paid per call via x402, $0.014/call, status unknown (last checked 2026-09-14).

Fetches a single tweet's data by its permalink URL from the Twitter/X platform.

## Facts

- Endpoint: GET https://api.socialfetch.dev/v1/twitter/tweets
- Price: $0.014/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/socialfetch-tweet-lookup-1ad4fd4d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a-7bee8sRc19Bi_z8-Zt9

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 socialfetch-tweet-lookup-1ad4fd4d
```

Example prompt: Can you pull the tweet from this link for me — https://twitter.com/elonmusk/status/1234567890 — and show me what it says along with the author info?

## When to prefer this

Use this endpoint when you need structured data for a single, specific tweet identified by its permalink URL — ideal for monitoring, archiving, fact-checking, or enriching tweet links shared by users. Prefer this over scraping when you need reliable, structured JSON output without browser automation.

## Known failure modes

- Invalid or malformed tweet URL returns a 400 error
- Tweet has been deleted or made private returns a 404 or access-denied error
- Rate limiting or payment failure returns a 402 or 429 error
- Twitter/X platform outage causes upstream timeout or 503
- URL pointing to a non-tweet page (e.g. a profile) causes unexpected or empty result

## How this service works

Get a single tweet by URL.

## Output

Returns a structured object containing the tweet's text content, author profile information (handle, display name, avatar), tweet core metadata (timestamp, engagement counts), and any media attachments. With the optional `trim` flag set to true, the author profile and core metadata are omitted for a leaner response.

## 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",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "maxLength": 4096,
       "minLength": 1,
       "description": "Tweet permalink or numeric id."
      },
      "trim": {
       "type": "boolean",
       "description": "Optional: omit the author profile card for a smaller response."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/socialfetch-tweet-lookup-1ad4fd4d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.socialfetch.dev](https://www.zero.xyz/host/api.socialfetch.dev/llms.txt)
