You.com API

Give your agents access to You.com API. Bring your own You.com key, or skip the signup and pay per call from your Composio balance with Composio Instant.

You.com logoYou.com
Instant

You.com is a privacy-focused search engine that helps users find relevant information quickly and securely. Enjoy enhanced filtering, privacy controls, and tailored search results.

8 Tools
COMPOSIO INSTANT

What is Composio Instant?

Composio Instant lets your agent use paid APIs like You.com without a separate account or API key for each one. New accounts start with $2 of free credit.

No You.com account or key

Your agent calls You.com through Composio, so there is nothing to sign up for, store, or rotate.

Pay per call, at cost

$0.005 per web search, paid from your Composio balance with zero markup.

Works in any agent

Claude, ChatGPT, Cursor, and other MCP clients, or your own code with the Composio SDK.

Works with your apps

Use You.com with Gmail, Slack, Google Sheets, and 1,700+ other apps you connect.

AI ASSISTANTS

Connect the You.com API to your AI assistant

Use You.com from the AI assistant you already work in. Connect Composio once, then paste the prompt.

  1. 1

    Open the Connectors menu

    Use the button to open Claude's Add connector dialog with Composio filled in. Or click + in the message box, then Connectors, Add connector and Add custom connector.
    Add Composio to Claude
  2. 2

    Add the Composio MCP server

    Name it Composio, paste the MCP server URL and click Add.
    https://connect.composio.dev/mcp
  3. 3

    Authorize in your browser

    A browser window opens. Sign in to Composio to approve the connection.
  4. 4

    Paste the prompt

    Start a new chat and paste the prompt. Claude runs the call on Composio Instant.
  1. 1

    Install the Composio plugin

    Open Composio's plugin page in ChatGPT and click Install. Sign in to ChatGPT first if it asks.
    Install in ChatGPT
  2. 2

    Authorize in your browser

    Connect the plugin, then sign in to Composio to approve the connection.
  3. 3

    Turn on Composio in your chat

    In a new chat, click +, then More, and select Composio.
  4. 4

    Paste the prompt

    Paste the prompt into that chat. ChatGPT runs the call on Composio Instant.
  1. 1

    Install the Composio plugin

    Open Composio in the Cursor marketplace, click Install Composio Plugin for Cursor and approve the connection in your browser.
    Install in Cursor
  2. 2

    Paste the prompt

    Open the Agent chat and paste the prompt. Cursor runs the call on Composio Instant.
  1. 1

    Add the Composio plugin

    Open Composio's listing on x.ai and click Add to Grok Bot. When Grok Bot opens the plugin, click Add.
    Add to Grok Bot
  2. 2

    Authenticate

    Go to Installed, open Composio and click Authenticate. Sign in to Composio and click Authorize.
  3. 3

    Paste the prompt

    Paste the prompt into your bot's chat. Grok Bot runs the call on Composio Instant.
  1. 1

    Paste the setup prompt

    Copy this into your Hermes chat. Hermes adds the Composio MCP server for you.
    Set up Composio from composio.dev/hermes
  2. 2

    Authorize in your browser

    A browser window opens. Sign in to Composio to approve the connection.
  3. 3

    Paste the prompt

    Start a new chat and paste the prompt. Hermes runs the call on Composio Instant.
ClaudeNew chat

Paste this prompt

Use You.com through Composio Instant to search for "how heat pumps work" and return up to three results per section.

What success looks like

YOUSEARCH_YOU_SEARCH

Your assistant runs You.com and replies with search results about how heat pumps work.

Runs on Composio Instant
SDK

Use the You.com API in your code

Call You.com from your own agent with the Composio SDK. Four steps and one tool call.

  1. 1

    Set up Composio

    Turn on Instant Toolkits in your project settings and check your prepaid balance in Billing. Then set your API key.
    export COMPOSIO_API_KEY="your_composio_api_key"
  2. 2

    Install the SDK

    The Python SDK needs Python 3.11 through 3.15.
    pip install composio
  3. 3

    Run the call

    Create a session that keeps Instant to this toolkit and reports the charge, then run the tool on the Instant account.
    YOUSEARCH_YOU_SEARCH
  4. 4

    Read the response

    When the call runs on Instant, the response includes its charge: the amount as an exact USD decimal string, the currency and charged_by.
agent.py
from composio import Composio

composio = Composio()

session = composio.sessions.create(
    user_id="user_123",
    toolkits=["yousearch"],
    instant={
        "toolkits": {"enable": ["yousearch"]},
        "return_instant_charge": True,
    },
)

result = session.execute(
    "YOUSEARCH_YOU_SEARCH",
    arguments={
        "count": 3,
        "query": "how heat pumps work",
    },
    account="instant_account",
)
print(result)
print("Instant charge:", result.instant_charge)
TOOLS

Available You.com API tools

6 You.com tools run on Instant, priced per call with no You.com key. Tools marked Your key need your own You.com account.

ActionTool slugWhat it doesAvailability
SearchYOUSEARCH_YOU_SEARCHSearch the web with You.com's search API.
Instant$0.005 per web search100% off
Create ResearchYOUSEARCH_CREATE_RESEARCHRun cited, multi-step research or start a background research task.
Instant$0.012 per lite, $0.05 per standard, $0.10 per deep, $0.45 per exhaustive or $1.20 per frontier research100% off
Finance ResearchYOUSEARCH_CREATE_FINANCE_RESEARCHResearch financial data, filings, analyst coverage, and news with citations.
Instant$0.11 per deep or $0.50 per exhaustive finance research100% off
Fetch ContentsYOUSEARCH_FETCH_CONTENTSRetrieve clean content from up to 10 known webpage URLs.
Instant$0.001 per page fetched100% off
Get AnswerYOUSEARCH_GET_ANSWERGenerate a citation-backed answer from web results.
Instant$0.005 per answer100% off
Get Research TaskYOUSEARCH_GET_RESEARCH_TASKCheck a background research task's status and retrieve its final result.
Instant$0 per research task status check100% off
Search ImagesYOUSEARCH_SEARCH_IMAGESSearch You.com Images.Your key

Instant prices are You.com's list prices with 0% markup, paid from your Composio balance and updated every hour. Instant calls also count toward your plan's tool calls. See all plans on the pricing page.

USE CASES

You.com API use cases and example prompts

Copy a prompt into your agent. Each one uses You.com with apps you connect through Composio.

  • Prepare account outreach

    Use You.com to search for recent announcements on Acme's official website. Add the source links and a short summary to the Acme company record in HubSpot, then draft a Gmail message that connects one announcement to our product. Leave the draft ready for my review.

    Apps used: You.com, HubSpot, Gmail

  • Build a support knowledge page

    Use You.com to find official documentation that explains how to troubleshoot OAuth redirect URI errors. Create a page in my Support Playbook in Notion with the steps, common causes, and links to the sources.

    Apps used: You.com, Notion

  • Create a market finance brief

    Use You.com Finance Research to compare public filings, analyst coverage, and recent news for Acme's market. Add cited findings and source links to my Market Review sheet in Google Sheets, then write a brief with the main trends in my Quarterly Market Review in Google Docs.

    Apps used: You.com, Google Docs, Google Sheets

  • Compare project management vendors

    Use You.com to compare project management platforms using information from their official product pages. Save a source-linked comparison of their core features in my Vendor Review folder in Google Drive, then share the document link in Slack's #procurement channel.

    Apps used: You.com, Google Drive, Slack

TROUBLESHOOTING

You.com API troubleshooting

Still stuck? The Instant tools docs cover limits, charges and session settings.

Start with You.com.It takes 30 seconds.

Managed auth, hosted MCP servers, and every You.com tool your agent needs.Free to start.

Start building