Give agents tools for secure, real-time access to fetch, search, write, and sync across every system, with replication, entity mapping, and auth built-in.


About this Connector
Connector for the Pinterest API v5, enabling access to Pinterest advertising and content management data. Supports reading ad accounts, boards, campaigns, ad groups, ads, board sections, board pins, catalogs, catalog feeds, catalog product groups, audiences, conversion tags, customer lists, and keywords.
CRM
Sales Analytics
Customer Data
Version Information
Package version
0.1.1
Connector version
0.1.1
SDK commit
44677ecbb4b815bb4fb2a54c6e5339681bcf36a8
Support Open Source
Check us out on Github and join the Airbyte community
Installation & Usage
1
Install Package
Using uv or pip
bash
uv pip install airbyte-agent-pinterest
2
Import
Initialize and use
python
from airbyte_agent_pinterest import PinterestConnector
from airbyte_agent_pinterest.models import PinterestAuthConfig
connector = PinterestConnector(
auth_config=PinterestAuthConfig(
refresh_token="<Pinterest OAuth2 refresh token.>",
client_id="<Pinterest OAuth2 client ID.>",
client_secret="<Pinterest OAuth2 client secret.>"
)
)3
Tool
Add tools to your agent
python
@agent.tool_plain # assumes you're using Pydantic AI
@PinterestConnector.tool_utils
async def pinterest_execute(entity: str, action: str, params: dict | None = None):
return await connector.execute(entity, action, params or {})Supported Entities & Actions
Lorem ipsum
Lorem ipsum
| Entity | Actions |\n|--------|---------|\n| Ad Accounts | [List](./REFERENCE.md#ad-accounts-list), [Get](./REFERENCE.md#ad-accounts-get), [Search](./REFERENCE.md#ad-accounts-search) |\n| Boards | [List](./REFERENCE.md#boards-list), [Get](./REFERENCE.md#boards-get), [Search](./REFERENCE.md#boards-search) |\n| Campaigns | [List](./REFERENCE.md#campaigns-list), [Search](./REFERENCE.md#campaigns-search) |\n| Ad Groups | [List](./REFERENCE.md#ad-groups-list), [Search](./REFERENCE.md#ad-groups-search) |\n| Ads | [List](./REFERENCE.md#ads-list), [Search](./REFERENCE.md#ads-search) |\n| Board Sections | [List](./REFERENCE.md#board-sections-list), [Search](./REFERENCE.md#board-sections-search) |\n| Board Pins | [List](./REFERENCE.md#board-pins-list), [Search](./REFERENCE.md#board-pins-search) |\n| Catalogs | [List](./REFERENCE.md#catalogs-list), [Search](./REFERENCE.md#catalogs-search) |\n| Catalogs Feeds | [List](./REFERENCE.md#catalogs-feeds-list), [Search](./REFERENCE.md#catalogs-feeds-search) |\n| Catalogs Product Groups | [List](./REFERENCE.md#catalogs-product-groups-list), [Search](./REFERENCE.md#catalogs-product-groups-search) |\n| Audiences | [List](./REFERENCE.md#audiences-list), [Search](./REFERENCE.md#audiences-search) |\n| Conversion Tags | [List](./REFERENCE.md#conversion-tags-list), [Search](./REFERENCE.md#conversion-tags-search) |\n| Customer Lists | [List](./REFERENCE.md#customer-lists-list), [Search](./REFERENCE.md#customer-lists-search) |\n| Keywords | [List](./REFERENCE.md#keywords-list), [Search](./REFERENCE.md#keywords-search) |
Example Prompts
Lorem ipsum
List all my Pinterest ad accounts - List all my Pinterest boards - Show me all campaigns in my ad account - List all ads in my ad account - Show me all ad groups in my ad account - List all audiences for my ad account - Show me my catalog feeds - Which campaigns are currently active? - What are the top boards by pin count? - Show me ads that have been rejected - Find campaigns with the highest daily spend cap
Why Airbyte for AI Agents?
Built for production AI workloads with enterprise-grade reliability
Agent-Native Design
Structured, LLM-friendly schemas optimized for AI agent consumption with natural language query support.
Secure Authentication
Built-in OAuth 2.0 handling with automatic token refresh. No hard-coded credentials.
Production Ready
Battle-tested connectors with comprehensive error handling, logging, and retry logic.
Open Source
Fully open source under the MIT license. Contribute, customize, and extend freely.
Works with your favorite frameworks
🦜
LangChain
🦙
LlamaIndex
🤖
CrewAI
⚡
AutoGen
🧠
OpenAI Agents SDK
🔮
Claude Agents SDK
Frequently Asked Questions
Didn't find your answer? Please don't hesitate to reach out.
The Pinterest connector supports OAuth2 authentication using a refresh token, client ID, and client secret. In hosted mode, credentials are stored securely in Airbyte Cloud and you authenticate using your Airbyte client credentials instead.
Can I use this connector with any AI agent framework?
The connector is compatible with any Python-based AI agent framework including LangChain, LlamaIndex, CrewAI, Pydantic AI, and custom implementations.
Does this connector support write operations?
Currently, the Pinterest connector focuses on read operations only. Write operations such as creating boards, updating campaign budgets, deleting ad groups, posting pins, or retrieving analytics/performance metrics are not supported at this time.
How is this different from the Airbyte data connector?
Agent connectors are specifically designed for AI agents and LLM applications. They provide natural language interfaces, optimized response formats, and seamless integration with agent frameworks, unlike traditional ETL-focused connectors.
Will there be a platform for agent connectors?
The hosted version with secure credential storage through Airbyte Cloud is already available. See the hosted usage section in the documentation for setup instructions.