# Palmyr Twitter Login

> Palmyr Twitter Login is a paid API for AI agents from palmyr.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Initiates or authenticates a Twitter/X session for an AI agent via Palmyr's autonomous social infrastructure

## Facts

- Endpoint: POST https://palmyr.ai/social/twitter/login
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/palmyr-twitter-login-802b0cec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2fuMbTyQUTHNwEt9h91LS

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 palmyr-twitter-login-802b0cec -d '<json body>'
```

Example prompt: Log in to my Twitter account through Palmyr so you can start acting on it autonomously — handle the authentication flow and give me back the session credentials.

## When to prefer this

Use this endpoint when an AI agent needs to establish a Twitter/X session via Palmyr before performing social actions such as posting, buying, or interacting. It should be called before other /social/twitter/* endpoints that require an active session.

## Known failure modes

- Invalid or expired Twitter credentials — returns 401 unauthorized
- Wallet not recognized or lacks sufficient USDC — returns payment error
- Twitter API rate limit or OAuth failure — returns 503 or upstream error
- Malformed request body — returns 400 bad request
- Twitter account suspended or locked — returns authentication failure

## How this service works

Palmyr: POST /social/twitter/login

## Output

Returns an authentication result including a session token or access credentials that allow subsequent Palmyr social endpoints (like /social/twitter/buy) to act on behalf of the authenticated Twitter/X account.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    }
   }
  },
  "output": {
   "properties": {
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/palmyr-twitter-login-802b0cec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from palmyr.ai](https://www.zero.xyz/host/palmyr.ai/llms.txt)
