Dashboard

quickstart

Make your first request

Create an API key

manage

Export the key

export SPIDER_API_KEY="sk-..."

SDKs, the MCP server and every command read it.

Connect Claude Code

Client configs in the docs
claude mcp add spider --transport http \
  https://mcp.spider.cloud/mcp \
  -H "Authorization: Bearer $SPIDER_API_KEY"
CLAUDE.md
For web pages use spider-agent. Read https://spider.cloud/agent-skill/spider-agent/SKILL.md first.

Or the CLI. It picks HTTP or a browser per page, stops at your budget, and returns 187 bytes for named fields where asking for everything returns 9021.

Then ask Claude Code to scrape https://example.com with Spider. A good answer includes the page's heading, Example Domain.

To run a request before you buy credits, use the playground.

Read and follow https://spider.cloud/agent-skill/SKILL.md

Paste into a Codex session. The skill covers the whole API.

AGENTS.md
For web pages use spider-agent. Read https://spider.cloud/agent-skill/spider-agent/SKILL.md first.

Or the CLI. It picks HTTP or a browser per page, stops at your budget, and returns 187 bytes for named fields where asking for everything returns 9021.

Then ask Codex to scrape https://example.com with Spider. A good answer includes the page's heading, Example Domain.

To run a request before you buy credits, use the playground.

Install the CLI and run it

Every command in the docs
curl -fsSL https://spider.cloud/install/spider-agent.sh | sh

Downloads the release build, checks its SHA256, and puts it in ~/.local/bin. With a Rust toolchain, cargo install spider-agent-cli works too.

spider-agent scrape https://example.com --goal markdown --json

Picks HTTP or a browser per page, escalates on a refusal, stops at the budget you set.

A good answer exits with code 0 and prints JSON with the page in items[0].body.

To run a request before you buy credits, use the playground.

Connect your MCP client

Client configs in the docs
Endpoint:  https://mcp.spider.cloud/mcp
Transport: Streamable HTTP
Auth:      Authorization: Bearer sk-...

Works in Claude Desktop, Cursor, Windsurf, or any MCP client.

Then ask your client to scrape https://example.com with Spider. A good answer includes the page's heading, Example Domain.

To run a request before you buy credits, use the playground.

Make the first request

Full example in the docs
curl -X POST https://api.spider.cloud/scrape \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "return_format": "markdown"}'

A good answer is a JSON array with one object, and its content starts with # Example Domain. The status in that object is the page's own, separate from the API call's.

To run a request before you buy credits, use the playground.

Install the SDK and run it

Full example in the docs
pip install spider_client
from spider import Spider
app = Spider()  # reads SPIDER_API_KEY
page = app.scrape_url("https://example.com")

The snippet prints nothing. Add print(page) and a good answer is a list with one item, with the page in its content.

To run a request before you buy credits, use the playground.

Install the SDK and run it

Full example in the docs
npm install @spider-cloud/spider-client
import { Spider } from "@spider-cloud/spider-client";
const app = new Spider(); // reads SPIDER_API_KEY
const page = await app.scrapeUrl("https://example.com");

The snippet prints nothing. Add console.log(page) and a good answer is an array with one item, with the page in its content.

To run a request before you buy credits, use the playground.

overviewLoading overview
credits
requests · 24h
unlimited
request statusloadingLoading request status
Loading request data
recent activityRecent activity loaded

No crawls yet.

open playground →