Dashboard
Make your first request
Create an API key
Export the key
export SPIDER_API_KEY="sk-..."SDKs, the MCP server and every command read it.
Connect Claude Code
Client configs in the docsclaude mcp add spider --transport http \
https://mcp.spider.cloud/mcp \
-H "Authorization: Bearer $SPIDER_API_KEY"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.
Connect Codex
Every command in the docsRead and follow https://spider.cloud/agent-skill/SKILL.mdPaste into a Codex session. The skill covers the whole API.
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 docscurl -fsSL https://spider.cloud/install/spider-agent.sh | shDownloads 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 --jsonPicks 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 docsEndpoint: 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 docscurl -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 docspip install spider_clientfrom 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 docsnpm install @spider-cloud/spider-clientimport { 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.