> ## 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.

# Pinterest

> Fetch public Pinterest profiles including follower counts, pins, and monthly views.

# Pinterest

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

<AccordionGroup>
  <Accordion title="GET /profile/:username" icon="user">
    Fetch a public Pinterest profile.

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

    <ParamField path="username" type="string" required>
      The Pinterest username to look up.
    </ParamField>

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

      ```javascript JavaScript theme={null}
      const res = await fetch("https://drain.lat/api/v1/pinterest/profile/nasa", {
        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/pinterest/profile/nasa",
          headers={"x-api-key": "YOUR_API_KEY"}
      )
      print(res.json())
      ```
    </CodeGroup>

    <ResponseField name="id" type="string">Pinterest user ID.</ResponseField>
    <ResponseField name="username" type="string">Pinterest username.</ResponseField>
    <ResponseField name="displayName" type="string">Display name.</ResponseField>
    <ResponseField name="bio" type="string">Profile bio.</ResponseField>
    <ResponseField name="avatarUrl" type="string">Avatar image URL.</ResponseField>
    <ResponseField name="website" type="string">Website link.</ResponseField>
    <ResponseField name="location" type="string">Location.</ResponseField>
    <ResponseField name="followers" type="number">Follower count.</ResponseField>
    <ResponseField name="following" type="number">Following count.</ResponseField>
    <ResponseField name="pins" type="number">Total pins.</ResponseField>
    <ResponseField name="boards" type="number">Total boards.</ResponseField>
    <ResponseField name="monthlyViews" type="number">Monthly view count.</ResponseField>
    <ResponseField name="isVerified" type="boolean">Whether the account is verified.</ResponseField>
    <ResponseField name="profileUrl" type="string">Link to the Pinterest profile.</ResponseField>

    ```json Response theme={null}
    {
      "id": "354330700897628702",
      "username": "nasa",
      "displayName": "NASA",
      "bio": "Explore the universe with NASA.",
      "avatarUrl": "https://i.pinimg.com/custom_covers/...",
      "website": "https://www.nasa.gov",
      "location": "Washington, D.C.",
      "followers": 1200000,
      "following": 42,
      "pins": 8430,
      "boards": 64,
      "monthlyViews": 9800000,
      "isVerified": true,
      "profileUrl": "https://www.pinterest.com/nasa/",
      "scrapedAt": "2026-05-05T12:00:00.000Z"
    }
    ```
  </Accordion>
</AccordionGroup>
