presearch-search

TotalClaw 作者 totalclaw

生产就绪的人工智能代理去中心化搜索。通过分布式节点基础设施进行隐私第一、未经审查的网络搜索。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~nosytlabs-presearch
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~nosytlabs-presearch/file -o nosytlabs-presearch.md
# Presearch Search API

**Endpoint:** `https://na-us-1.presearch.com/v1/search`  
**Method:** GET  
**Auth:** Bearer Token  
**Rate Limit:** 100 requests/minute

## Authentication
```http
Authorization: Bearer YOUR_API_KEY_HERE
```

## Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `q` | string | ✅ | - | Search query |
| `lang` | string | ❌ | en-US | Language code |
| `time` | string | ❌ | any | any, day, week, month, year |
| `page` | string | ❌ | 1 | Page number |
| `safe` | string | ❌ | 1 | Safe search |

## Response
```json
{
  "data": {
    "standardResults": [
      {
        "title": "string",
        "link": "string",
        "description": "string"
      }
    ],
    "pagination": {
      "current_page": 1,
      "has_next": true
    }
  }
}
```

## Error Codes
- 401: Invalid API key
- 402: Payment required  
- 422: Invalid parameters
- 429: Rate limit exceeded

## Usage
```python
# Python
with PresearchSkill(api_key) as skill:
    results = skill.search("AI agents")
```

```javascript
// Node.js
const results = await skill.search({ query: "AI agents" });
```

## Privacy Features
- No tracking or profiling
- Decentralized node network
- Encrypted traffic
- Uncensored results

---

## 中文说明

# Presearch Search API

**端点:** `https://na-us-1.presearch.com/v1/search`  
**方法:** GET  
**鉴权:** Bearer Token  
**速率限制:** 100 requests/minute

## 鉴权
```http
Authorization: Bearer YOUR_API_KEY_HERE
```

## 参数

| 参数 | 类型 | 必填 | 默认值 | 说明 |
|-----------|------|----------|---------|-------------|
| `q` | string | ✅ | - | 搜索查询 |
| `lang` | string | ❌ | en-US | 语言代码 |
| `time` | string | ❌ | any | any、day、week、month、year |
| `page` | string | ❌ | 1 | 页码 |
| `safe` | string | ❌ | 1 | 安全搜索 |

## 响应
```json
{
  "data": {
    "standardResults": [
      {
        "title": "string",
        "link": "string",
        "description": "string"
      }
    ],
    "pagination": {
      "current_page": 1,
      "has_next": true
    }
  }
}
```

## 错误码
- 401: 无效的 API 密钥
- 402: 需要付费  
- 422: 无效的参数
- 429: 超出速率限制

## 用法
```python
# Python
with PresearchSkill(api_key) as skill:
    results = skill.search("AI agents")
```

```javascript
// Node.js
const results = await skill.search({ query: "AI agents" });
```

## 隐私特性
- 无跟踪或画像
- 去中心化节点网络
- 加密流量
- 未经审查的结果