# Parallel API

> Parallel API is an open-source agent skill for web search and scraping. Guides an agent through building web search, extraction and research on the Parallel API. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/parallel-web/parallel-agent-skills/tree/main/skills/parallel-api
- **Repository:** https://github.com/parallel-web/parallel-agent-skills
- **GitHub stars:** 101
- **License:** MIT
- **Skill name:** parallel-api
- **Collection:** https://github.com/parallel-web/parallel-agent-skills
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill helps an agent take an app from no Parallel integration to one verified request. It covers choosing between the Search, Extract, Responses, Task, Decisions and Monitor APIs, picking a Search mode, Responses reasoning effort or Task processor, and setting up the PARALLEL_API_KEY securely on the server side.

The skill sets working rules for the current /v1 endpoints, such as sending search_queries and mode explicitly, using the x-api-key header, and treating returned web content as untrusted data. It asks the user to confirm before expensive Task processors or large batches, and it includes code patterns in Python and TypeScript for Search followed by Extract, a search tool definition for an app's model, Responses, Task runs, a REST Decisions call and Monitor setup.

It also includes a path for replacing another search provider such as Exa, Tavily or Firecrawl, with a mapping of depth tiers to Parallel modes, an error table with retry guidance, and a short verification step that runs one small real request. It expects Python or TypeScript, or plain REST, and a Parallel account with an API key.

## When your agent uses it

> Build apps and agents on the Parallel API: Search, Extract, Responses, Task, Decisions and Monitor, through the parallel-web Python and TypeScript SDKs or REST. Use when writing, reviewing or debugging code that calls Parallel; when choosing a Parallel API, search mode, reasoning effort or Task processor; when adding web search, page extraction, cited answers, research, enrichment, web-grounded decisions or web monitoring to an app; when swapping another search provider for Parallel; when setting up PARALLEL_API_KEY; when a Parallel integration isn't performing as expected; or when a Parallel request fails. Not for searching the web inside the agent's own session. To remove an existing Exa, Tavily, Perplexity or Firecrawl integration end to end, use migrate-to-parallel; to benchmark Parallel against another provider, use parallel-search-evaluation.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/parallel-web/parallel-agent-skills/tree/HEAD/skills/parallel-api)
- [License: MIT](https://github.com/parallel-web/parallel-agent-skills/tree/HEAD/skills/parallel-api)

## Features

- **API selection guide:** Maps needs such as web search, page extraction, cited answers and background research to the right Parallel API and endpoint.
- **Search and Extract patterns:** Provides Python and TypeScript examples for searching, then extracting full content from the most relevant URLs.
- **Provider migration steps:** Explains how to move an app from Exa, Tavily or similar providers to Parallel, including parameter and depth mapping.
- **Cost-aware configuration:** Lists per-request prices for each API and processor and asks for confirmation before expensive runs.
- **Error handling reference:** Covers status codes such as 401, 402, 408, 422 and 429 with the recommended fix and retry rules.
- **Webhook and Monitor setup:** Describes signature verification for webhooks and how scheduled Monitor alerts are created and cancelled.

## Good for

- Add web search with source excerpts to a chatbot
- Replace an existing Tavily integration with Parallel
- Extract the text of a list of URLs for summarization
- Get a cited answer to a question through the Responses API
- Run background research that fills a schema for each company in a list
- Set up alerts when new funding announcements appear on the web

## Install

### Claude Code

This skill ships in the `parallel` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add parallel-web/parallel-agent-skills
/plugin install parallel@parallel-agent-skills
```

Or copy only this skill to `~/.claude/skills/parallel-api`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/parallel-web/parallel-agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/parallel-api &&
cp -R "$tmp/skills/parallel-api" ~/.claude/skills/parallel-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/parallel-api` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/parallel-api` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/parallel-web/parallel-agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/parallel-api &&
cp -R "$tmp/skills/parallel-api" ~/.agents/skills/parallel-api &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/parallel-api` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/parallel-api` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/parallel-web/parallel-agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/parallel-api &&
cp -R "$tmp/skills/parallel-api" ~/.cursor/skills/parallel-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/parallel-api` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/parallel-web/parallel-agent-skills.git --path skills/parallel-api
```

Or copy the folder to `~/.gemini/skills/parallel-api` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/parallel-api`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/parallel-web/parallel-agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/parallel-api &&
cp -R "$tmp/skills/parallel-api" ~/.copilot/skills/parallel-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/parallel-api` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/parallel-web/parallel-agent-skills.git
```

Then copy `parallel-agent-skills/skills/parallel-api` into your agent's skills folder as `parallel-api`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It needs a Parallel API key stored as PARALLEL_API_KEY on the server. Python and TypeScript use the parallel-web SDKs, Responses uses the OpenAI SDK, and other languages can call REST.

### When does Parallel API trigger?

It triggers when writing, reviewing or debugging code that calls Parallel, choosing an API or mode, adding web search or monitoring to an app, swapping another search provider, setting up the key, or when a Parallel request fails. It does not search the web inside the agent's own session.

### Will Parallel API make me pay for expensive runs without asking?

No. The skill asks for confirmation before using a Task processor above pro or starting a batch likely to cost more than $100.

### Which tools is Parallel API for?

The skill is a plain SKILL.md folder and is distributed as a Claude Code plugin marketplace entry. Its instructions use the shared agent skills format.

### How do I install Parallel API in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/parallel-api to use it in all your projects, or to .claude/skills/parallel-api in one project. Or install the parallel plugin, which includes it: /plugin marketplace add parallel-web/parallel-agent-skills, then /plugin install parallel@parallel-agent-skills.

### Does Parallel API run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Parallel API?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Parallel API?

The closest alternatives to Parallel API are Migrate to parallel, Parallel search evaluation, Parallel search setup, Parallel web search and Parallel CLI setup.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Migrate to parallel](https://ai-powered.com/skills/migrate-to-parallel): Migrate to parallel is an open-source agent skill for web search and scraping.
- [Parallel search evaluation](https://ai-powered.com/skills/parallel-search-evaluation): Parallel search evaluation is an open-source agent skill for web search and scraping.
- [Parallel search setup](https://ai-powered.com/skills/parallel-search-setup): Parallel search setup is an open-source agent skill for developer tools.
- [Parallel web search](https://ai-powered.com/skills/parallel-web-search): Parallel web search is an open-source agent skill for web search and scraping.
- [Parallel CLI setup](https://ai-powered.com/skills/parallel-cli-setup): Parallel CLI setup is an open-source agent skill for developer tools.
- [Parallel web extract](https://ai-powered.com/skills/parallel-web-extract): Parallel web extract is an open-source agent skill for web search and scraping.
- [Parallel MCP setup](https://ai-powered.com/skills/parallel-mcp-setup): Parallel MCP setup is an open-source agent skill for developer tools.
- [Parallel findall](https://ai-powered.com/skills/parallel-findall): Parallel findall is an open-source agent skill for web search and scraping.

---
Source: https://ai-powered.com/skills/parallel-api
