# Public Profile

X

Retrieve one public X profile by username with identity, account status and public metrics.

## Use this tool with your AI agent

1. Copy the prompt
2. Paste it into your agent
3. Tell it what you need

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Public Profile (tool ID: x.public-profile). Ask me for the details you need, then show me the result.

**Already connected:** Your agent can use that connection.

**New user:** Your agent will guide you through setup, sign-in and authorisation.

Provider access is included.

Connect your first agent to receive $1 trial credit.

**Job:** [Get X (Twitter) posts and profiles](https://scrollport.com/tools/x-api)

**Current price:** $0.0025/request

**Availability:** Ready to run

## Tool details

**About this tool**

Return one public X profile by a strict 1-15 character username, including stable string ID, canonical URL, name, bio, location, timestamps, verification/protection/automation flags, public metrics, media, pinned post IDs, public bio links and withheld/unavailable state. URLs, @handles, IDs, login credentials, cookies and actions are not accepted as input.

**Inputs and outputs**

### Input

`username` string · required

Public X username without @ or URL.

minLength: 1 · maxLength: 15

### Output

`captured_at` string

Returned captured at value.

`profile` object

Returned profile value.

`unavailable` null

Returned unavailable value.

**Example request and output**

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

### Request

```
{
  "tool_id": "x.public-profile",
  "input": {
    "username": "openai"
  }
}
```

### Output

```
{
  "profile": {
    "id": "4398626122",
    "url": "https://x.com/OpenAI",
    "name": "OpenAI",
    "username": "OpenAI",
    "verified": true
  },
  "captured_at": "2026-08-20T00:00:00.000Z",
  "unavailable": null
}
```

**Errors and limitations**

- `invalid_input`: username must be a normalized public X username without @ or URL.example: {"username":"openai"}

---

Canonical page: https://scrollport.com/tools/providers/x/public-profile
