X Post Details API
Get X Post Details via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 5 implementations (anyapi, JustOneAPI, LiteScrape and ScrapeCreators), pass parameters such as url, and retrieve structured data including identifier, text, returned author handle field, returned author id field, and returned author image field for content research and account lookup, and integration reference.
- Selected price
- $0.00188 / callPublished pricing
- Sellers / APIs
- 5 / 5
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
X Post Details API
Prepare your request, then continue with your agent.
Selected price
$0.00188 / call
- Provider
- API
- Pricing
On this page
Overview
X Twitter — Tweet Details API
Retrieve detailed information about a specific tweet by URL, including the author's profile and engagement metrics with the X API. Provide url in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | query: url, trim, cache_max_age |
| Selected implementation | scrapecreators · Twitter — Tweet Details |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
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 |
|---|---|
credits_charged |
Returned credits charged field |
credits_remaining |
Returned credits remaining field |
legacy.bookmark_count |
Returned bookmark count field |
legacy.bookmarked |
Returned bookmarked field |
legacy.conversation_id_str |
Returned conversation id str field |
legacy.created_at |
Creation timestamp |
legacy.display_text_range[] |
Returned display text range field |
legacy.entities.hashtags |
Returned hashtags field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/tweet?url=https%3A%2F%2Fx.com%2FTheoVon%2Fstatus%2F1916982720317821050' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published X Twitter — Tweet Details API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| Twitter Tweet · POST · View API reference | $0.00022 / call | —Select to load statistics | —successP50— | |
| Twitter Post Detail API (V1) · GET · View API reference | $0.015385 / call | —Select to load statistics | —successP50— | |
| X Post · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
Current Twitter — Tweet Details · GET · View API reference | $0.00188 / call | 0 | —successP50— | |
| Twitter: fetch tweet detail (web) · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.00188
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0.188
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/tweet- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
url | URL query parametersquery | string | Yes | Tweet URL |
trim | URL query parametersquery | boolean | No | Set to true for a trimmed down version of the response |
cache_max_age | URL query parametersquery | string | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) enum: "1d", "3d", "7d", "14d", "30d" |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
credits_chargedintegercredits_remainingintegerlegacyobjectbookmark_countintegerbookmarkedbooleanconversation_id_strstringcreated_atstringdisplay_text_rangeinteger[]entitiesobjecthashtagsunknown[]mediaobject[]allow_download_statusobjectallow_downloadboolean
display_urlstringexpanded_urlstringext_media_availabilityobjectstatusstring
id_strstringindicesinteger[]media_keystringmedia_resultsobjectresultobjectmedia_keystring
media_url_httpsstringtypestringurlstring
symbolsunknown[]timestampsunknown[]urlsunknown[]user_mentionsunknown[]
extended_entitiesobjectmediaobject[]allow_download_statusobjectallow_downloadboolean
display_urlstringexpanded_urlstringext_media_availabilityobjectstatusstring
id_strstringindicesinteger[]media_keystringmedia_resultsobjectresultobjectmedia_keystring
media_url_httpsstringtypestringurlstring
favorite_countintegerfavoritedbooleanfull_textstringid_strstringis_quote_statusbooleanlangstringpossibly_sensitivebooleanpossibly_sensitive_editablebooleanquote_countintegerreply_countintegerretweet_countintegerretweetedbooleanuser_id_strstring
rest_idstringsourcestringsuccessbooleanviewsobjectcountstringstatestring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 3
Review these request fields before running. Keep the published provider and request method unchanged.
url- Tweet URL
trim- Set to true for a trimmed down version of the response
cache_max_age- If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching)
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/tweet?url=https%3A%2F%2Fx.com%2FTheoVon%2Fstatus%2F1916982720317821050' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "credits_charged": 1, "credits_remaining": 1000000, "legacy": { "bookmark_count": 95, "bookmarked": false, "conversation_id_str": "1935730646267158797", "created_at": "Thu Jun 19 16:05:24 +0000 2025", "display_text_range": [ 0 ], "entities": { "hashtags": [], "media": [ { "allow_download_status": { "allow_download": true }, "display_url": "pic.x.com/YywdjQZde8", "expanded_url": "https://x.com/Austen/status/1935730646267158797/photo/1", "ext_media_availability": { "status": "Available" }, "id_str": "1935730260303069184", "indices": [ 149 ], "media_key": "3_1935730260303069184", "media_results": { "result": { "media_key": "3_1935730260303069184" } }, "media_url_https": "https://pbs.twimg.com/media/Gt0YanJWwAA6B80.jpg", "type": "photo", "url": "https://t.co/YywdjQZde8" } ], "symbols": [], "timestamps": [], "urls": [], "user_mentions": [] }, "extended_entities": { "media": [ { "allow_download_status": { "allow_download": true }, "display_url": "pic.x.com/YywdjQZde8", "expanded_url": "https://x.com/Austen/status/1935730646267158797/photo/1", "ext_media_availability": { "status": "Available" }, "id_str": "1935730260303069184", "indices": [ 149 ], "media_key": "3_1935730260303069184", "media_results": { "result": { "media_key": "3_1935730260303069184" } }, "media_url_https": "https://pbs.twimg.com/media/Gt0YanJWwAA6B80.jpg", "type": "photo", "url": "https://t.co/YywdjQZde8" } ] }, "favorite_count": 80, "favorited": false, "full_text": "This was created by a Gauntlet AI grad based on a whole lot of experimentation.\n\nOne of the most important things an AI dev can begin to understand. https://t.co/YywdjQZde8", "id_str": "1935730646267158797", "is_quote_status": false, "lang": "en", "possibly_sensitive": false, "possibly_sensitive_editable": true, "quote_count": 3, "reply_count": 6, "retweet_count": 5, "retweeted": false, "user_id_str": "221838349" }, "rest_id": "1935730646267158797", "source": "<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Twitter Web App</a>", "success": true, "views": { "count": "27539", "state": "EnabledWithCount" } }