API Overview
This API retrieves the three most recent posts from a given X (formerly Twitter) handle. Simply provide a handle to receive the content and date of each of the last three posts. This is ideal for monitoring account activity, tracking messaging, or integrating recent post content into applications and workflows.
Recent Post Content
Get the full text content of the three most recent posts from any public X handle in a single API call.
Post Dating
Each post includes its publication date, making it easy to track posting frequency and activity timelines.
Activity Monitoring
Monitor posting activity for brands, public figures, competitors, or any entity with a public X presence.
Premium API
This is a premium API that retrieves real-time post content from X (Twitter), providing the three most recent posts and their dates for any public handle.
Sample Results ("google")
| Field | Example Value | Description |
|---|---|---|
Handle |
The X (Twitter) handle | |
Tweet1 |
We're all falling for Punch ❤️ | Content of the most recent post |
Tweet1Date |
02/27/2026 | Date of the most recent post |
Tweet2 |
🍌🍌 | Content of the second most recent post |
Tweet2Date |
02/26/2026 | Date of the second most recent post |
Tweet3 |
Prompt: I want to wash my car... | Content of the third most recent post |
Tweet3Date |
02/26/2026 | Date of the third most recent post |
Code |
Success | Status code of the API response |
Credits |
201027 | Remaining account credits |
API Details
Endpoint
https://api.interzoid.com/getxlast3
Request Format
https://api.interzoid.com/getxlast3?license=[licensekey]&handle=[x handle]
Sample Request
https://api.interzoid.com/getxlast3?license=fh5hs7*****&handle=google
Sample Response
{ "Handle": "Google", "Tweet1": "We're all falling for Punch ❤️", "Tweet1Date": "02/27/2026", "Tweet2": "🍌🍌", "Tweet2Date": "02/26/2026", "Tweet3": "Prompt: I want to wash my car. The car wash is 50 meters away. Should I walk or drive?", "Tweet3Date": "02/26/2026", "Code": "Success", "Credits": "201027" }
cURL Example (with API key in header)
curl --header "x-api-key: fh5hs7*****" "https://api.interzoid.com/getxlast3?handle=google"
Additional Examples
Here are additional real-world examples showing the API's ability to retrieve recent posts from a variety of X accounts:
Tech CEO Tech
{ "Handle": "elonmusk", "Tweet1": "They had great style", "Tweet1Date": "03/02/2026", "Tweet2": "Expanding to the stars avoids risk of...", "Tweet2Date": "03/02/2026", "Tweet3": "Government-enforced monopolies always...", "Tweet3Date": "03/02/2026", "Code": "Success" }
AI Industry Leader AI
{ "Handle": "sama", "Tweet1": "my kid's birthday dinner!", "Tweet1Date": "03/01/2026", "Tweet2": "This is a more general point: if we...", "Tweet2Date": "03/01/2026", "Tweet3": "I don't know the details of what...", "Tweet3Date": "03/01/2026", "Code": "Success" }
Global Sports Star Sports
{ "Handle": "@Cristiano", "Tweet1": "We keep growing together! Important win!", "Tweet1Date": "02/28/2026", "Tweet2": "Keep it going! 🟡🔵", "Tweet2Date": "02/25/2026", "Tweet3": "Back where we belong. Now back to work! 💪🏽", "Tweet3Date": "02/21/2026", "Code": "Success" }
Major Brand Business
{ "Handle": "Google", "Tweet1": "We're all falling for Punch ❤️", "Tweet1Date": "02/27/2026", "Tweet2": "🍌🍌", "Tweet2Date": "02/26/2026", "Tweet3": "Prompt: I want to wash my car...", "Tweet3Date": "02/26/2026", "Code": "Success" }
Code Examples, Database Queries, and Specifications
Usage Examples
See quick and easy code examples in multiple programming languages, including Python, Node.js, Java, Typescript, and Go. Also see how to use within database queries on popular database platforms and open specifications such as OpenAPI.
See All ExamplesAdditional Resources
Try this API Interactively
Our API interactive usage tool enables you to try this API interactively with a user interface and without writing code. The tool is available for all of our APIs.
Try it NowUse this API in a High-Performance, No-Code, Cloud Batch Mode
Our No-Code batch tool enables you to quickly use this API within our parallel-processing Cloud platform, processing text files (CSV/TSV) with a few clicks and without writing code. This is the fastest and easiest way to use this API with higher volumes of data, enabling results in minutes.
Start Now