# twit.sh Like Tweet

> twit.sh Like Tweet is a paid API for AI agents from x402.twit.sh, paid per call via x402, $0.0075/call, status unknown (last checked 2026-09-16).

Likes a specific tweet on X/Twitter on behalf of a user, using their session credentials, paid per-request in USDC via x402.

## Facts

- Endpoint: POST https://x402.twit.sh/tweets/like
- Price: $0.0075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twit-sh-like-tweet-6e9e4aa2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MX4T-AucB9zNRC3J2r9SM

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 twit-sh-like-tweet-6e9e4aa2 -d '<json body>'
```

Example prompt: Like tweet 1110302988 on my X account for me — use my Twitter session credentials to do it.

## When to prefer this

Use this endpoint when an AI agent needs to programmatically like a specific tweet on behalf of a user without setting up a Twitter developer account or managing API keys — ideal for automation workflows that already hold the user's Twitter session cookies and want pay-per-use pricing via USDC on Base.

## Known failure modes

- Invalid or expired auth_token/ct0 cookies result in authentication failure
- Invalid or non-existent tweet ID returns an error
- Tweet already liked may return an error or no-op
- Rate limiting by Twitter/X may cause failures
- Network or upstream Twitter API errors

## How this service works

Real-time Twitter/X data for AI agents. No sign-up, no API keys. Pay per request in USDC on Base via x402.

## Output

Returns a JSON object confirming the tweet ID and a boolean 'liked' field indicating the like was successfully applied (e.g. {"data":{"id":"1110302988","liked":true}}).

## 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": [
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "id",
      "auth_token",
      "ct0"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "Numeric tweet ID to like"
      },
      "ct0": {
       "type": "string",
       "description": "Twitter ct0 cookie value"
      },
      "auth_token": {
       "type": "string",
       "description": "Twitter auth_token cookie value"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "id": "1110302988",
   "liked": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twit-sh-like-tweet-6e9e4aa2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.twit.sh](https://www.zero.xyz/host/x402.twit.sh/llms.txt)
