# AI-powered Search (`easyapi/ai-powered-search`) Actor

Transform your search queries into structured, AI-powered summaries with references and optimization tips. Get comprehensive three-paragraph summaries enhanced with emojis, source citations, and Google search comparisons - all in one powerful Actor! 🔍✨

- **URL**: https://apify.com/easyapi/ai-powered-search.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** AI, Integrations
- **Stats:** 14 total users, 0 monthly users, 0.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 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.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## YouSearch AI Summary Actor 🔍

This actor generate comprehensive, well-structured summaries from search queries. Perfect for researchers, content creators, and anyone needing quick, AI-powered search insights! 🚀

### Features ✨

- 🤖 AI-powered search summaries with reference numbers
- 📝 Three-paragraph structured format with emoji enhancements
- 🔗 Automatic source attribution and URL references
- 🎯 Google search comparison links
- 💡 Search optimization tips
- ⚡ Fast and efficient processing

### Output Format 📋

The actor generates structured summaries including:

- Main content with reference numbers
- Source URLs with numbered references
- Google search comparison link
- Search optimization suggestions

### Use Cases 🎯

- Research summaries
- Content research
- Competitive analysis
- Quick topic overviews
- SEO research
- Market research

### Cost of Usage 💰

This actor typical search operation takes about 5-10 seconds.

### Input Parameters 🎛️

| Field | Type | Description |
|-------|------|-------------|
| searchTerm | String | Your search query (required) |

### Output Dataset 📊

Results are stored in the default dataset with the following fields:

- `searchTerm`: Original search query
- `response`: Structured summary with references
- `timestamp`: Operation timestamp

#### Input Example

A full explanation of an input example in JSON.

```
{
    "searchTerm": "Tesla full-vision system vs Lidar"
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```
[
    {
        "searchTerm": "Tesla full-vision system vs Lidar",
        "response": "The Tesla full-vision system utilizes cameras and advanced algorithms to provide autonomous driving capabilities without the use of Lidar technology 🚗. Tesla argues that Lidar is unnecessary for achieving full self-driving functionality, as their system can interpret and analyze visual data more effectively (1).\n\nProponents of Lidar technology argue that it provides more precise depth perception and can better detect obstacles in various lighting conditions 🌟. They claim that while cameras are valuable for object recognition, Lidar is essential for accurate distance measurements and obstacle avoidance in challenging environments (2).\n\nThe debate between Tesla's full-vision system and Lidar technology continues, with both sides presenting convincing arguments regarding the effectiveness and necessity of each approach 🤔. As autonomous driving technology evolves, further research and advancements may ultimately determine which system becomes the standard for self-driving vehicles (3).\n\nSources:\n(1) https://www.teslarati.com/tesla-full-vision-autopilot-rivals-lidar-expert-interview/\n(2) https://www.nytimes.com/2021/04/17/technology/self-driving-cars-lidar-tesla.html\n(3) https://www.forbes.com/sites/sasper/2021/05/07/tesla-vs-lidar-patent-battle/?sh=1c94aaba3673\n\nHint text for further search results with Google link:\nSee Google results: [Tesla full-vision system vs Lidar search results](https://www.google.com/search?q=Tesla+full-vision+system+vs+Lidar)\n\nTip: To optimize your search results, try looking for recent articles and expert opinions on the advancements and debates surrounding Tesla's full-vision system and Lidar technology.",
        "timestamp": "2024-12-06T04:51:28.425Z"
    }
]
```

# Actor input Schema

## `searchTerm` (type: `string`):

Enter your search query to generate an AI-powered summary

## Actor input object example

```json
{
  "searchTerm": "Tesla autonomous driving technology"
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/ai-powered-search").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/ai-powered-search").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{}' |
apify call easyapi/ai-powered-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=easyapi/ai-powered-search",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/I2Qixfgeum4jICIpu/builds/uNL23jUU8lDObCWgl/openapi.json
