# Yahoo Scraper (`fastdataapi/yahoo-scraper`) Actor

Scrape Yahoo Finance and Yahoo Search to extract valuable data, including stock prices, financial information, market news, search results, company profiles, and more. Automate data collection and export structured results for analysis, research, and business intelligence.

- **URL**: https://apify.com/fastdataapi/yahoo-scraper.md
- **Developed by:** [Fast Data API](https://apify.com/fastdataapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Yahoo Search Scraper — Web results for query lists

Yahoo Search Scraper collects public web results for one or more search queries and returns titles, destination URLs, descriptions, domains, logos, and available text and sublinks. Set a separate result limit for every query and choose a time window to focus the results. **One row represents one search result.** The structured JSON fits research workflows and AI retrieval pipelines. No Yahoo account or login cookies are required. Export the results or connect the actor to your existing automation.

***

### What is Yahoo Search Scraper?

This actor turns Yahoo web searches into a dataset you can export as JSON, CSV, or Excel. It supports query lists, time windows, and optional collection of missing public content. Search results retain their original destination links and descriptions.

***

### Who uses Yahoo Search Scraper?

- Researchers collect references for topics and compare search coverage.
- Recruiters explore indexed job and career pages.
- SEO teams monitor destination URLs across query lists.
- AI developers collect titles and descriptions for retrieval workflows.

***

### What data can I extract with Yahoo Search Scraper?

| Data | Meaning |
|---|---|
| Query | The input that produced the result |
| Destination URL and title | The public page linked by Yahoo |
| Description | Yahoo's search excerpt, with Markdown formatting |
| Additional text | Available public text and link descriptions |
| Logo | Available result favicon URL |
| Sublinks | Public sublinks in the result or available page content |
| Domain | Hostname of the destination URL |

Missing optional text, logos, and sublinks remain empty. A destination URL is never substituted for an unavailable sublink. A result may carry a partial flag and requested count when optional work is cut short by the run time budget.

***

### What can you do with Yahoo Search Scraper?

- Build a reference list for multiple research queries.
- Collect recent indexed pages using the day, week, or month window.
- Compare destination domains across related queries.
- Feed descriptions and links into a retrieval index.

***

### How do you use Yahoo Search Scraper?

1. Open [Yahoo Search Scraper](https://apify.com/fastdataapi/yahoo-search-scraper).
2. Enter your queries, result limit, time window, and content options.
3. Run the actor and review results as they appear.
4. Export the dataset or use one of its Overview, Content, and Links views.

***

### Yahoo Search Scraper input

| Parameter | Default | Purpose |
|---|---|---|
| `queries` | Query list | One or more nonempty Yahoo web searches |
| `maxItems` | 10 | Maximum results per query; 0 requests no results |
| `time_period` | Anytime | Anytime, Past day, Past week, or Past month |
| `backfill_empty_results` | true | Fill available missing public text and sublinks |
| `backfill_concurrency` | 4 | Content work concurrency, 1–8; network work is bounded to 4 |
| `backfill_max_links` | 10 | Maximum additional sublinks per result; 0 disables them |
| `query` | Unset | Optional single query, processed alongside the list |
| `proxyConfiguration` | Direct connection | Optional proxy configuration |

The actor exposes one maximum-results field and processes both filled query inputs. Compatibility API inputs retain the legacy limit aliases; use one limit name per call. An empty query list is accepted when the single-query input is filled. Repeating the single query in the list adds no second copy of that query. The time filter follows the date information reported by Yahoo; it is not a guarantee of a page's original publication date.

#### Free plan limits

Users on the Apify free plan can fetch up to 20 results per run, across all queries, and 200 results per month. When the limit is reached the run finishes successfully with a status message explaining the limit. Upgrade to any paid Apify plan to remove these limits.

#### Example input

```json
{
  "queries": [
    "java developer",
    "python tutorial"
  ],
  "maxItems": 5,
  "time_period": "Anytime",
  "backfill_empty_results": true,
  "backfill_concurrency": 4,
  "backfill_max_links": 10,
  "query": "java developer",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

***

### Yahoo Search Scraper output

The default dataset contains one search result per row. The Overview view shows query, title, destination, and domain. Content shows descriptions and additional text; Links shows the destination, available logo, and sublinks. These views share the same raw result rows.

```json
{
  "query": "java developer",
  "url": "https://www.geeksforgeeks.org/gfg-academy/how-to-become-a-java-developer/",
  "title": "How to become a Java Developer? - GeeksforGeeks",
  "description": "Mar 30, 2026 ·  Opportunities for Java **Developers** Java **development**\noffers various career opportunities across industries. Full-Stack Java\n**Developer** : Working on both front-end and back-end **development** using\nJava and web technologies. Android App **Developer** : Java is widely used\nin Android application **development**. Java Architect: Designing and\noverseeing the implementation of Java-based solutions in large ...\n\n",
  "text": "  * Core Java\n\nCore Fundamentals: Learn concepts and practice DSA to build a strong\nprogramming foundation\n\n  * Spring Core\n\nSpring Ecosystem: Learn , Spring Boot , and Spring Security for backend\ndevelopment\n\n  * Spring Boot\n\nSpring Ecosystem: Learn Spring Core , , and Spring Security for backend\ndevelopment\n\n  * Spring Security\n\nSpring Ecosystem: Learn Spring Core , Spring Boot , and for backend\ndevelopment\n\n  * messaging systems\n\nIntermediate Backend Skills: Explore caching and for better performance and\nscalability\n\n  * microservices architecture\n\nMicroservices Architecture : Build scalable applications using with Spring\nBoot\n\n  * Android App Developer\n\nJava is widely used in Android application development\n\n  * Cloud Developer\n\nMany cloud platforms support Java, making it ideal for cloud computing\napplications\n",
  "logo_url": "https://s.yimg.com/pv/static/search_favicon/images/32x32_7eae5aac8b7f7402.png",
  "links": [
    "https://www.geeksforgeeks.org/java/java",
    "https://www.geeksforgeeks.org/advance-java/spring",
    "https://www.geeksforgeeks.org/advance-java/spring-boot",
    "https://www.geeksforgeeks.org/advance-java/spring-security-tutorial",
    "https://www.geeksforgeeks.org/system-design/distributed-messaging-system-system-design",
    "https://www.geeksforgeeks.org/advance-java/java-microservices",
    "https://www.geeksforgeeks.org/android/best-way-to-become-android-developer-a-complete-roadmap",
    "https://www.geeksforgeeks.org/blogs/how-to-become-a-cloud-engineer"
  ],
  "domain": "www.geeksforgeeks.org"
}
```

***

### How does it work?

The actor reads public search results and preserves the information available to a visitor without signing in. It processes each query independently, collects additional result pages when needed, and removes duplicate destination URLs within each query. Available optional page content can fill missing text and sublinks. If that content is unavailable, the search result remains in the dataset with empty optional values. Connection retries are bounded, and available proxies can be used when a connection is blocked. Stored results appear during the run. Spend, free-plan, and time limits stop work cleanly and are described in the final status message.

***

### How do you integrate Yahoo Search Scraper into your stack?

Use the Apify REST API from your application, MCP for an AI agent, or a no-code automation.

#### Using Yahoo Search Scraper with the Apify API

```python
import os
import requests
response = requests.post(
    "https://api.apify.com/v2/actors/fastdataapi~yahoo-search-scraper/run-sync-get-dataset-items",
    headers={"Authorization": "Bearer " + os.environ["APIFY_TOKEN"]},
    json={"queries": ["java developer"], "maxItems": 5},
    timeout=180,
)
response.raise_for_status()
for result in response.json():
    print(result["title"], result["url"])
```

#### MCP integration for AI agents

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/yahoo-search-scraper"
```

This registers Yahoo Search Scraper as a tool your agent can call directly. MCP clients such as Claude Code and Cursor can request search results; applications that call HTTP endpoints can use the REST API.

#### No-code tools

In n8n, use the Apify node's Run an Actor operation. In Make, use the Apify Run an Actor module followed by Get Dataset Items. LangChain applications can use the Apify actor integration to call `fastdataapi/yahoo-search-scraper`.

***

### Is it legal to scrape Yahoo data?

This actor collects publicly accessible search results without a Yahoo login. Your use and storage of those results must follow applicable law, data-protection requirements, and any terms that apply to your use case. Consult legal counsel if your use case involves bulk storage of personal data.

***

### Frequently asked questions

#### Does Yahoo Search Scraper require a Yahoo account?

No. It reads publicly available data without login cookies or Yahoo credentials.

#### Can I search multiple queries in one run?

Yes. Enter a query list; the maximum result count applies separately to each query.

#### What happens when additional content is missing?

The search result is kept. Optional text and sublinks stay empty when public content is unavailable.

#### What happens when the run reaches a limit?

The actor preserves stored results and reports the spend, free-plan, or time limit in its status message. Reduce the request or increase the configured Timeout for larger runs.

#### Which fields are useful for retrieval workflows?

Titles, descriptions, domains, destination links, and available additional text provide references and context for a retrieval index.

***

### Your feedback

Found a bug or missing a field? Share the input and run link through the actor's Issues tab so the behavior can be reproduced.

# Actor input Schema

## `queries` (type: `array`):

Enter Yahoo web search queries. An empty list is supported when the Single query field is filled. Each query receives its own result limit.

## `maxItems` (type: `integer`):

Maximum results per input query; 0 returns no results. Free plan: up to 20 results per run (all queries together) and 200 per month; paid plans have no limit.

## `time_period` (type: `string`):

Restrict search results to the selected time window reported by Yahoo.

## `backfill_empty_results` (type: `boolean`):

Read available public result content when the search result has missing text or sublinks. Missing values remain empty.

## `backfill_concurrency` (type: `integer`):

Maximum optional content tasks, 1 to 8; simultaneous network requests are bounded to 4 and paced per destination.

## `backfill_max_links` (type: `integer`):

Maximum additional public sublinks to collect when a result has missing links; 0 disables additions. Existing search sublinks are preserved.

## `query` (type: `string`):

Optional single query, also processed alongside any query list.

## `max_items` (type: `integer`):

Optional source-compatible per-query limit. Overrides Maximum results per query when provided.

## `maxRecords` (type: `integer`):

Optional compatible per-query limit. Used when Source result limit is not supplied.

## `proxyConfiguration` (type: `object`):

Optional connection configuration. Starts directly by default and retries with available proxies when blocked.

## Actor input object example

```json
{
  "queries": [
    "java developer"
  ],
  "maxItems": 10,
  "time_period": "Anytime",
  "backfill_empty_results": true,
  "backfill_concurrency": 4,
  "backfill_max_links": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `content` (type: `string`):

No description

## `links` (type: `string`):

No description

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "java developer"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fastdataapi/yahoo-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "queries": ["java developer"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("fastdataapi/yahoo-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "java developer"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call fastdataapi/yahoo-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fastdataapi/yahoo-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/PrcVGIlotQzziJLZj/builds/kV7eyfYFAoex6mlcV/openapi.json
