/ 
October 15, 2026

You.com Agent Search Solution: Integration Guide

, 

You.com Agent Search Solution: Integration Guide

TLDR: The You.com agent search solution gives an agent live web access through five APIs behind one key—Web Search, Contents, Answer, Research, and Finance Research—plus the integration surfaces in front of an agent: direct REST or the Python SDK, the hosted MCP server, and installable agent skills. This guide maps the supported workflows to the right API, covers the capabilities that matter, and walks the implementation from key to working calls in curl, Python, and MCP config. Every endpoint, parameter, and price below was verified against the live documentation on October 15, 2026.

Choosing a search provider takes an afternoon. Wiring it into an agent takes a sprint, and the sprint is where the choice gets tested: which API covers which workflow, where the SDK ends and raw HTTP begins, who owns retries and rate limits, and who answers the infosec questionnaire. Most teams meet all four in the same week, with the launch date already circled on someone's calendar.

You have picked your provider, or you are one demo away from it. What you need is the wiring plan for the You.com agent search solution: workflows, capabilities, integration paths, implementation, and cost at volume, so the integration lands in days instead of the sprint.

What the Agent Search Solution Includes

Under the hood, the solution is five APIs sharing one authentication model. Every request carries the same X-API-Key header, set from the YDC_API_KEY environment variable, with keys issued at you.com/platform. Switching from search to extraction to research is a URL and payload change, not a re-architecture.

Web Search API        POST ydc-index.io/v1/search           ranked web + news results      $5.00 / 1k calls
Contents API          POST ydc-index.io/v1/contents          Markdown/HTML from known URLs  $1.00 / 1k pages
Answer API            POST api.you.com/v1/answer            one cited answer, p50 2.67s   $5.00 / 1k calls
Research API          POST api.you.com/v1/research          multi-pass cited write-ups     $12 to $1,200 / 1k
Finance Research API  POST api.you.com/v1/finance_research  filings, prices, fundamentals   $110 or $500 / 1k

Here is a working call:

curl -X POST https://ydc-index.io/v1/search \
  -H "X-API-Key: $YDC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "global birth rate trends",
    "count": 5
  }'
{
  "results": {
    "web": [
      {
        "url": "https://www.worldbank.org/en/topic/population",
        "title": "Population | World Bank",
        "description": "The World Bank tracks global birth rate and population trends.",
        "snippets": ["Global fertility rates have declined significantly over the past five decades, falling from an average of 5 births per woman in 1960 to around 2.3 today."],
        "page_age": "2025-10-01T00:00:00"
      }
    ]
  },
  "metadata": {
    "query": "global birth rate trends",
    "search_uuid": "a1b2c3d4-0000-0000-0000-000000000000",
    "latency": 0.38
  }
}

That response is the integration contract: url, title, description, and snippets per result, plus page_age for recency checks. The snippets are pre-extracted, query-relevant passages, so no HTML stripping before text hits a prompt. metadata.search_uuid identifies the exact call; log it with every response for tracing why an agent said what it said.

One routing detail bites on day one: the Answer, Research, and Finance Research APIs run only on api.you.com. Send one of those paths to ydc-index.io and the API returns 403 with a Missing Authentication Token body, even though the key is valid. It reads like an auth bug and sends people into key rotation for an hour before anyone checks the hostname.

Agent Search Workflows, Mapped to the Right API

Agents ask the web for different things depending on the task. The five workflows below cover the cases that come up in practice, and each maps to exactly one API. The wrong choice doesn't fail loudly; it surfaces weeks later as a latency problem or a billing line nobody can explain.

Grounded Retrieval With the Web Search API

When the agent should decide what to read, ranked results do the work. The Web Search API returns up to 100 results per call in the shape shown above. Snippets come by default; extraction_mode: "highlights" returns query-relevant passages sized for RAG prompts, and full_page attaches clean Markdown to each result at $1.00 per 1,000 pages fetched live, on top of the $5.00 per 1,000 calls. A freshness filter (day, week, month, or a custom date range) keeps results current.

Reading Known URLs With the Contents API

Plenty of agent work is not search at all. The URL is already known (a bookmark, an earlier research step, a monitored list) and the job is turning the page into clean text. The Contents API does that at $1.00 per 1,000 pages, no search call needed; crawl_timeout defaults to 10 seconds per URL, and cached pages return sooner than live crawls. Search first only when you need URL discovery.

One-Pass Cited Answers With the Answer API

When the agent needs to answer rather than retrieve, the Answer API runs a single search pass and returns a Markdown answer with inline citations, the verbatim excerpts behind them, and the web results used. p50 latency is 2.67 seconds, and the price is flat at $5.00 per 1,000 calls, no effort tiers to tune. The verbatim excerpts are the audit trail: what the model actually saw, not just what it said. One constraint: the Answer API is REST-only, so an agent wired over MCP calls it directly.

Multi-Pass Research With the Research API

Questions that need several searches and a written synthesis belong to the Research API. research_effort trades latency and price for depth: lite at $12 per 1,000 and under 10 seconds; standard at $50 and 10 to 30 seconds, the default; deep at $100 and under 120 seconds; exhaustive at $450 and under 300 seconds; and frontier at $1,200, background mode only.

Two details decide whether this works in production. A synchronous request holds the connection for the whole run, so the client timeout must sit above the tier's upper bound (longer than 120 seconds for deep, 300 for exhaustive), or you send background: true and collect the result later. output_schema returns structured JSON instead of Markdown for research that feeds a database row; it does not work with lite, and frontier requires background mode.

Market and Filing Research With the Finance Research API

Filings, fundamentals, prices, and financial news run against a finance-optimized index, with the Research API response shape and output_schema. deep is the default at $110 per 1,000 and under 120 seconds; exhaustive is $500 and under 300 seconds. There is no background mode, so set the client timeout above the tier bound or the failure is yours, not the API's. source_control is not accepted; the index is already scoped to finance.

Capabilities That Shape the Integration

A few cross-cutting capabilities determine how the integration behaves once real traffic hits it.

Domain control. include_domains restricts results to an allowlist of up to 500 domains. boost_domains prefers up to 500 domains without filtering out the rest; it pairs with exclude_domains (up to 5,000) but never with include_domains. POST is strongly recommended for large lists: GET still works for old integrations but is feature-frozen, and GET domain lists must fit one comma-separated query string.

Locale and safety. country takes ISO 3166-1 alpha-2 codes, language takes BCP 47, and safesearch runs off, moderate (the default), or strict. Inline operators (site:, lang:, loc:, filetype:) work inside the query too.

Licensed data. Set knowledge to core and a single search call returns stock and crypto prices, weather, sports, and economic data from licensed providers alongside the web results. Useful when the answer needs a number, not a paragraph.

Rate limits. Self-serve defaults are 10 requests per second on Web Search, Contents, Answer, and Research, and 5 per second on Finance Research. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset, so throttle off the headers before the 429 arrives and honor Retry-After when one does. The documented backoff pattern doubles the wait between attempts up to a 60-second ceiling, five attempts max. Enterprise contracts set custom limits.

Enterprise controls. SSO and SCIM are available for organizations, with configuration scheduled through a Customer Success Architect. Zero Data Retention restricts request and response content on the Web Search and Answer APIs. For agents with no human-held key, x402 and MPP machine payments pay per request in USDC inside the same HTTP exchange.

Integration Paths: REST, SDK, MCP, and Skills

Four surfaces cover every stack. The deciding question is who chooses the moment to call the API: your application code, or the agent itself.

Direct REST. Your code owns the HTTP client, retries, and parsing. This is the path for backends and pipelines, and the OpenAPI 3.1 spec generates typed clients if you want them.

The Python SDK. pip install youdotcom gives a typed client across all five APIs that tracks new fields as they ship, with errors.YouError exposing status_code for retry logic. For TypeScript, use raw fetch for the JSON; the @youdotcom-oss/sdk package is deprecated.

The hosted MCP server. https://api.you.com/mcp over streamable HTTP, or npx @youdotcom-oss/mcp locally over STDIO. The server exposes six tools: you-search, you-contents, you-research, you-finance, you-balance, and you-discover. The default toolset omits you-research and you-finance; allow them with ?tools=, the X-Allowed-Tools header, or YDC_ALLOWED_TOOLS on the local package. Authentication is a Bearer key, OAuth 2.1 on the HTTP server, or the keyless free profile. Multiple server entries with dedicated keys are a documented pattern for cost control: one for search, another scoped to research, so a runaway agent cannot burn the budget. One scoping gotcha: /mcp/finance?profile=free asks for you-finance under a ceiling that only includes you-search and you-discover, so the client sees no tools and the server returns no error.

Agent skills. npx skills add youdotcom-oss/agent-skills installs four instruction packs (you-web, you-research, you-finance, you-discover) that teach a coding agent which tool to reach for and when. Skills route; tools execute. Platform plugins install the same set with one command per host: Claude Code runs /plugin marketplace add youdotcom-oss/agent-skills then /plugin install you@you-com, Cursor runs /add-plugin you, and the same path covers Codex, GitHub Copilot CLI, Kimi Code, Grok Build, OpenCode, OpenClaw, Pi, Hermes, and DeepSeek Harness.

Frameworks and platforms. Documented paths exist for LangChain and LangGraph (the langchain-youdotcom package wraps Web Search and Contents), LlamaIndex as a retriever, crewAI over the remote MCP server, Pydantic AI, the Vercel AI SDK, n8n and Temporal (both cover all five APIs), Zapier, Steel, and Sim. YouComBackend is the default web browsing backend for OpenAI's open-weight GPT OSS models. One key works across every integration; coverage varies, so check the page for your stack. Anything an integration can do, plain HTTP can do too.

Implementation: From API Key to Working Calls

Everything below uses a single key from you.com/platform. Export it once and the samples run as written:

export YDC_API_KEY="your-key-here"

Run the first search. The curl call above is complete; swap in a query your users actually ask. The site quickstart runs a first request against all five APIs if you want the full tour.

Attach full pages when snippets are not enough. One parameter turns ranked results into grounded context, billed at $1.00 per 1,000 pages fetched live:

curl -X POST https://ydc-index.io/v1/search \
  -H "X-API-Key: $YDC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "global birth rate trends",
    "count": 5,
    "extraction": {
      "extraction_mode": "full_page",
      "full_page": { "extraction_formats": ["markdown"] }
    }
  }'

Move to the Python SDK when the integration grows past curl:

from youdotcom import You
from youdotcom.models import Extraction, ExtractionFormat, ExtractionMode

with You() as you:
    results = you.search(
        query="global birth rate trends",
        count=5,
        extraction=Extraction(
            extraction_mode=ExtractionMode.FULL_PAGE,
            full_page={"extraction_formats": [ExtractionFormat.MARKDOWN]},
        ),
    )

    for result in results.results.web:
        if result.contents and result.contents.markdown:
            print(result.title)
            print(result.contents.markdown[:400])

Give an IDE agent the tools, with zero credentials. The keyless free profile allows 100 queries per day of you-search and you-discover, no account, no key:

{
  "mcpServers": {
    "ydc-server": {
      "type": "http",
      "url": "https://api.you.com/mcp?profile=free"
    }
  }
}

With Claude Code, one command connects the full server: claude mcp add --transport http ydc-server https://api.you.com/mcp. OAuth 2.1 starts automatically, so no key is pasted anywhere.

Install the skills into a coding agent when it should choose tools well rather than at all:

npx skills add youdotcom-oss/agent-skills --skill you-web --skill you-discover

Then wire by role: application logic calls REST or the SDK, coding agents get the MCP server plus skills, and an autonomous agent that must pay its own way uses x402. When the decision is not obvious, the you-discover tool on the free profile picks the API and integration path for your stack.

What It Costs at Real Volume

The arithmetic stays simple because pricing is per-unit. An agent making 5,000 Web Search calls a day spends $25.00. A research pipeline running one standard-tier report an hour costs $1.20 a day at $0.05 per report; the same pipeline at deep is $2.40. Full-page extraction adds $1.00 per 1,000 pages fetched live, and snippets are already included in the search call.

Two operational numbers deserve dashboard space: X-RateLimit-Remaining for throttling before the 429 rather than after it, and client timeouts above the research tier's upper bound, since a synchronous research run holds the connection for its full duration and Finance Research has no background mode.

For the security review: SSO and SCIM for identity, Zero Data Retention on the Web Search and Answer APIs, key rotation from the dashboard, and search_uuid tracing every answer to the call that produced it. Higher rate limits come with a custom plan; book a meeting with the team or email api@you.com when volume justifies it.

Frequently Asked Questions

What Is the You.com Agent Search Solution?

Five APIs—Web Search, Contents, Answer, Research, and Finance Research—behind one X-API-Key header, plus the surfaces that put them in front of an agent: direct REST, the Python SDK, the hosted MCP server, and installable agent skills.

Which Integration Path Should I Choose?

Call REST or the Python SDK when your application code decides when to search. Connect the MCP server when an agent or IDE decides for itself. Install agent skills when a coding agent needs to choose the right tool for the task.

Is There a Free Tier?

Two, and neither needs a card. New accounts get starter credits, and the keyless MCP profile at https://api.you.com/mcp?profile=free allows 100 queries per day of you-search and you-discover.

Does the Answer API Work Over MCP?

No. The MCP server exposes six tools and you-answer is not one of them. Agents that need a one-pass cited answer call the Answer API over REST.

What Are the Default Rate Limits?

10 requests per second on the Web Search, Contents, Answer, and Research APIs, and 5 per second on Finance Research. Enterprise plans run on limits set in the contract.

Start Building Today

The integration should take less time than reading about it. One key covers all five APIs, four surfaces cover every stack, and the free profile works before you have an account.

Start here: create an account at you.com/platform—starter credits, no card required—and run the Web Search API quickstart to see the response shape against your own queries. To have an agent searching within minutes, add https://api.you.com/mcp?profile=free to any MCP client, keyless, 100 queries a day. From there, the API chooser and the Build With Agents pages are the two references to keep open while you build.

    Share Article:

  1. LI Test

  2. LI Test

Related resources.

No items found.
No items found.