# X Post

Get X Post Details via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by LiteScrape, pass parameters such as post_id, and retrieve structured data including identifier, text, name, returned bio urls field, and creation timestamp for content research and account lookup, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/x/x-post-details/35d02d37-4c02-43dc-bf2b-0041142b7afe/
API ID: 35d02d37-4c02-43dc-bf2b-0041142b7afe
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/x/post
Page update time: 2026-12-03T02:53:49.772Z
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.
Contract update time: 2026-12-03T02:53:47.519Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## X Post API

Retrieve an X post with its text, author, engagement counts and media. Provide post\_id in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Content research and account lookup**: Keep source records connected to their content and account identifiers.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `post.id` | Identifier |
| `post.text` | Text |
| `post.author.id` | Identifier |
| `post.author.name` | Name |
| `post.author.bio_urls` | Returned bio urls field |
| `post.author.created_at` | Creation timestamp |
| `post.author.description` | Description |
| `post.author.followers_count` | Returned followers count field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "X Post 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": [
        {
          "post_id": "2107894997538525580"
        }
      ],
      "properties": {
        "post_id": {
          "description": "Numeric X post ID as a string, taken from its /status/ URL.",
          "pattern": "^[1-9][0-9]{0,19}$",
          "title": "Post Id",
          "type": "string",
          "x-litescrape": {
            "group": 0,
            "label": "Post ID",
            "placeholder": "2107894997538525580",
            "summary": "Numeric X post ID as a string, taken from its /status/ URL."
          }
        }
      },
      "required": [
        "post_id"
      ],
      "title": "Request",
      "type": "object",
      "description": "Get an X post with its text, author, engagement counts and media."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "post": {
      "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/post' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "post_id": "2107894997538525580"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "post": {
    "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.

## Common questions
### Which inputs identify this request?
Provide post_id in body (string). Keep identifiers and URLs in the formats documented for this implementation.

### What type does timeout use?
timeout uses the JSON type number in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

### How should I structure the JSON body?
Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- anyapi: https://openany.si/x/x-post-details/ee6a41b3-43e1-4174-b6c0-10f1f8c6bd0c/
- justoneapi: https://openany.si/x/x-post-details/19b7b264-0b6a-4007-8fd0-f4152104de94/
- litescrape: https://openany.si/x/x-post-details/35d02d37-4c02-43dc-bf2b-0041142b7afe/
- scrapecreators: https://openany.si/x/x-post-details/458ced3f-82d4-4dbc-8d40-d07a3ee8af29/
- tikhub: https://openany.si/x/x-post-details/2f5cddb6-1178-464a-9b00-5ffc5795cca1/

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