Knowledge
Add licensed, structured data—stock and crypto prices, weather, sports, economic indicators, and more—to Web Search API results with one parameter.
Set "knowledge": "core" on POST /v1/search to get data that isn’t on a crawlable page—a stock price mid-session, tomorrow’s forecast, a central bank’s current rate—from licensed providers, returned in results.knowledge alongside web and news results. Knowledge is included in the Web Search API’s $5.00 per 1,000 calls, with no separate endpoint, contract, or add-on charge.
Make a Request
Add knowledge to the body of a POST /v1/search request. core is the only supported value.
The Python example needs youdotcom 3.5.0 or later.
Response Format
Knowledge results sit in their own array. Web and news results in the same response are unchanged.
A few behaviors to plan for:
- The array can be absent. Up to 25 knowledge results come back, limited to those relevant to the query. When none are relevant,
results.knowledgeis omitted rather than returned empty, and the response falls back to web and news results. - Attribution is a credit, not a citation. Each entry names a provider but carries no URL. Show the provider name and
as_ofdate alongside the value so users can see where it came from and how current it is.
Data in Knowledge
Knowledge draws on dozens of licensed providers, including aggregators that combine hundreds of licensed and public sources. Coverage falls into seven areas:

A few things you can build on top of these areas:
- Stocks and company data: pre-earnings briefs, watchlist assistants, and company enrichment for sales or deal screening
- Prices, rates, and macroeconomics: currency and rate monitors, crypto-aware assistants, and alerts on economic releases
- Weather and climate: trip planning and delivery-delay risk for logistics
- Sports: live-score companions and fantasy sports research
- Politics and government: public-spending research and prediction-market monitoring
The ydc-knowledge-samples repo has runnable examples for each area.
Accuracy
We measured Knowledge on the VerticalRTK fast set, a public benchmark of questions that target live, structured data. Tako, one of our data partners, built it, and the questions and harness are both public in the VerticalRTK repo, so you can rerun it against any provider.