X/Individual Post

Individual Post

GET
https://api.shofo.ai/x/post

Get detailed data for a specific tweet by ID or URL.

Pricing

Base cost: $0.0001 per post

Parameters

ParameterTypeRequiredDescription
tweet_id_or_urlstring
Required
Tweet ID or full URL (twitter.com or x.com)

Accepted Input Formats

The tweet_id_or_url parameter accepts either a tweet ID or a full URL:

  • Tweet ID: 1808168603721650364
  • twitter.com URL: https://twitter.com/user/status/1808168603721650364
  • x.com URL: https://x.com/user/status/1808168603721650364

Response Format

{
  "success": true,
  "data": {
    "tweet": {
      "id": "1808168603721650364",
      "content": "Just shipped a new feature! Check it out...",
      "like_count": 5000,
      "retweet_count": 500,
      "reply_count": 120,
      "quote_count": 50,
      "view_count": 100000,
      "created_at": "2024-07-02T15:30:00Z",
      "author": {
        "username": "example_user",
        "display_name": "Example User",
        "profile_image_url": "https://..."
      },
      "media": []
    },
    "api_calls": 1
  },
  "cost": "$0.0001",
  "request_id": "req_abc123"
}

Try It

GET
https://api.shofo.ai/x/post
$0.0001

Send a request to see the response