POST

Get Post

/v1/twitter/post

Fetch a single tweet with full metadata by providing the tweet URL. Optionally receive results via webhook.

Response data is wrapped as {post: {...}, url: "..."} where the post object contains the tweet fields.

Request Parameters

ParameterTypeRequiredDescription
post_urlstringYesFull tweet URL (e.g. https://x.com/user/status/123)
webhook_urlstringNoURL to receive results via POST callback

Example

curl -X POST https://query-data-api.notpeople.ai/v1/twitter/post \
  -H "X-API-Key: tw_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{"post_url": "https://x.com/elonmusk/status/1234567890"}'

Response Schema

All responses include success, data, and usage fields.

FieldTypeDescription
data.postobjectPost object containing all tweet fields
data.urlstringCanonical tweet URL
post.post_idstringUnique tweet ID
post.user_idstringAuthor user ID
post.usernamestringAuthor handle
post.namestringAuthor display name
post.textstringTweet text content
post.created_atstringHuman-readable timestamp
post.timestampintUnix timestamp
post.post_typestringtweet | retweet | reply | quote
post.likes_countintNumber of likes
post.retweets_countintNumber of retweets
post.replies_countintNumber of replies
post.views_countintNumber of views
post.is_blue_verifiedboolAuthor verification status
post.profile_image_urlstringAuthor profile picture URL
post.reply_to_post_idstring | nullID of the post being replied to
post.reply_to_userstring | nullUsername of the user being replied to
post.reply_to_postobject | nullFull post object being replied to
post.is_pinnedboolWhether the post is pinned
post.mediaarrayAttached media [{type, url}]
post.quoted_postobject | nullQuoted tweet data if post_type is quote

Example Response

{
  "success": true,
  "data": {
    "post": {
      "post_id": "2037025177297686839",
      "user_id": "3222018178",
      "username": "adcock_brett",
      "name": "Brett Adcock",
      "text": "First humanoid robot at the White House",
      "created_at": "Thu Mar 26 04:33:43 +0000 2026",
      "timestamp": 1774499623,
      "post_type": "tweet",
      "likes_count": 572,
      "retweets_count": 32,
      "replies_count": 48,
      "is_blue_verified": true,
      "profile_image_url": "https://pbs.twimg.com/profile_images/.../photo.jpg",
      "views_count": 20213,
      "reply_to_post_id": null,
      "reply_to_user": null,
      "reply_to_post": null,
      "is_pinned": false,
      "media": [
        { "type": "photo", "url": "https://pbs.twimg.com/media/.../photo.jpg" }
      ],
      "quoted_post": null
    },
    "url": "https://x.com/adcock_brett/status/2037025177297686839"
  },
  "usage": {
    "unique_posts": 82,
    "limit": 6000,
    "remaining": 5918
  }
}

Try this endpoint live

Sign up for free to try endpoints directly from the docs. No credit card required.

Create Free Account