# Pinterest API

> Pinterest returns visual search and public profile data as a workflow and API.

Pinterest’s Search pins method returns imagery, creator, board, saves, and linked website details for a required idea query. Pinterest’s Get profile method returns public profile details and visible boards for a required username, @username, or profile link.

- Page: https://fous.com/tools/pinterest
- Handle: `@pinterest`
- Category: [Social](https://fous.com/tools/category/social)
- Source website: https://pinterest.com
- Last verified: Sep 29, 2026

## Methods

### Get profile

Operation `get_profile`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Get a public Pinterest profile and its visible boards in profile order. Monthly views are null when Pinterest does not show them.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `username` | string | yes | `"nasa"` | Pinterest username, @username, or profile link, for example nasa or https://www.pinterest.com/nasa/. |
| `max_boards` | integer | no | `25` | Maximum number of boards to return, for example 25. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "username"
  ],
  "properties": {
    "username": {
      "type": "string",
      "description": "Pinterest username, @username, or profile link, for example nasa or https://www.pinterest.com/nasa/.",
      "examples": [
        "nasa",
        "https://www.pinterest.com/pinterest/",
        "@nasa"
      ]
    },
    "max_boards": {
      "type": "integer",
      "default": 25,
      "maximum": 50,
      "minimum": 1,
      "description": "Maximum number of boards to return, for example 25.",
      "x-fous-developer": true,
      "examples": [
        25,
        50
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "username": "nasa",
      "max_boards": 25
    },
    {
      "username": "https://www.pinterest.com/pinterest/",
      "max_boards": 50
    },
    {
      "username": "@nasa"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `bio` | string or null | `"Explore the universe and discover our home planet with the official NASA boards on Pinterest. Visit us at www.nasa.gov"` |  |
| `boards` | array |  |  |
| `boards[].board_link` | string | `"https://www.pinterest.com/nasa/learn-with-nasa/"` |  |
| `boards[].board_name` | string | `"Learn With NASA"` |  |
| `boards[].number_of_pins` | integer or null | `1623` |  |
| `username` | string | `"nasa"` |  |
| `followers` | integer or null | `556449` |  |
| `following` | integer or null | `5` |  |
| `display_name` | string or null | `"NASA"` |  |
| `profile_link` | string | `"https://www.pinterest.com/nasa/"` |  |
| `website_link` | string or null | `"http://www.nasa.gov/"` |  |
| `monthly_views` | integer or null |  |  |
| `profile_picture_link` | string or null | `"https://i.pinimg.com/280x280_RS/37/a1/75/37a175e6d2431425576f0b8f81389394.jpg"` |  |

**Example input**

```json
{
  "username": "nasa",
  "max_boards": 25
}
```

**Example output**

```json
{
  "bio": "Explore the universe and discover our home planet with the official NASA boards on Pinterest. Visit us at www.nasa.gov",
  "boards": [
    {
      "board_link": "https://www.pinterest.com/nasa/learn-with-nasa/",
      "board_name": "Learn With NASA",
      "number_of_pins": 1623
    },
    {
      "board_link": "https://www.pinterest.com/nasa/first-woman/",
      "board_name": "First Woman",
      "number_of_pins": 6
    },
    {
      "board_link": "https://www.pinterest.com/nasa/humans-in-space/",
      "board_name": "Humans in Space",
      "number_of_pins": 754
    }
  ],
  "username": "nasa",
  "followers": 556449,
  "following": 5,
  "display_name": "NASA",
  "profile_link": "https://www.pinterest.com/nasa/",
  "website_link": "http://www.nasa.gov/",
  "monthly_views": null,
  "profile_picture_link": "https://i.pinimg.com/280x280_RS/37/a1/75/37a175e6d2431425576f0b8f81389394.jpg"
}
```

### Search pins

Operation `search_pins`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Find Pinterest pins for an idea, in search order, with image, creator, board, saves, and linked website details. Limited to the first public search page before sign-up.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `query` | string | yes | `"garden path ideas"` | Idea to search for, for example small kitchen ideas. |
| `max_results` | integer | no | `3` | Most pins to return from the first page, for example 25. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "description": "Idea to search for, for example small kitchen ideas.",
      "examples": [
        "garden path ideas",
        "small kitchen ideas"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 25,
      "maximum": 50,
      "minimum": 1,
      "description": "Most pins to return from the first page, for example 25.",
      "x-fous-developer": true,
      "examples": [
        3
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "query": "garden path ideas",
      "max_results": 3
    },
    {
      "query": "small kitchen ideas"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `pins` | array |  |  |
| `pins[].saves` | integer or null | `148` |  |
| `pins[].title` | string or null | `"30 Cheap Garden Path Ideas"` |  |
| `pins[].pin_id` | string | `"281543726972356"` |  |
| `pins[].website` | string or null | `"https://addictedtoorganization.com/cheap-walkway-ideas-diy/"` |  |
| `pins[].pin_link` | string | `"https://www.pinterest.com/pin/281543726972356/"` |  |
| `pins[].board_name` | string or null | `"Home Inspiration"` |  |
| `pins[].image_link` | string or null | `"https://i.pinimg.com/originals/3d/82/06/3d8206564c3917da437dc45739681170.jpg"` |  |
| `pins[].description` | string or null | `"Get inspired by these 30 Clever DIY Walkway Ideas to transform your outdoor space with unique and budget-friendly pathw` |  |
| `pins[].website_domain` | string or null | `"addictedtoorganization.com"` |  |
| `pins[].pinner_username` | string or null | `"btwitselizabeth"` |  |

**Example input**

```json
{
  "query": "garden path ideas",
  "max_results": 3
}
```

**Example output**

```json
{
  "pins": [
    {
      "saves": 148,
      "title": "30 Cheap Garden Path Ideas",
      "pin_id": "281543726972356",
      "website": "https://addictedtoorganization.com/cheap-walkway-ideas-diy/",
      "pin_link": "https://www.pinterest.com/pin/281543726972356/",
      "board_name": null,
      "image_link": "https://i.pinimg.com/originals/3d/82/06/3d8206564c3917da437dc45739681170.jpg",
      "description": "Get inspired by these 30 Clever DIY Walkway Ideas to transform your outdoor space with unique and budget-friendly pathways. Find creative solutions for garden paths, stepping stones, and beautiful bac…",
      "website_domain": "addictedtoorganization.com",
      "pinner_username": "btwitselizabeth"
    },
    {
      "saves": 1,
      "title": "This Reclaimed Brick Garden Path Makes Old Bricks Look Beautiful Again",
      "pin_id": "266767977923585909",
      "website": "https://mygarbagecollection.com/eco-friendly-garden-ideas-using-recycled-materials/?utm_source=pinterest&utm_medium=social&utm_campaign=eco_friendly_garden_recycled_materials&utm_content=reclaimed_bri…",
      "pin_link": "https://www.pinterest.com/pin/266767977923585909/",
      "board_name": null,
      "image_link": "https://i.pinimg.com/originals/fe/0e/44/fe0e44ac308d239823de77621bb93f42.webp",
      "description": "Old bricks can create a garden path with more character than brand new paving. Discover how reclaimed bricks can shape flower beds, guide movement and give your outdoor space an established look. If y…",
      "website_domain": "mygarbagecollection.com",
      "pinner_username": "kretelica"
    }
  ]
}
```

## Quick start

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@pinterest",
  "visibility": "public",
  "operation": "get_profile",
  "version": 1,
  "input": {
    "username": "nasa",
    "max_boards": 25
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

body = json.loads("{\n  \"api\": \"@pinterest\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_profile\",\n  \"version\": 1,\n  \"input\": {\n    \"username\": \"nasa\",\n    \"max_boards\": 25\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=180) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_000),
  body: JSON.stringify({
  "api": "@pinterest",
  "visibility": "public",
  "operation": "get_profile",
  "version": 1,
  "input": {
    "username": "nasa",
    "max_boards": 25
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/pinterest`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `get_profile`: Get profile. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `search_pins`: Search pins. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-pinterest https://api.fous.com/mcp/tools/pinterest --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## Use cases

- Research ideas using related imagery and linked websites
- Compare saves across idea search results
- Review a public profile’s visible boards and pin counts
- Find creators and profile websites related to an idea

## FAQ

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this Pinterest tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

### Do I need a Pinterest account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from pinterest.com when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.

### What results appear for a particular idea?

Search pins returns Pinterest results for a required idea query in search order, with image, creator, board, saves, and linked website details.

### Which boards are visible on a public profile?

Get profile returns a public profile’s visible boards in profile order.

## Related

- [Instagram API](https://fous.com/tools/instagram.md): Instagram provides public photos, videos, profiles, exact headline counts, bio links, and profile pictures, plus recent public posts and reels; some profiles or posts require login, and view counts may be unavailable.
- [TikTok API](https://fous.com/tools/tiktok.md): TikTok returns public profiles and totals, recent pinned-first videos, and public video details and engagement; private content unavailable, and feeds may be incomplete or empty.
- [Threads API](https://fous.com/tools/threads.md): Threads provides public profiles and posts, including recent posts, engagement and replies; private or login-only content is excluded, and replies may be limited to 10.
- [Mastodon API](https://fous.com/tools/mastodon.md): Mastodon provides public profiles and recent public posts, including hashtag posts, but excludes private and unlisted posts and may limit visibility to accounts known to mastodon.social or a selected server.
- [X API](https://fous.com/tools/x.md): X returns public profile details and public posts with author, media, and engagement; deleted, protected, or unavailable posts cannot be retrieved.
- [Pexels API](https://fous.com/tools/pexels.md): Pexels offers free stock photos and videos, with searches returning up to 80 results in Pexels search order.
- [Reddit API](https://fous.com/tools/reddit.md): Reddit returns searchable public posts, community feeds/details, user profiles and recent activity, posts with up to 200 comments; unavailable content limits results; Top defaults weekly.
- [PyPI API](https://fous.com/tools/pypi.md): PyPI provides package metadata, links, and current/latest plus 10 recent versions; release dates reflect first file uploads, and keyword searches return up to 100 packages.
- [All Social tools](https://fous.com/tools/category/social)
