Docs
登录

Crawlbase 开发者文档

网络,
为构建者而结构化。

通过单一 API 大规模爬取、抓取和解析任何网站。生产就绪的端点、原生 SDKs,以及可直接接入 Claude、Cursor 和您的代理栈的 MCP 服务器。

1,000 次免费请求 195 个国家/地区 每个 token 每月 5100 万次请求 无需信用卡
~/crawlbase
$ curl'https://api.crawlbase.com/?' \'token=YOUR_TOKEN' \'&url=https://github.com/crawlbase' → 200 OK // 4.2s · pc_status: 200 · 14.8 KB# JS 渲染、地理路由、反爬绕过 <!doctype html><html>…</html>
$ curl'https://api.crawlbase.com/?' \'token=YOUR_TOKEN&format=json' \'&url=https://github.com/crawlbase'  { "original_status": 200, "pc_status": 200, "url": "https://github.com/crawlbase", "body": "<!doctype html>…"}
$ curl'https://api.crawlbase.com/?' \'token=YOUR_TOKEN&format=md' \'&url=https://github.com/crawlbase'  # Crawlbase网页爬取与抓取 API - 提供 Python、Node.js、Ruby、PHP、Go SDKs。 # 或通过 MCP 服务器(相同结果,原生面向代理)> tool_use: crawl_markdown(url="https://github.com/crawlbase")

选择适合您技术栈的接口

浏览所有 APIs

我可以构建什么?

浏览抓取工具

60 秒内完成首次爬取

GEThttps://api.crawlbase.com/
curl 'https://api.crawlbase.com/?token=YOUR_TOKEN&url=https%3A%2F%2Fgithub.com%2Fcrawlbase'
from crawlbase import CrawlingAPI

api = CrawlingAPI({'token': 'YOUR_TOKEN'})
response = api.get('https://github.com/crawlbase')

if response['status_code'] == 200:
    print(response['body'])
const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });

api.get('https://github.com/crawlbase')
   .then(res => console.log(res.statusCode, res.body))
   .catch(err => console.error(err));
require 'crawlbase'

api = Crawlbase::API.new(token: 'YOUR_TOKEN')
response = api.get('https://github.com/crawlbase')

puts response.status_code
puts response.body
<?php
use Crawlbase\CrawlingAPI;

$api = new CrawlingAPI(['token' => 'YOUR_TOKEN']);
$response = $api->get('https://github.com/crawlbase');

echo $response->statusCode;
echo $response->body;
package main

import (
    "fmt"
    "github.com/crawlbase/crawlbase-go"
)

func main() {
    api := crawlbase.NewCrawlingAPI("YOUR_TOKEN")
    res, _ := api.Get("https://github.com/crawlbase")
    fmt.Println(res.StatusCode, res.Body)
}

为 AI 代理打造的原生管道

探索 AI & MCP
将所有 Crawlbase 工具暴露给 Claude、Cursor、ChatGPT 以及任何 MCP 兼容的客户端。
查看文档
一键安装到 Claude。Crawlbase 成为对话可直接调用的原生工具。
设置
Crawlbase 文档加载器、检索器和工具 - 即插即用接入您的代理图。
集成
经过实战验证的 prompt,适用于提取、摘要、监控和线索丰富。
浏览

适配任意技术栈

每个代码,每种含义。请收藏此页。
每个 token 每秒 20 次请求,并提供更高额度的升级路径。
本周发布的内容,附迁移说明。
遇到棘手问题?通过 Slack 或邮件随时联系我们。