# X User Posts

Get X User Posts data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by LiteScrape, pass parameters such as username, and retrieve structured data including source post identifier, post text, source post URL, source author username, and source author identifier for content catalogue research, and engagement comparisons.

Documentation: https://openany.si/market/apis/x/x-user-posts/?offering=47091f0f-6feb-4cb2-9086-e5916c62dbda
API ID: 47091f0f-6feb-4cb2-9086-e5916c62dbda
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/x/user-posts
Page update time: 2026-12-03T02:49:00.261Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:48:59.582Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "X User Posts request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "timeout": {
          "type": "number",
          "description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
          "maximum": 90
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "username": "OpenAI"
        }
      ],
      "properties": {
        "cursor": {
          "anyOf": [
            {
              "maxLength": 4096,
              "minLength": 1,
              "pattern": "^[A-Za-z0-9_+/=-]+$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Continuation cursor returned for the same username.",
          "title": "Cursor",
          "x-litescrape": {
            "group": 0,
            "label": "Cursor",
            "summary": "Continuation cursor returned for the same username."
          }
        },
        "username": {
          "description": "X username, with or without a leading @. Profile URLs are not accepted.",
          "pattern": "^[A-Za-z0-9_]{1,15}$",
          "title": "Username",
          "type": "string",
          "x-litescrape": {
            "group": 0,
            "label": "Username",
            "placeholder": "OpenAI",
            "summary": "X username, with or without a leading @. Profile URLs are not accepted."
          }
        }
      },
      "required": [
        "username"
      ],
      "title": "Request",
      "type": "object",
      "description": "Get posts from an X user."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "pagination": {
      "type": "object",
      "properties": {
        "next_cursor": {
          "type": "string"
        }
      }
    },
    "posts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "author": {
            "type": "object",
            "properties": {
              "bio_urls": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "created_at": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "followers_count": {
                "type": "integer"
              },
              "following_count": {
                "type": "integer"
              },
              "id": {
                "type": "string"
              },
              "is_blue_verified": {
                "type": "boolean"
              },
              "likes_count": {
                "type": "integer"
              },
              "location": {
                "type": "string"
              },
              "media_count": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "pinned_post_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "posts_count": {
                "type": "integer"
              },
              "profile_banner_url": {
                "type": "string"
              },
              "profile_image_url": {
                "type": "string"
              },
              "protected": {
                "type": "boolean"
              },
              "url": {
                "type": "string"
              },
              "username": {
                "type": "string"
              },
              "verified": {
                "type": "boolean"
              },
              "verified_type": {
                "type": "string"
              },
              "website": {
                "type": "string"
              }
            }
          },
          "bookmark_count": {
            "type": "integer"
          },
          "conversation_id": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "hashtags": {
            "type": "array",
            "items": {}
          },
          "id": {
            "type": "string"
          },
          "lang": {
            "type": "string"
          },
          "like_count": {
            "type": "integer"
          },
          "media": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "duration_ms": {
                  "type": "integer"
                },
                "height": {
                  "type": "integer"
                },
                "type": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "variants": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "content_type": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "bitrate": {
                        "type": "integer"
                      }
                    }
                  }
                },
                "video_url": {
                  "type": "string"
                },
                "width": {
                  "type": "integer"
                }
              }
            }
          },
          "possibly_sensitive": {
            "type": "boolean"
          },
          "quote_count": {
            "type": "integer"
          },
          "reply_count": {
            "type": "integer"
          },
          "repost_count": {
            "type": "integer"
          },
          "text": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "urls": {
            "type": "array",
            "items": {}
          },
          "view_count": {
            "type": "integer"
          }
        }
      }
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/litescrape/api/x/user-posts' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "username": "OpenAI"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "pagination": {
    "next_cursor": "DAAHCgABHUPqMZa___ALAAIAAAATMjEwNDk5Mzk2Nzk4NTM4MTY3MwgAAwAAAAIAAA"
  },
  "posts": [
    {
      "author": {
        "bio_urls": [
          "http://openai.com/jobs"
        ],
        "created_at": "Sun Dec 06 22:51:08 +0000 2015",
        "description": "OpenAI’s mission is to ensure that artificial general intelligence benefits all of humanity. We’re hiring: https://t.co/dJGr6LgzPA",
        "followers_count": 5422967,
        "following_count": 4,
        "id": "4398626122",
        "is_blue_verified": true,
        "likes_count": 2525,
        "location": "",
        "media_count": 743,
        "name": "OpenAI",
        "pinned_post_ids": [
          "2107894997538525580"
        ],
        "posts_count": 2179,
        "profile_banner_url": "https://pbs.twimg.com/profile_banners/4398626122/1777662919",
        "profile_image_url": "https://pbs.twimg.com/profile_images/1885410181409820672/ztsaR0JW_normal.jpg",
        "protected": false,
        "url": "https://x.com/OpenAI",
        "username": "OpenAI",
        "verified": true,
        "verified_type": "Business",
        "website": "https://openai.com"
      },
      "bookmark_count": 6606,
      "conversation_id": "2107894997538525580",
      "created_at": "Wed Oct 07 18:05:04 +0000 2026",
      "hashtags": [],
      "id": "2107894997538525580",
      "lang": "en",
      "like_count": 23055,
      "media": [
        {
          "duration_ms": 70111,
          "height": 1080,
          "type": "video",
          "url": "https://pbs.twimg.com/media/HUDAEy0a4AAdfz8.jpg",
          "variants": [
            {
              "content_type": "application/x-mpegURL",
              "url": "https://video.twimg.com/amplify_video/2107893961461473280/pl/1EuBGSX7XqZrrJja.m3u8?tag=29"
            },
            {
              "bitrate": 256000,
              "content_type": "video/mp4",
              "url": "https://video.twimg.com/amplify_video/2107893961461473280/vid/avc1/480x270/JfePfj9Q30RmRuEa.mp4?tag=29"
            },
            {
              "bitrate": 832000,
              "content_type": "video/mp4",
              "url": "https://video.twimg.com/amplify_video/2107893961461473280/vid/avc1/640x360/-mREAGeqEMpB-95D.mp4?tag=29"
            },
            {
              "bitrate": 2176000,
              "content_type": "video/mp4",
              "url": "https://video.twimg.com/amplify_video/2107893961461473280/vid/avc1/1280x720/juhdrcOKw2K9lzhq.mp4?tag=29"
            },
            {
              "bitrate": 10368000,
              "content_type": "video/mp4",
              "url": "https://video.twimg.com/amplify_video/2107893961461473280/vid/avc1/1920x1080/7gMw9Wtm-zDxFZET.mp4?tag=29"
            }
          ],
          "video_url": "https://video.twimg.com/amplify_video/2107893961461473280/vid/avc1/1920x1080/7gMw9Wtm-zDxFZET.mp4?tag=29",
          "width": 1920
        }
      ],
      "possibly_sensitive": false,
      "quote_count": 1444,
      "reply_count": 1126,
      "repost_count": 1812,
      "text": "GPT-6 and Intelligent UI, now rolling out in ChatGPT for everyone.\n\nIntelligent UI in ChatGPT delivers fast, interactive answers that make everyday questions more visual, complex topics easier to grasp, and interactive tools for your task available on the spot. https://t.co/XL2gDCPBwG",
      "url": "https://x.com/OpenAI/status/2107894997538525580",
      "urls": [],
      "view_count": 5816962
    }
  ],
  "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- litescrape: https://openany.si/market/apis/x/x-user-posts/?offering=47091f0f-6feb-4cb2-9086-e5916c62dbda

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
