# PayWeave Twitter – Follow Relationship Lookup

> PayWeave Twitter – Follow Relationship Lookup is a paid API for AI agents from twitter.payweave.services, paid per call via x402, $0.00177/call, status unknown (last checked 2026-09-14).

Checks whether two Twitter/X users follow each other by returning bidirectional follow relationship flags for a source and target handle pair.

## Facts

- Endpoint: GET https://twitter.payweave.services/users/follow-relationship
- Price: $0.00177/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payweave-twitter-follow-relationship-lookup-2b9094c9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PjjL506USnfxu1-oAkWQn

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 payweave-twitter-follow-relationship-lookup-2b9094c9
```

Example prompt: Check if the Twitter user 'openai' follows 'sama' and whether 'sama' follows them back — give me the bidirectional follow relationship.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call check of the directional follow relationship between exactly two Twitter/X users without requiring full OAuth user auth or a Twitter developer account. It's ideal for agents doing social graph enrichment, audience verification, or pre-campaign targeting checks at low cost ($0.00177/call).

## Known failure modes

- Invalid or non-existent handle returns an error or empty data object
- Missing required 'source' or 'target' fields causes a validation error
- Rate limiting or upstream twitterapi.io outage results in a failed response
- Handle provided with '@' prefix may cause lookup failure (handles must be without '@')
- Private/suspended accounts may return incomplete or null relationship data

## How this service works

X/Twitter data — tweets, users, communities, lists, articles, and trends.

## Output

Returns a JSON object with two boolean fields: 'following' (true if the source handle follows the target) and 'followed_by' (true if the target follows the source back), forwarded verbatim from twitterapi.io, along with a status string.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "anyOf": [
      {
       "not": {}
      },
      {
       "type": "object",
       "required": [
        "source",
        "target"
       ],
       "properties": {
        "source": {
         "type": "string",
         "minLength": 1,
         "description": "Handle of the source user (without @)."
        },
        "target": {
         "type": "string",
         "minLength": 1,
         "description": "Handle of the target user (without @)."
        }
       },
       "additionalProperties": false
      }
     ]
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "GET"
    },
    "bodyType": {
     "type": "string",
     "const": "json"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "example"
   ],
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object",
       "properties": {
        "following": {
         "type": "boolean",
         "description": "True if source follows target."
        },
        "followed_by": {
         "type": "boolean",
         "description": "True if target follows source."
        }
       },
       "additionalProperties": true
      },
      "status": {
       "type": "string"
      }
     },
     "description": "Follow-relationship JSON forwarded verbatim from twitterapi.io.",
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payweave-twitter-follow-relationship-lookup-2b9094c9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twitter.payweave.services](https://www.zero.xyz/host/twitter.payweave.services/llms.txt)
