Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ClawFetch.ai Web Intelligence API

БесплатноБез исполняемых скриптовНе проверен

Web intelligence API for AI agents. Stealth rendering, 17 structured extractors (Twitter, GitHub, CoinGecko, NPM, PyPI, crates.io, Hacker News, YouTube…

mssteuerот mssteuer230 установок в других каталогах

Об этом скилле

ClawFetch.ai — Web Intelligence for AI Agents

Base URL: https://api.clawfetch.ai

Setup Guide (For Agents)

Step 1: Create a Base Wallet

You need an Ethereum-compatible wallet. Generate one using ethers.js:

import { ethers } from 'ethers';

// Generate a new wallet
const wallet = ethers.Wallet.createRandom();
console.log('Address:', wallet.address);
console.log('Private Key:', wallet.privateKey);

// Save the private key securely!

Or install ethers if you don't have it:

npm install ethers

Step 2: Get USDC on Base

Ask your human to send a small amount of USDC to your wallet address on the Base network (Chain ID 8453).

  • Even $0.50 covers hundreds of API calls (cheapest endpoint is $0.001)
  • No ETH needed! ClawFetch uses gasless X402 payments — you only need USDC
  • USDC contract on Base: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Step 3: Install the X402 Client SDK

npm install @x402/fetch @x402/evm

Step 4: Make Paid Requests

Use the @x402/fetch wrapper — it handles the entire payment flow automatically:

import { wrapFetch } from '@x402/fetch';
import { ExactEvmScheme } from '@x402/evm/exact/client';
import { ethers } from 'ethers';

// Set up your wallet
const provider = new ethers.JsonRpcProvider('https://mainnet.base.org');
const wallet = new ethers.Wallet('YOUR_PRIVATE_KEY', provider);

// Create an x402-aware fetch client
const x402Fetch = wrapFetch(fetch, {
  schemes: [new ExactEvmScheme(wallet)],
});

// Now use it like normal fetch — payments happen automatically!
const response = await x402Fetch('https://api.clawfetch.ai/render', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ url: 'https://example.com' }),
});

const data = await response.json();
console.log(data);

That's it! The x402 SDK handles:

  • Detecting the 402 payment requirement
  • Signing a gasless EIP-3009 authorization (no ETH needed)
  • Retrying the request with the payment signature
  • Returning the API response

Alternative: Manual Flow (No SDK)

If you can't use the SDK, you can manually follow the X402 flow:

# 1. Hit endpoint → get 402 with PAYMENT-REQUIRED header (base64 JSON)
curl -i -X POST https://api.clawfetch.ai/fetch \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'

# 2. Decode the PAYMENT-REQUIRED header to get payment details
# 3. Sign an EIP-3009 TransferWithAuthorization message
# 4. Base64-encode the signed payload
# 5. Resend with PAYMENT-SIGNATURE header

curl -X POST https://api.clawfetch.ai/fetch \
  -H "Content-Type: application/json" \
  -H "PAYMENT-SIGNATURE: <base64-encoded-signed-payload>" \
  -d '{"url": "https://example.com"}'

Recommended: Use the SDK. The manual flow requires understanding EIP-3009 and EIP-712 typed data signing. The SDK does all of this for you.

Endpoints

POST /fetch — $0.001 (0.1¢)

Basic HTTP fetch → clean text. No JS rendering. Fast, cheap, works for static pages and APIs.

{"url": "https://docs.example.com", "maxChars": 5000}

POST /render — $0.005 (0.5¢)

Full Puppeteer render with stealth anti-detection. Handles Cloudflare, bot checks, JS-heavy SPAs.

{"url": "https://app.uniswap.org", "maxChars": 3000, "waitFor": ".swap-page"}

POST /extract — $0.008 (0.8¢)

Structured JSON extraction via site-specific parsers. Returns typed fields, not raw text.

{"url": "https://github.com/openclaw/openclaw"}

Response:

{"type": "github", "name": "openclaw", "stars": "2.4k", "forks": "312", "language": "TypeScript"}

POST /domains/check — $0.003 (0.3¢)

Check domain availability via WHOIS. Returns registrar, expiry, and creation dates for taken domains.

{"name": "myproject", "tlds": ["com", "ai", "io", "dev"]}

Or explicit list:

{"domains": ["foo.com", "bar.ai", "baz.io"]}

POST /domains/suggest — $0.003 (0.3¢)

Generate domain name ideas from keywords + check availability.

{"keywords": ["agent", "fetch"], "tlds": ["com", "ai"], "maxCheck": 20}

POST /parse — $0.005 (0.5¢)

Convert office documents (docx, pptx, xlsx, pdf, odt, ods, odp, rtf, epub, csv, doc, ppt) to clean GitHub-Flavored Markdown. Pass a document URL or base64 bytes. Deterministic local Rust converter — no OCR for scanned/image-only PDFs.

{"url": "https://example.com/quarterly-report.docx"}

Or inline bytes (max ~15MB):

{"base64": "<base64 document bytes>", "filename": "report.docx"}

POST /company: $0.02 (2¢)

Company / lead enrichment from a domain. Returns name, description, logo, favicon, language, social profiles (X/Twitter, LinkedIn, GitHub, YouTube, Facebook, Instagram, Telegram, Discord, Crunchbase), contact emails, phones, schema.org postal addresses and Organization data, detected tech stack (with evidence), and key page URLs (about, careers, pricing, contact, docs, blog, privacy,

Полный SKILL.md на ClawHub

Установить ClawFetch.ai Web Intelligence API в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл ClawFetch.ai Web Intelligence API?

Web intelligence API for AI agents. Stealth rendering, 17 structured extractors (Twitter, GitHub, CoinGecko, NPM, PyPI, crates.io, Hacker News, YouTube, Wikipedia, Product Hunt, IMDb, Amazon, Crunchbase, SEC EDGAR, Zillow, Redfin, news), domain search, and multi-source research. Gasless USDC payments on Base via standard X402 protocol. Use when your agent needs web data from JS-heavy or Cloudflare-protected sites, structured data from supported sites, domain availability checks, or multi-source topic research.

Как установить скилл ClawFetch.ai Web Intelligence API?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ClawFetch.ai Web Intelligence API запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ClawFetch.ai Web Intelligence API с