> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xquik.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List styles

> Retrieve all cached tweet style profiles for your account

<blockquote className="agent-llms-directive">
  For the complete documentation index, see <a href="/llms.txt">llms.txt</a>.
</blockquote>

<Callout icon="circle-check" color="#16a34a">
  **Free** - does not consume credits
</Callout>

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET https://xquik.com/api/v1/styles \
    -H "x-api-key: xq_YOUR_KEY_HERE" | jq
  ```

  ```javascript Node.js theme={null}
  const response = await fetch("https://xquik.com/api/v1/styles", {
    method: "GET",
    headers: {
      "x-api-key": "xq_YOUR_KEY_HERE",
    },
  });
  const data = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://xquik.com/api/v1/styles",
      headers={"x-api-key": "xq_YOUR_KEY_HERE"},
  )
  data = response.json()
  ```

  ```go Go theme={null}
  package main

  import (
      "encoding/json"
      "fmt"
      "net/http"
  )

  func main() {
      req, err := http.NewRequest("GET", "https://xquik.com/api/v1/styles", nil)
      if err != nil {
          panic(err)
      }
      req.Header.Set("x-api-key", "xq_YOUR_KEY_HERE")

      resp, err := http.DefaultClient.Do(req)
      if err != nil {
          panic(err)
      }
      defer resp.Body.Close()

      var data map[string]interface{}
      if err := json.NewDecoder(resp.Body).Decode(&data); err != nil {
          panic(err)
      }
      fmt.Println(data)
  }
  ```
</CodeGroup>

## Headers

<ParamField header="x-api-key" type="string" required>
  Your API key. Session cookie authentication is also supported. Generate a key from the [dashboard](https://xquik.com/dashboard).
</ParamField>

## Response

<Tabs>
  <Tab title="200 OK">
    <ResponseField name="styles" type="object[]">
      Array of cached style summaries.

      <Expandable title="style object">
        <ResponseField name="xUsername" type="string">Normalized X username.</ResponseField>
        <ResponseField name="tweetCount" type="number">Number of cached tweets.</ResponseField>
        <ResponseField name="fetchedAt" type="string">ISO 8601 timestamp when tweets were fetched.</ResponseField>
        <ResponseField name="isOwnAccount" type="boolean">Whether this is the authenticated user's own X account.</ResponseField>
      </Expandable>
    </ResponseField>

    ```json theme={null}
    {
      "styles": [
        {
          "xUsername": "elonmusk",
          "tweetCount": 20,
          "fetchedAt": "2026-02-24T10:30:00.000Z",
          "isOwnAccount": false
        },
        {
          "xUsername": "sama",
          "tweetCount": 18,
          "fetchedAt": "2026-02-25T14:00:00.000Z",
          "isOwnAccount": false
        }
      ]
    }
    ```
  </Tab>

  <Tab title="401 Unauthenticated">
    ```json theme={null}
    { "error": "unauthenticated", "message": "Missing or invalid API key" }
    ```

    Missing or invalid API key.
  </Tab>

  <Tab title="429 Rate Limited">
    ```json theme={null}
    { "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 1 }
    ```

    Too many requests. Wait for the `Retry-After` header before retrying.
  </Tab>
</Tabs>

<Note>
  **Related:** [Analyze & Cache Style](/api-reference/styles/analyze) to add a new style, [Get Style](/api-reference/styles/get) to fetch full tweet data for a specific style, or [Compare Styles](/api-reference/styles/compare) to compare two cached styles side by side.
</Note>
