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

# OnlyFans

> Fetch OnlyFans profile information including bio, avatar, and subscription pricing.

# OnlyFans

**Base URL:** `https://drain.lat/api/v1/onlyfans`

<AccordionGroup>
  <Accordion title="GET /profile/:username" icon="user">
    Fetch OnlyFans profile information.

    ```
    GET /api/v1/onlyfans/profile/:username
    ```

    <ParamField path="username" type="string" required>
      OnlyFans username (with or without @).
    </ParamField>

    <CodeGroup>
      ```bash cURL theme={null}
      curl "https://drain.lat/api/v1/onlyfans/profile/username" \
        -H "x-api-key: YOUR_API_KEY"
      ```

      ```javascript JavaScript theme={null}
      const res = await fetch("https://drain.lat/api/v1/onlyfans/profile/username", {
        headers: { "x-api-key": "YOUR_API_KEY" }
      });
      const data = await res.json();
      ```

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

      res = requests.get(
          "https://drain.lat/api/v1/onlyfans/profile/username",
          headers={"x-api-key": "YOUR_API_KEY"}
      )
      print(res.json())
      ```
    </CodeGroup>

    <ResponseField name="username" type="string">OnlyFans username.</ResponseField>
    <ResponseField name="name" type="string">Display name.</ResponseField>
    <ResponseField name="bio" type="string">Profile bio/description.</ResponseField>
    <ResponseField name="avatarUrl" type="string">Profile avatar image URL.</ResponseField>
    <ResponseField name="subscriptionPrice" type="number">Monthly subscription price in USD. `null` if free.</ResponseField>
    <ResponseField name="profileUrl" type="string">Link to the OnlyFans profile.</ResponseField>

    ```json Response theme={null}
    {
      "username": "username",
      "name": "Display Name",
      "bio": "Profile bio text here",
      "avatarUrl": "https://public.onlyfans.com/files/...",
      "subscriptionPrice": 9.99,
      "profileUrl": "https://onlyfans.com/username",
      "scrapedAt": "2026-05-31T12:00:00.000Z"
    }
    ```
  </Accordion>
</AccordionGroup>
