# Glim Twitter Trending Users Lookup

> Glim Twitter Trending Users Lookup is a paid API for AI agents from glim.sh, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-13).

Returns a list of trending Twitter users for a given location using a Yahoo Where On Earth ID (WOEID)

## Facts

- Endpoint: POST https://glim.sh/api/v1/twitter/users
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glim-twitter-trending-users-lookup-686ce0fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N03sQDeRFZIUJNW5k5N7a

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 glim-twitter-trending-users-lookup-686ce0fd -d '<json body>'
```

Example prompt: Who are the top 20 trending Twitter users worldwide right now? Use WOEID 1 for global results.

## When to prefer this

Use this endpoint when you need live, real-time trending Twitter/X user data without managing Twitter API keys or a scraping stack. Prefer over direct Twitter API integration when you want pay-per-call simplicity and no credential management. Best for agents that need to surface trending social media personalities by geographic region using WOEID codes.

## Known failure modes

- Invalid WOEID returns empty results or an error
- Count exceeding available trending users returns fewer results than requested
- Payment failure (402) if USDC not provided or insufficient
- Rate limiting if called too frequently
- Twitter API upstream outage causing no data returned

## How this service works

Batch fetch users by IDs

## Output

A JSON object containing a list of Twitter users (each with an id and username) who are currently trending, plus a meta object with the result count. Example: {data:[{id:'44196397',username:'cascade_fyi'}],meta:{result_count:1}}

## 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": {
     "type": "object",
     "required": [
      "ids"
     ],
     "properties": {
      "ids": {
       "type": "string",
       "description": "Comma-separated user IDs"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "data",
      "meta"
     ],
     "properties": {
      "data": {
       "type": "array",
       "items": {
        "type": "object",
        "propertyNames": {
         "type": "string"
        },
        "additionalProperties": {}
       }
      },
      "meta": {
       "type": "object",
       "required": [
        "result_count"
       ],
       "properties": {
        "next_cursor": {
         "type": "string"
        },
        "result_count": {
         "type": "integer",
         "maximum": 9007199254740991,
         "minimum": -9007199254740991
        },
        "has_next_page": {
         "type": "boolean"
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "id": "44196397",
    "username": "cascade_fyi"
   }
  ],
  "meta": {
   "result_count": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glim-twitter-trending-users-lookup-686ce0fd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from glim.sh](https://www.zero.xyz/host/glim.sh/llms.txt)
