# Xquik API reference

> Xquik is a read and write API for X (Twitter) data. This reference covers the read lookups an investigator uses: a user's profile, their posts, their followers, a single post, post search, and the credit balance. Requests go to https://xquik.com/api/v1 with the key in the x-api-key header…

Source: https://osinttools.io/apis/xquik/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/xquik/

- Base URL: https://xquik.com/api/v1
- Authentication: API key in the `x-api-key` header. Get a key: https://dashboard.xquik.com/en/api-keys
- Pricing: Credits
- Rate limits: Not stated in the docs
- Vendor docs: https://docs.xquik.com/api-reference/features.md
- OpenAPI spec: https://xquik.com/openapi.yaml

## Overview

Xquik is a read and write API for X (Twitter) data. This reference covers the read lookups an investigator uses: a user's profile, their posts, their followers, a single post, post search, and the credit balance.

Requests go to `https://xquik.com/api/v1` with the key in the `x-api-key` header (sessions and OAuth also work; guest keys use `Authorization: Bearer`). Each call costs credits: 1 credit per profile, per post or per row returned. Writes and private reads need a connected X account and are not described here. The docs also publish an OpenAPI file and an MCP server at `https://xquik.com/mcp`.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Invalid input, ID or field name |
| 401 | Missing or invalid API key |
| 402 | Insufficient credits or payment required |
| 403 | API key paused, or the account is protected |
| 404 | User or post not found |
| 424 | Read service dependency failed, or an unsupported filter was used |
| 429 | Rate limit exceeded; wait for Retry-After |
| 503 | Service temporarily unavailable |

## Users

### Look up an X profile by user ID, username or profile URL.

`GET /x/users/{id}`

- Takes: Username
- Footprint: passive (the target is not contacted)
- Cost: 1 credit per call

Returns the profile, counts, verification status and image URLs. Suspended or deactivated accounts set unavailable and unavailableReason. Omitted fields mean X did not supply them.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | Numeric user ID, username (with or without @), or URL-encoded profile URL Example: exampleuser |
| `fields` | query | string | no | Comma-separated fields to keep; dots address nested fields Example: id,username,followers |
| `omit` | query | string | no | Comma-separated fields to drop Example: coverPicture |

Response fields:

- `id` (string): User ID
- `username` (string): Handle
- `name` (string): Display name
- `description` (string): Bio
- `followers` (integer): Follower count
- `following` (integer): Following count
- `verified` (boolean): Verification status
- `location` (string): Profile location
- `url` (string): Profile website
- `createdAt` (string): ISO 8601 creation time
- `statusesCount` (integer): Posts count
- `pinnedTweetIds` (string[]): Pinned post IDs

```bash
curl 'https://xquik.com/api/v1/x/users/exampleuser' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "id": "987654321",
  "username": "exampleuser",
  "name": "Example User",
  "description": "An example bio",
  "followers": 1000,
  "following": 200,
  "verified": false,
  "location": "Springfield",
  "url": "https://example.com",
  "createdAt": "2020-01-15T00:00:00.000Z",
  "statusesCount": 500,
  "pinnedTweetIds": [
    "1234567890"
  ]
}
```

### List a user's posts, newest first.

`GET /x/users/{id}/tweets`

- Takes: Username
- Footprint: passive (the target is not contacted)
- Cost: 1 credit per tweet returned

Returns posts with engagement counts, author, media and reply context. Reposts are included by default. Page with next_cursor while has_next_page is true.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | User ID, username or URL-encoded profile URL Example: exampleuser |
| `cursor` | query | string | no | next_cursor from the previous page, unchanged Example: DAADDAABCgABF |
| `pageSize` | query | integer | no | Items per page; 1 to 10000 in automatic mode Example: 20 |
| `sinceTime` | query | string | no | Keep posts at or after this time (ISO 8601 or Unix seconds) Example: 2026-01-01T00:00:00Z |
| `untilTime` | query | string | no | Keep posts before this time Example: 2026-02-01T00:00:00Z |
| `includeReplies` | query | boolean | no | Include replies Example: false |
| `retweets` | query | string | no | Set to exclude to drop reposts Example: exclude |

Response fields:

- `tweets[].id` (string): Post ID
- `tweets[].text` (string): Post text
- `tweets[].createdAt` (string): ISO 8601 creation time
- `tweets[].url` (string): Permalink on X
- `tweets[].likeCount` (integer): Likes
- `tweets[].retweetCount` (integer): Reposts
- `tweets[].replyCount` (integer): Replies
- `tweets[].viewCount` (integer): Views
- `tweets[].author.username` (string): Author handle
- `has_next_page` (boolean): Whether more pages remain
- `next_cursor` (string): Cursor for the next page; empty when finished

```bash
curl 'https://xquik.com/api/v1/x/users/exampleuser/tweets' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "tweets": [
    {
      "id": "1893456789012345678",
      "text": "An example post",
      "createdAt": "2026-02-24T10:00:00.000Z",
      "url": "https://x.com/exampleuser/status/1893456789012345678",
      "likeCount": 5,
      "retweetCount": 1,
      "replyCount": 0,
      "viewCount": 120,
      "author": {
        "id": "987654321",
        "username": "exampleuser",
        "name": "Example User"
      }
    }
  ],
  "has_next_page": true,
  "next_cursor": "DAADDAABCgABF"
}
```

### List the follower profiles of an X account, newest first.

`GET /x/users/{id}/followers`

- Takes: Username
- Footprint: passive (the target is not contacted)
- Cost: 1 credit per result returned

Returns profile rows with counts, verification and any published email or contact info. Filters such as minFollowers or verifiedOnly are applied before billing.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | User ID, username or URL-encoded profile URL Example: exampleuser |
| `cursor` | query | string | no | next_cursor from the previous page, unchanged Example: DAACCgACGE |
| `pageSize` | query | integer | no | Rows per page; 20 to 10000 in automatic mode Example: 200 |
| `enrichProfiles` | query | boolean | no | Add each row's full profile; slower, same price Example: false |
| `minFollowers` | query | integer | no | Keep only followers with at least this many followers Example: 100 |
| `verifiedOnly` | query | boolean | no | Keep only verified accounts Example: false |

Response fields:

- `users[].id` (string): X user ID
- `users[].username` (string): Username
- `users[].name` (string): Display name
- `users[].description` (string): Bio
- `users[].followers` (integer): Follower count
- `users[].following` (integer): Following count
- `users[].verified` (boolean): Verification status
- `users[].email` (string): First published email, lowercased
- `users[].createdAt` (string): ISO 8601 creation time
- `has_next_page` (boolean): Whether more results exist
- `next_cursor` (string): Cursor for the next page

```bash
curl 'https://xquik.com/api/v1/x/users/exampleuser/followers' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "users": [
    {
      "id": "111222333",
      "username": "followerone",
      "name": "Follower One",
      "description": "An example bio",
      "followers": 150,
      "following": 300,
      "verified": false,
      "createdAt": "2021-03-01T00:00:00.000Z"
    }
  ],
  "has_next_page": true,
  "next_cursor": "DAACCgACGE"
}
```

## Posts

### Get one post by ID or URL with author, media and engagement counts.

`GET /x/tweets/{id}`

- Takes: URL
- Footprint: passive (the target is not contacted)
- Cost: 1 credit per call

Returns tweet and author objects. A usernames in place of an ID is rejected. A 404 carries a reason such as deleted, author_suspended or protected.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | Post ID or URL-encoded post URL Example: 1893456789012345678 |
| `fields` | query | string | no | Comma-separated fields to keep Example: id,text,author.username |
| `omit` | query | string | no | Comma-separated fields to drop Example: entities,media |

Response fields:

- `tweet.id` (string): Post ID
- `tweet.text` (string): Post text
- `tweet.createdAt` (string): Creation time
- `tweet.url` (string): Permalink
- `tweet.lang` (string): Language code
- `tweet.likeCount` (integer): Likes
- `tweet.retweetCount` (integer): Reposts
- `tweet.viewCount` (integer): Views
- `tweet.conversationId` (string): Conversation thread ID
- `author.id` (string): Author user ID
- `author.username` (string): Author handle
- `author.followers` (integer): Author follower count

```bash
curl 'https://xquik.com/api/v1/x/tweets/1893456789012345678' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "tweet": {
    "id": "1893456789012345678",
    "text": "An example post",
    "createdAt": "2026-02-24T10:00:00.000Z",
    "url": "https://x.com/exampleuser/status/1893456789012345678",
    "lang": "en",
    "likeCount": 5,
    "retweetCount": 1,
    "viewCount": 120,
    "conversationId": "1893456789012345678"
  },
  "author": {
    "id": "987654321",
    "username": "exampleuser",
    "followers": 1000
  }
}
```

### Search posts by query, with filters for user, time, language and engagement.

`GET /x/tweets/search`

- Footprint: passive (the target is not contacted)
- Cost: 1 credit per tweet returned; 2 for posts kept by topic or imageShows

Returns matching posts newest first (Latest) or engagement-ranked (Top). Page with next_cursor and keep the same filters. Parameters source, excludeSource, geocode and within return 424.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | yes | Query, post ID or status URL Example: example keyword |
| `queryType` | query | string | no | Latest or Top Example: Latest One of: Latest, Top |
| `cursor` | query | string | no | next_cursor from the previous page, unchanged Example: DAADDAABCgABF |
| `limit` | query | integer | no | Maximum posts per page, 1 to 10000 Example: 20 |
| `sinceTime` | query | string | no | Inclusive lower time bound (UTC) Example: 2026-01-01T00:00:00Z |
| `untilTime` | query | string | no | Exclusive upper time bound (UTC) Example: 2026-02-01T00:00:00Z |
| `fromUser` | query | string | no | Only posts from this user Example: exampleuser |
| `withinTime` | query | string | no | Recent window such as 90m or 7d Example: 7d |

Response fields:

- `tweets[].id` (string): Post ID
- `tweets[].text` (string): Post text
- `tweets[].createdAt` (string): Creation time
- `tweets[].likeCount` (integer): Likes
- `tweets[].author.username` (string): Author handle
- `has_next_page` (boolean): Whether another page exists
- `next_cursor` (string): Cursor for the next page; empty when done
- `searchedQuery` (string): Normalized q, present only when it differs

```bash
curl 'https://xquik.com/api/v1/x/tweets/search?q=example%20keyword' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "tweets": [
    {
      "id": "1893456789012345678",
      "text": "An example post about example keyword",
      "createdAt": "2026-02-24T10:00:00.000Z",
      "likeCount": 5,
      "author": {
        "id": "987654321",
        "username": "exampleuser"
      }
    }
  ],
  "has_next_page": false,
  "next_cursor": ""
}
```

## Account

### Show the credit balance and auto top-up settings.

`GET /credits`

- Footprint: passive (the target is not contacted)
- Cost: Free

Free; does not use credits. Balances are bigint strings.

Response fields:

- `balance` (string): Current credit balance
- `lifetime_purchased` (string): Total credits purchased
- `lifetime_used` (string): Total credits consumed
- `auto_topup_enabled` (boolean): Whether automatic top-up is on
- `auto_topup_threshold` (string): Balance that triggers a top-up
- `auto_topup_amount_dollars` (number): Dollars charged per top-up
- `auto_topup_stopped` (boolean): true when declined charges stopped top-up

```bash
curl 'https://xquik.com/api/v1/credits' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "balance": "450",
  "lifetime_purchased": "1000",
  "lifetime_used": "550",
  "auto_topup_enabled": false,
  "auto_topup_threshold": "50000",
  "auto_topup_amount_dollars": 10,
  "auto_topup_stopped": false
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
