# X Data Gateway – Profile Digest

> X Data Gateway – Profile Digest is a paid API for AI agents from x-data-gateway.annushka1190.workers.dev, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-15).

Fetches a compiled digest of a Twitter/X user's profile and recent tweet activity including engagement statistics

## Facts

- Endpoint: GET https://x-data-gateway.annushka1190.workers.dev/workflows/profile-digest
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x-data-gateway-profile-digest-e7d39fb8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ygLl-xjEMwzxn3oVm0ep5

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 x-data-gateway-profile-digest-e7d39fb8
```

Example prompt: Pull up a profile digest for the X account @elonmusk — include the last 50 tweets and show me their average engagement stats.

## When to prefer this

Use this endpoint when you need a quick, pre-aggregated profile digest combining user metadata and recent tweet engagement stats in a single call, without managing Twitter API credentials. Ideal for AI agents that need lightweight social intelligence on demand, billed per-request in USDC with no OAuth setup.

## Known failure modes

- Invalid or non-existent username returns an error or empty profile
- tweet_count exceeding 100 may be capped or rejected
- Payment failure via x402 results in 402 response and no data
- Rate limits on the underlying Twitter/X API may cause upstream errors
- Private or suspended accounts may return no tweet data

## How this service works

Profile + recent tweets + avg engagement in one call. e.g. GET /workflows/profile-digest?username=elonmusk&tweet_count=20

## Output

A JSON object containing the user's profile metadata (ID, username), an array of recent tweets (each with ID and text), and an activity summary with average likes, average retweets, and the number of tweets analyzed.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "username"
     ],
     "properties": {
      "username": {
       "type": "string",
       "description": "X handle without @"
      },
      "tweet_count": {
       "type": "string",
       "description": "Default 20, max 40"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-data-gateway-profile-digest-e7d39fb8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x-data-gateway.annushka1190.workers.dev](https://www.zero.xyz/host/x-data-gateway.annushka1190.workers.dev/llms.txt)
