Xproapi Users API
The Users API from Xproapi — 5 operation(s) for users.
The Users API from Xproapi — 5 operation(s) for users.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/xproapi:xproapi-users-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Xproapi Users API
x-refined-note:
- x-apisguru-categories differs across the merged source definitions and was not carried
x-logo:
url: https://xproapi.com/apple-touch-icon.png
altText: Xproapi.com
version: '1.0'
description: 'Operations tagged Users across 2 of this provider''s published API definitions: xproapi-openapi.json, xproapi-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://xproapi.com/api
tags:
- name: Users
paths:
/twitter/user_about:
get:
tags:
- Users
summary: Get User Profile About
description: '## Get User Profile About
Retrieves extended profile information and "About" section details for a specified Twitter/X user.
### Query Parameters
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `userName` | string | ✅ Required | The Twitter/X username (without @). Example: `elonmusk` |
### Example Request
```
GET {{base_url}}/twitter/user_about?userName=elonmusk
```
### Example Response
Returns extended user profile data including:
- `id` — Twitter user ID
- `name` — Display name
- `userName` — Username handle
- `bio` — Profile biography
- `location` — User''s listed location
- `website` — Profile website URL
- `joinedDate` — Account creation date
- `followersCount` — Number of followers
- `followingCount` — Number of accounts following
- `tweetsCount` — Total number of tweets
- `isVerified` — Verification status
- `pinnedTweet` — The user''s pinned tweet (if any)'
parameters:
- name: X-API-Key
in: header
schema:
type: string
example: '{{key}}'
- name: userName
in: query
schema:
type: string
example: elonmusk
responses:
'200':
description: Successful response
content:
application/json: {}
operationId: getTwitterUserAbout
x-operation-id-source: derived
servers:
- url: https://xproapi.com/api
/twitter/user/search:
get:
tags:
- Users
summary: Search Users
description: '## Search Users
Searches for Twitter/X users matching a given query string.
### Query Parameters
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | ✅ Required | Search query to find users. Can be a name, username, or keyword. Example: `bitcoin` |
| `cursor` | string | Optional | Pagination cursor for fetching the next page of results |
### Example Request
```
GET {{base_url}}/twitter/user/search?query=bitcoin&cursor=
```
### Example Response
Returns a paginated list of user objects matching the query, each containing:
- `id` — Twitter user ID
- `name` — Display name
- `userName` — Username handle
- `bio` — Profile biography
- `followersCount` — Number of followers
- `isVerified` — Verification status
- `cursor` — Pagination cursor for the next page'
parameters:
- name: X-API-Key
in: header
schema:
type: string
example: '{{key}}'
- name: query
in: query
schema:
type: string
example: bitcoin
- name: cursor
in: query
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json: {}
operationId: getTwitterUserSearch
x-operation-id-source: derived
servers:
- url: https://xproapi.com/api
/twitter/user/batch_info_by_ids:
get:
tags:
- Users
summary: Batch User info by userids
description: '## Batch User Info by User IDs
Retrieves profile information for multiple Twitter/X users in a single request using their numeric user IDs.
### Query Parameters
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `userIds` | string | ✅ Required | Comma-separated list of numeric Twitter user IDs. Example: `1655837182773563392,3295112503` |
### Example Request
```
GET {{base_url}}/twitter/user/batch_info_by_ids?userIds=1655837182773563392,3295112503
```
### Notes
- You can pass a single user ID or multiple IDs separated by commas.
- Maximum recommended batch size: 100 user IDs per request.
### Example Response
Returns an array of user profile objects, each containing:
- `id` — Twitter user ID
- `name` — Display name
- `userName` — Username handle
- `bio` — Profile biography
- `followersCount` — Number of followers
- `followingCount` — Number of accounts following
- `tweetsCount` — Total number of tweets
- `isVerified` — Verification status
- `profileImageUrl` — Profile picture URL'
parameters:
- name: X-API-Key
in: header
schema:
type: string
example: '{{key}}'
- name: userIds
in: query
schema:
type: string
example: 1655837182773563392,3295112503
responses:
'200':
description: Successful response
content:
application/json: {}
operationId: getTwitterUserBatchInfoByIds
x-operation-id-source: derived
servers:
- url: https://xproapi.com/api
/twitter/user/batch_info_by_usernames:
get:
tags:
- Users
summary: Batch User Info by Usernames
description: '## Batch User Info by Usernames
Retrieves profile information for multiple Twitter/X users in a single request using their usernames.
### Query Parameters
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `userNames` | string | ✅ Required | Comma-separated list of Twitter usernames (without @). Example: `elonmusk,X` |
### Example Request
```
GET {{base_url}}/twitter/user/batch_info_by_usernames?userNames=elonmusk,X
```
### Notes
- You can pass a single username or multiple usernames separated by commas.
- Maximum recommended batch size: 100 usernames per request.
### Example Response
Returns an array of user profile objects, each containing:
- `id` — Twitter user ID
- `name` — Display name
- `userName` — Username handle
- `bio` — Profile biography
- `followersCount` — Number of followers
- `followingCount` — Number of accounts following
- `tweetsCount` — Total number of tweets
- `isVerified` — Verification status
- `profileImageUrl` — Profile picture URL'
parameters:
- name: X-API-Key
in: header
schema:
type: string
example: '{{key}}'
- name: userNames
in: query
schema:
type: string
example: elonmusk,X
responses:
'200':
description: Successful response
content:
application/json: {}
operationId: getTwitterUserBatchInfoByUsernames
x-operation-id-source: derived
servers:
- url: https://xproapi.com/api
/twitter/user/info:
get:
tags:
- Users
summary: User info
description: '## Get User Info
Retrieves complete profile information for a specified Twitter/X user by their username.
### Query Parameters
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `userName` | string | ✅ Required | The Twitter/X username (without @). Example: `elonmusk` |
### Example Request
```
GET {{base_url}}/twitter/user/info?userName=elonmusk
```
### Example Response
Returns a user profile object containing:
- `id` — Twitter user ID
- `name` — Display name
- `userName` — Username handle
- `bio` — Profile biography
- `location` — User''s listed location
- `website` — Profile website URL
- `joinedDate` — Account creation date
- `followersCount` — Number of followers
- `followingCount` — Number of accounts following
- `tweetsCount` — Total number of tweets
- `isVerified` — Blue checkmark verification status
- `profileImageUrl` — Profile picture URL
- `bannerImageUrl` — Profile banner image URL'
parameters:
- name: X-API-Key
in: header
schema:
type: string
example: '{{key}}'
- name: userName
in: query
schema:
type: string
example: bdclassified
responses:
'200':
description: Successful response
content:
application/json: {}
operationId: getTwitterUserInfo
x-operation-id-source: derived
servers:
- url: https://xproapi.com/api
components:
schemas:
Error:
type: object
required:
- status
- error
- message
- request_id
properties:
status:
type: string
const: error
error:
type: integer
description: The HTTP status code.
message:
type: string
description: What went wrong, in plain English.
request_id:
type: string
description: Same as the X-Request-Id header.
User:
type: object
description: A public X account.
required:
- type
- id
- userName
- name
- url
- description
- profilePicture
- followers
- following
- isBlueVerified
- protected
- unavailable
properties:
type:
type: string
const: user
id:
type: string
pattern: ^[0-9]+$
description: Numeric user id, as a string. It never changes; store this rather than the username.
example: '44196397'
userName:
type: string
description: Username without the @. Can change.
example: elonmusk
name:
type: string
url:
type: string
format: uri
description:
type: string
description: Bio; empty when none.
profilePicture:
type:
- string
- 'null'
format: uri
followers:
type: integer
minimum: 0
following:
type: integer
minimum: 0
isBlueVerified:
type: boolean
protected:
type: boolean
description: Protected accounts’ tweets, followers and following can’t be read.
unavailable:
type: boolean
responses:
RateLimited:
description: Over this key’s per-minute limit, or X is rate limiting. Wait Retry-After seconds. Not charged.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: error
error: 429
message: Rate limit reached (60 requests a minute). Retry in 30 seconds.
request_id: req_01jc3v8k2m4n6p8q0r2s4t6v8w
Unauthorized:
description: Missing, invalid or revoked API key. Not charged.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: error
error: 401
message: Missing or invalid API key. Send it in the X-API-Key header.
request_id: req_01jc3v8k2m4n6p8q0r2s4t6v8w
Forbidden:
description: The account can’t use the API (suspended or email not confirmed). Not charged.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: error
error: 403
message: This account can’t use the API right now.
request_id: req_01jc3v8k2m4n6p8q0r2s4t6v8w
Unavailable:
description: Live data or this endpoint is temporarily unavailable. Retry later. Not charged.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: error
error: 503
message: Live data is temporarily unavailable. Try again later.
request_id: req_01jc3v8k2m4n6p8q0r2s4t6v8w
UpstreamError:
description: X couldn’t be reached. Retry with backoff. Not charged.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: error
error: 502
message: Couldn’t reach X right now. Try again in a moment.
request_id: req_01jc3v8k2m4n6p8q0r2s4t6v8w
BadRequest:
description: A missing or invalid parameter, or a cursor that can’t be used. Not charged.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: error
error: 400
message: userName is required.
request_id: req_01jc3v8k2m4n6p8q0r2s4t6v8w
ServerError:
description: Unexpected error on our side. Quote the request id to support. Not charged.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: error
error: 500
message: Something went wrong on our side. Quote the request ID if you contact support.
request_id: req_01jc3v8k2m4n6p8q0r2s4t6v8w
InsufficientCredits:
description: Not enough credits for this request. Not charged.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: error
error: 402
message: Not enough credits. Top up in your panel.
request_id: req_01jc3v8k2m4n6p8q0r2s4t6v8w
NotFound:
description: The user, tweet or article doesn’t exist, or was suspended or deleted. Not charged.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
status: error
error: 404
message: User not found. Check the userName, or the account may be suspended.
request_id: req_01jc3v8k2m4n6p8q0r2s4t6v8w
headers:
RetryAfter:
description: Seconds to wait before retrying.
schema:
type: integer
RateLimitRemaining:
description: Requests left in the current minute for this API key.
schema:
type: integer
RateLimitLimit:
description: Requests allowed per minute for this API key.
schema:
type: integer
RequestId:
description: Unique id of this call. Quote it when contacting support.
schema:
type: string
example: req_01jc3v8k2m4n6p8q0r2s4t6v8w
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: Your API key, from https://xproapi.com/app/api/keys. Keys start with xp_.
externalDocs:
description: API documentation and guides
url: https://xproapi.com/docs/
x-refined-from:
- xproapi-openapi.json
- xproapi-openapi.json