> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 快速入门指南

> 几分钟内开始使用 Anysite

## 快速设置

只需几个步骤即可开始使用 Anysite：

<Steps>
  <Step title="获取您的 API 密钥">
    在 [anysite.io](https://anysite.io) 注册并从仪表板生成您的 API 密钥。
  </Step>

  <Step title="发起您的第一个请求">
    使用简单请求测试您的 API 密钥：

    ```bash theme={null}
    curl -X GET "https://api.anysite.io/token/statistic" \
      -H "access-token: YOUR_ACCESS_TOKEN"
    ```
  </Step>

  <Step title="选择您的集成方式">
    选择最适合您工作流程的集成方法：

    * **REST API** 用于直接集成
    * **MCP 服务器** 用于 AI 工具（Claude、Cursor）
    * **n8n 节点** 用于工作流自动化
  </Step>
</Steps>

## 常见用例

<CardGroup cols={2}>
  <Card title="潜在客户生成" icon="users">
    提取 LinkedIn 个人资料、查找联系信息并建立潜在客户列表
  </Card>

  <Card title="社交媒体监控" icon="chart-line">
    跟踪品牌提及、竞争对手分析和社交情绪
  </Card>

  <Card title="内容研究" icon="magnifying-glass">
    从 Reddit 讨论、LinkedIn 帖子和行业对话中收集洞察
  </Card>

  <Card title="市场情报" icon="brain">
    分析趋势、跟踪影响者并监控行业动态
  </Card>
</CardGroup>

## 快速示例

### LinkedIn 个人资料搜索

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST "https://api.anysite.io/api/linkedin/search/users" \
    -H "access-token: YOUR_ACCESS_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"keywords": "marketing manager", "count": 5}'
  ```

  ```python Python theme={null}
  import requests

  headers = {
      'access-token': 'YOUR_ACCESS_TOKEN',
      'Content-Type': 'application/json'
  }
  data = {
      'keywords': 'marketing manager',
      'count': 5
  }

  response = requests.post(
      'https://api.anysite.io/api/linkedin/search/users',
      headers=headers,
      json=data
  )

  profiles = response.json()
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://api.anysite.io/api/linkedin/search/users',
    {
      method: 'POST',
      headers: {
        'access-token': 'YOUR_ACCESS_TOKEN',
        'Content-Type': 'application/json'
      },
      body: JSON.stringify({
        keywords: 'marketing manager',
        count: 5
      })
    }
  );

  const profiles = await response.json();
  ```
</CodeGroup>

### Instagram 帖子分析

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST "https://api.anysite.io/api/instagram/user/posts" \
    -H "access-token: YOUR_ACCESS_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"user": "techcompany", "count": 10}'
  ```

  ```python Python theme={null}
  import requests

  headers = {
      'access-token': 'YOUR_ACCESS_TOKEN',
      'Content-Type': 'application/json'
  }
  data = {
      'user': 'techcompany',
      'count': 10
  }

  response = requests.post(
      'https://api.anysite.io/api/instagram/user/posts',
      headers=headers,
      json=data
  )

  posts = response.json()
  ```
</CodeGroup>

### Reddit 讨论监控

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST "https://api.anysite.io/api/reddit/search/posts" \
    -H "access-token: YOUR_ACCESS_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"query": "artificial intelligence", "count": 20}'
  ```

  ```python Python theme={null}
  import requests

  headers = {
      'access-token': 'YOUR_ACCESS_TOKEN',
      'Content-Type': 'application/json'
  }
  data = {
      'query': 'artificial intelligence',
      'count': 20
  }

  response = requests.post(
      'https://api.anysite.io/api/reddit/search/posts',
      headers=headers,
      json=data
  )

  discussions = response.json()
  ```
</CodeGroup>

## 集成路径

<Tabs>
  <Tab title="REST API">
    **最适合：** 自定义应用程序、直接集成、微服务

    * 完全控制请求和数据处理
    * 支持所有编程语言
    * 实时数据提取
    * 自定义速率限制和错误处理

    [查看 API 文档 →](/api-reference)
  </Tab>

  <Tab title="MCP 服务器">
    **最适合：** AI 工具集成、Claude/Cursor 工作流

    * 与 AI 开发环境直接集成
    * 用于数据提取的自然语言界面
    * 上下文感知的数据检索
    * 无缝工作流集成

    [设置 MCP 服务器 →](/mcp-server/installation)
  </Tab>

  <Tab title="n8n 节点">
    **最适合：** 工作流自动化、无代码解决方案

    * 可视化工作流构建器
    * 预构建的自动化模板
    * 定时数据提取
    * 与 400+ 其他服务集成

    [安装 n8n 节点 →](/n8n-nodes/installation)
  </Tab>
</Tabs>

## 速率限制和最佳实践

<Warning>
  注意速率限制以确保最佳性能：

  * **免费版**：100 请求/小时
  * **专业版**：1,000 请求/小时
  * **企业版**：自定义限制

  始终为重试实现指数退避，并遵守平台特定的指南。
</Warning>

<Tip>
  **专业提示：**

  * 使用特定的搜索过滤器以获得更相关的结果
  * 为频繁访问的数据实现缓存
  * 在仪表板中监控您的 API 使用情况
  * 在可用时使用 webhook 端点进行实时更新
</Tip>

## 需要帮助？

<CardGroup cols={3}>
  <Card title="API 参考" icon="book" href="/api-reference">
    完整的 API 参考和指南
  </Card>

  <Card title="ReDoc API 文档" icon="api" href="https://api.anysite.io/redoc">
    交互式 API 文档
  </Card>

  <Card title="GitHub" icon="github" href="https://github.com/horizondatawave">
    开源示例和工具
  </Card>
</CardGroup>
