← 返回
数据分析 Key 中文

XCrawl Search

Use this skill for XCrawl search tasks, including keyword search request design, location and language controls, result analysis, and follow-up crawl or scra...
用于XCrawl搜索任务,包括关键词搜索请求设计、位置和语言控制、结果分析以及后续爬取。
wykings
数据分析 clawhub v1.0.2 1 版本 99938.6 Key: 需要
★ 0
Stars
📥 1,628
下载
💾 45
安装
1
版本
#latest

概述

XCrawl Search

Overview

This skill uses XCrawl Search API to retrieve query-based results.

Default behavior is raw passthrough: return upstream API response bodies as-is.

Required Local Config

Before using this skill, the user must create a local config file and write XCRAWL_API_KEY into it.

Path: ~/.xcrawl/config.json

{
  "XCRAWL_API_KEY": "<your_api_key>"
}

Read API key from local config file only. Do not require global environment variables.

Credits and Account Setup

Using XCrawl APIs consumes credits.

If the user does not have an account or available credits, guide them to register at https://dash.xcrawl.com/.

After registration, they can activate the free 1000 credits plan before running requests.

Tool Permission Policy

Request runtime permissions for curl and node only.

Do not request Python, shell helper scripts, or other runtime permissions.

API Surface

  • Search endpoint: POST /v1/search
  • Base URL: https://run.xcrawl.com
  • Required header: Authorization: Bearer

Usage Examples

cURL

API_KEY="$(node -e "const fs=require('fs');const p=process.env.HOME+'/.xcrawl/config.json';const k=JSON.parse(fs.readFileSync(p,'utf8')).XCRAWL_API_KEY||'';process.stdout.write(k)")"

curl -sS -X POST "https://run.xcrawl.com/v1/search" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer ${API_KEY}" \
  -d '{"query":"AI web crawler API","location":"US","language":"en","limit":20}'

Node

node -e '
const fs=require("fs");
const apiKey=JSON.parse(fs.readFileSync(process.env.HOME+"/.xcrawl/config.json","utf8")).XCRAWL_API_KEY;
const body={query:"web scraping pricing",location:"DE",language:"de",limit:30};
fetch("https://run.xcrawl.com/v1/search",{
  method:"POST",
  headers:{"Content-Type":"application/json",Authorization:`Bearer ${apiKey}`},
  body:JSON.stringify(body)
}).then(async r=>{console.log(await r.text());});
'

Request Parameters

Request endpoint and headers

  • Endpoint: POST https://run.xcrawl.com/v1/search
  • Headers:
  • Content-Type: application/json
  • Authorization: Bearer

Request body: top-level fields

FieldTypeRequiredDefaultDescription
---------:------
querystringYes-Search query
locationstringNoUSLocation (country/city/region name or ISO code; best effort)
languagestringNoenLanguage (ISO 639-1)
limitintegerNo10Max results (1-100)

Response Parameters

FieldTypeDescription
---------
search_idstringTask ID
endpointstringAlways search
versionstringVersion
statusstringcompleted
querystringSearch query
dataobjectSearch result data
started_atstringStart time (ISO 8601)
ended_atstringEnd time (ISO 8601)
total_credits_usedintegerTotal credits used

data notes from current API reference:

  • Concrete result schema is implementation-defined
  • Includes billing fields like credits_used and credits_detail

Workflow

  1. Rewrite the request as a clear search objective.
    • Include entity, geography, language, and freshness intent.
  1. Build and execute POST /v1/search.
    • Keep request explicit and deterministic.
  1. Return raw API response directly.
    • Do not synthesize relevance summaries unless requested.

Output Contract

Return:

  • Endpoint used (POST /v1/search)
  • request_payload used for the request
  • Raw response body from search call
  • Error details when request fails

Do not generate summaries unless the user explicitly requests a summary.

Guardrails

  • Do not claim ranking guarantees that the API does not expose.
  • Do not fabricate unavailable filters or response fields.
  • Do not hardcode provider-specific tool schemas in core logic.

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-03-29 19:40 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

XCrawl

wykings
此技能作为XCrawl的默认入口,用于直接发起请求,支持单URL抓取、格式选择、同步或异步执行及JSON处理。
★ 1 📥 2,539
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,986
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 164 📥 59,820