# Twitter — Profile

Get X User Profile via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by ScrapeCreators, pass parameters such as handle, and retrieve structured data including identifier, returned typename field, returned badge field, description, and returned URL for content research and account lookup, and integration reference.

Documentation: https://openany.si/x/x-user-profile/b39b6d7d-37a8-4336-9a25-214a8595bb5d/
API ID: b39b6d7d-37a8-4336-9a25-214a8595bb5d
Provider: scrapecreators
Contract revision: 6
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/twitter/profile
Page update time: 2026-12-03T02:53:49.852Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00188 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:53:48.164Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1880",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## 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.

## 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 |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Twitter — Profile request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "handle": {
          "type": "string",
          "description": "Twitter handle"
        },
        "cache_max_age": {
          "type": "string",
          "description": "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": [
        "handle"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "__typename": {
      "type": "string"
    },
    "affiliates_highlighted_label": {
      "type": "object",
      "properties": {
        "label": {
          "type": "object",
          "properties": {
            "badge": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string"
                }
              }
            },
            "description": {
              "type": "string"
            },
            "url": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string"
                },
                "urlType": {
                  "type": "string"
                }
              }
            },
            "userLabelDisplayType": {
              "type": "string"
            },
            "userLabelType": {
              "type": "string"
            }
          }
        }
      }
    },
    "business_account": {
      "type": "object",
      "properties": {}
    },
    "creator_subscriptions_count": {
      "type": "integer"
    },
    "credits_charged": {
      "type": "integer"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "has_hidden_subscriptions_on_profile": {
      "type": "boolean"
    },
    "highlights_info": {
      "type": "object",
      "properties": {
        "can_highlight_tweets": {
          "type": "boolean"
        },
        "highlighted_tweets": {
          "type": "string"
        }
      }
    },
    "id": {
      "type": "string"
    },
    "is_blue_verified": {
      "type": "boolean"
    },
    "is_profile_translatable": {
      "type": "boolean"
    },
    "legacy": {
      "type": "object",
      "properties": {
        "created_at": {
          "type": "string"
        },
        "default_profile": {
          "type": "boolean"
        },
        "default_profile_image": {
          "type": "boolean"
        },
        "description": {
          "type": "string"
        },
        "entities": {
          "type": "object",
          "properties": {
            "description": {
              "type": "object",
              "properties": {
                "urls": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "display_url": {
                        "type": "string"
                      },
                      "expanded_url": {
                        "type": "string"
                      },
                      "indices": {
                        "type": "array",
                        "items": {
                          "type": "integer"
                        }
                      },
                      "url": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            },
            "url": {
              "type": "object",
              "properties": {
                "urls": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "display_url": {
                        "type": "string"
                      },
                      "expanded_url": {
                        "type": "string"
                      },
                      "indices": {
                        "type": "array",
                        "items": {
                          "type": "integer"
                        }
                      },
                      "url": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "fast_followers_count": {
          "type": "integer"
        },
        "favourites_count": {
          "type": "integer"
        },
        "followers_count": {
          "type": "integer"
        },
        "friends_count": {
          "type": "integer"
        },
        "has_custom_timelines": {
          "type": "boolean"
        },
        "is_translator": {
          "type": "boolean"
        },
        "listed_count": {
          "type": "integer"
        },
        "location": {
          "type": "string"
        },
        "media_count": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "normal_followers_count": {
          "type": "integer"
        },
        "pinned_tweet_ids_str": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "possibly_sensitive": {
          "type": "boolean"
        },
        "profile_banner_url": {
          "type": "string"
        },
        "profile_image_url_https": {
          "type": "string"
        },
        "profile_interstitial_type": {
          "type": "string"
        },
        "screen_name": {
          "type": "string"
        },
        "statuses_count": {
          "type": "integer"
        },
        "translator_type": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "verified": {
          "type": "boolean"
        },
        "withheld_in_countries": {
          "type": "array",
          "items": {}
        }
      }
    },
    "legacy_extended_profile": {
      "type": "object",
      "properties": {}
    },
    "profile_image_shape": {
      "type": "string"
    },
    "rest_id": {
      "type": "string"
    },
    "success": {
      "type": "boolean"
    },
    "tipjar_settings": {
      "type": "object",
      "properties": {
        "bandcamp_handle": {
          "type": "string"
        },
        "bitcoin_handle": {
          "type": "string"
        },
        "cash_app_handle": {
          "type": "string"
        },
        "ethereum_handle": {
          "type": "string"
        },
        "gofundme_handle": {
          "type": "string"
        },
        "is_enabled": {
          "type": "boolean"
        },
        "patreon_handle": {
          "type": "string"
        },
        "pay_pal_handle": {
          "type": "string"
        },
        "venmo_handle": {
          "type": "string"
        }
      }
    },
    "user_seed_tweet_count": {
      "type": "integer"
    },
    "verification_info": {
      "type": "object",
      "properties": {
        "is_identity_verified": {
          "type": "boolean"
        },
        "reason": {
          "type": "object",
          "properties": {
            "description": {
              "type": "object",
              "properties": {
                "entities": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "from_index": {
                        "type": "integer"
                      },
                      "ref": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string"
                          },
                          "url_type": {
                            "type": "string"
                          }
                        }
                      },
                      "to_index": {
                        "type": "integer"
                      }
                    }
                  }
                },
                "text": {
                  "type": "string"
                }
              }
            },
            "verified_since_msec": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example
```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'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "__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"
    }
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## 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.

## Available implementations
- anyapi: https://openany.si/x/x-user-profile/a53befe5-bf11-43ad-84bc-21370816ccb8/
- justoneapi: https://openany.si/x/x-user-profile/35750085-dd3d-439e-a620-25cefe7affb0/
- litescrape: https://openany.si/x/x-user-profile/b345a53b-48e9-46df-960f-e704f1d13de3/
- scrapecreators: https://openany.si/x/x-user-profile/b39b6d7d-37a8-4336-9a25-214a8595bb5d/
- tikhub: https://openany.si/x/x-user-profile/c259fbd6-be8f-429a-95d2-ad173ffeea84/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
