OpenAny
Get API keyAPI Key
APIDataScrapers

x logo
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
USE THIS API

X Post Details API

Prepare your request, then continue with your agent.

Selected price

$0.00188 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
X Post Details API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the supported inputs and set any required query value shown in the template.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Tweet URL
Set to true for a trimmed down version of the response
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)

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
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 / call0
—successP50—
Twitter: fetch tweet detail (web) · GET · View API reference
$0.001 / call—Select to load statistics
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · scrapecreatorsUSD / call
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.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
urlURL query parametersquerystringYes

Tweet URL

trimURL query parametersquerybooleanNo

Set to true for a trimmed down version of the response

cache_max_ageURL query parametersquerystringNo

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

Inferred from examples
  • credits_chargedinteger
  • credits_remaininginteger
  • legacyobject
    • bookmark_countinteger
    • bookmarkedboolean
    • conversation_id_strstring
    • created_atstring
    • display_text_rangeinteger[]
    • entitiesobject
      • hashtagsunknown[]
      • mediaobject[]
        • allow_download_statusobject
          • allow_downloadboolean
        • display_urlstring
        • expanded_urlstring
        • ext_media_availabilityobject
          • statusstring
        • id_strstring
        • indicesinteger[]
        • media_keystring
        • media_resultsobject
          • resultobject
            • media_keystring
        • media_url_httpsstring
        • typestring
        • urlstring
      • symbolsunknown[]
      • timestampsunknown[]
      • urlsunknown[]
      • user_mentionsunknown[]
    • extended_entitiesobject
      • mediaobject[]
        • allow_download_statusobject
          • allow_downloadboolean
        • display_urlstring
        • expanded_urlstring
        • ext_media_availabilityobject
          • statusstring
        • id_strstring
        • indicesinteger[]
        • media_keystring
        • media_resultsobject
          • resultobject
            • media_keystring
        • media_url_httpsstring
        • typestring
        • urlstring
    • favorite_countinteger
    • favoritedboolean
    • full_textstring
    • id_strstring
    • is_quote_statusboolean
    • langstring
    • possibly_sensitiveboolean
    • possibly_sensitive_editableboolean
    • quote_countinteger
    • reply_countinteger
    • retweet_countinteger
    • retweetedboolean
    • user_id_strstring
  • rest_idstring
  • sourcestring
  • successboolean
  • viewsobject
    • countstring
    • statestring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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'
  3. 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"
      }
    }

Common questions

Which inputs identify this request?

Provide url in query (string). Keep identifiers and URLs in the formats documented for this implementation.

Which values can I use for cache_max_age?

The selected schema accepts 1d, 3d, 7d, 14d, 30d. Keep the documented string type and exact spelling for this input.

Where do URL parameters belong?

Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

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.

Use X Post Details API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.