OpenAny
Get API keyAPI Key
APIDataScrapers

x logo
X User Profile API

Get X User Profile 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 handle, and retrieve structured data including identifier, returned avatar url field, returned bio field, returned cover url field, and returned created utc 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 User Profile 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 User Profile API

X Twitter — Profile API

Retrieve a Twitter user's profile by handle, including account metadata and statistics with the X API. Provide handle 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: handle, cache_max_age
Selected implementation scrapecreators · Twitter — Profile
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
id Identifier
__typename Returned typename field
affiliates_highlighted_label.label.badge Returned badge field
affiliates_highlighted_label.label.description Description
affiliates_highlighted_label.label.url Returned URL
affiliates_highlighted_label.label.userLabelDisplayType Returned user label display type field
affiliates_highlighted_label.label.userLabelType Returned user label type field
business_account Returned business account 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/profile?handle=Austen' \
  -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 — Profile 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
Twitter handle
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 Profile · POST · View API reference
$0.00022 / call—Select to load statistics
—successP50—
Twitter User Profile API (V1) · GET · View API reference
$0.015385 / call—Select to load statistics
—successP50—
X Profile · POST · View API reference
$0.00015 / call—Select to load statistics
—successP50—
Current
Twitter — Profile · GET · View API reference
$0.00188 / call0
—successP50—
Public X (Twitter) profile by handle or numeric id · 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: 6. Price update time: not supplied.

calls

Total $0.188

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/profile
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
handleURL query parametersquerystringYes

Twitter handle

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
  • __typenamestring
  • affiliates_highlighted_labelobject
    • labelobject
      • badgeobject
        • urlstring
      • descriptionstring
      • urlobject
        • urlstring
        • urlTypestring
      • userLabelDisplayTypestring
      • userLabelTypestring
  • business_accountobject
  • creator_subscriptions_countinteger
  • credits_chargedinteger
  • credits_remaininginteger
  • has_hidden_subscriptions_on_profileboolean
  • highlights_infoobject
    • can_highlight_tweetsboolean
    • highlighted_tweetsstring
  • idstring
  • is_blue_verifiedboolean
  • is_profile_translatableboolean
  • legacyobject
    • created_atstring
    • default_profileboolean
    • default_profile_imageboolean
    • descriptionstring
    • entitiesobject
      • descriptionobject
        • urlsobject[]
          • display_urlstring
          • expanded_urlstring
          • indicesinteger[]
          • urlstring
      • urlobject
        • urlsobject[]
          • display_urlstring
          • expanded_urlstring
          • indicesinteger[]
          • urlstring
    • fast_followers_countinteger
    • favourites_countinteger
    • followers_countinteger
    • friends_countinteger
    • has_custom_timelinesboolean
    • is_translatorboolean
    • listed_countinteger
    • locationstring
    • media_countinteger
    • namestring
    • normal_followers_countinteger
    • pinned_tweet_ids_strstring[]
    • possibly_sensitiveboolean
    • profile_banner_urlstring
    • profile_image_url_httpsstring
    • profile_interstitial_typestring
    • screen_namestring
    • statuses_countinteger
    • translator_typestring
    • urlstring
    • verifiedboolean
    • withheld_in_countriesunknown[]
  • legacy_extended_profileobject
  • profile_image_shapestring
  • rest_idstring
  • successboolean
  • tipjar_settingsobject
    • bandcamp_handlestring
    • bitcoin_handlestring
    • cash_app_handlestring
    • ethereum_handlestring
    • gofundme_handlestring
    • is_enabledboolean
    • patreon_handlestring
    • pay_pal_handlestring
    • venmo_handlestring
  • user_seed_tweet_countinteger
  • verification_infoobject
    • is_identity_verifiedboolean
    • reasonobject
      • descriptionobject
        • entitiesobject[]
          • from_indexinteger
          • refobject
            • urlstring
            • url_typestring
          • to_indexinteger
        • textstring
      • verified_since_msecstring

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 2

    Review these request fields before running. Keep the published provider and request method unchanged.

    handle
    Twitter handle
    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/profile?handle=Austen' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "__typename": "User",
      "affiliates_highlighted_label": {
        "label": {
          "badge": {
            "url": "https://pbs.twimg.com/profile_images/1542996246477938688/PR4UFtE6_bigger.jpg"
          },
          "description": "Bloom Institute of Technology",
          "url": {
            "url": "https://twitter.com/bloomtech",
            "urlType": "DeepLink"
          },
          "userLabelDisplayType": "Badge",
          "userLabelType": "BusinessLabel"
        }
      },
      "business_account": {},
      "creator_subscriptions_count": 3,
      "credits_charged": 1,
      "credits_remaining": 1000000,
      "has_hidden_subscriptions_on_profile": false,
      "highlights_info": {
        "can_highlight_tweets": true,
        "highlighted_tweets": "482"
      },
      "id": "VXNlcjoyMjE4MzgzNDk=",
      "is_blue_verified": true,
      "is_profile_translatable": false,
      "legacy": {
        "created_at": "Wed Dec 01 19:13:23 +0000 2010",
        "default_profile": false,
        "default_profile_image": false,
        "description": "CEO https://t.co/m6TigM5azr & https://t.co/NuPTghEZ1I (part of @bloomtech). We help teams maximize productivity using AI. Will tweet as I wish and suffer the consequences.",
        "entities": {
          "description": {
            "urls": [
              {
                "display_url": "GauntletAI.com",
                "expanded_url": "http://GauntletAI.com",
                "indices": [
                  4
                ],
                "url": "https://t.co/m6TigM5azr"
              }
            ]
          },
          "url": {
            "urls": [
              {
                "display_url": "gauntletai.com",
                "expanded_url": "http://gauntletai.com",
                "indices": [
                  0
                ],
                "url": "https://t.co/nCe0AdT8D4"
              }
            ]
          }
        },
        "fast_followers_count": 0,
        "favourites_count": 80812,
        "followers_count": 377608,
        "friends_count": 1051,
        "has_custom_timelines": true,
        "is_translator": false,
        "listed_count": 3959,
        "location": "Austin, TX",
        "media_count": 3843,
        "name": "Austen Allred",
        "normal_followers_count": 377608,
        "pinned_tweet_ids_str": [
          "1882816395400073367"
        ],
        "possibly_sensitive": false,
        "profile_banner_url": "https://pbs.twimg.com/profile_banners/221838349/1622098809",
        "profile_image_url_https": "https://pbs.twimg.com/profile_images/1608281295918096385/D2kh-M28_normal.jpg",
        "profile_interstitial_type": "",
        "screen_name": "Austen",
        "statuses_count": 46114,
        "translator_type": "regular",
        "url": "https://t.co/nCe0AdT8D4",
        "verified": false,
        "withheld_in_countries": []
      },
      "legacy_extended_profile": {},
      "profile_image_shape": "Circle",
      "rest_id": "221838349",
      "success": true,
      "tipjar_settings": {
        "bandcamp_handle": "",
        "bitcoin_handle": "",
        "cash_app_handle": "",
        "ethereum_handle": "",
        "gofundme_handle": "",
        "is_enabled": false,
        "patreon_handle": "",
        "pay_pal_handle": "",
        "venmo_handle": ""
      },
      "user_seed_tweet_count": 0,
      "verification_info": {
        "is_identity_verified": false,
        "reason": {
          "description": {
            "entities": [
              {
                "from_index": 54,
                "ref": {
                  "url": "https://twitter.com/bloomtech",
                  "url_type": "ExternalUrl"
                },
                "to_index": 64
              }
            ],
            "text": "This account is verified because it's an affiliate of @bloomtech on X. Learn more"
          },
          "verified_since_msec": "1473330227634"
        }
      }
    }

Common questions

Which inputs identify this request?

Provide handle 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 User Profile API with your agent

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