
zcaceres/builtwith-api
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
TypeScript ライブラリ、MCP、および組み込み API のエージェントフレンドリーな CLI です.
概要
アプリ、端末、AI エージェントから組み込み API を問い合わせます。 Node.js >= 18 (ネイティブフェッチを使用する) が必要です。 - - これ以上の CommonJS/require() サポートなし - - 'buildwith-api' から { createClient } をインポートします(デフォルト/require ではありません) - - 無効な入力は、手動でのエラーメッセージではなく ZodError をスローします - メソッドは型応答オブジェクトを返します(JSON 形式を使用する場合) - JSON サポート - XML サポート - CSV サポート - TSV サポート (リスト、関係) - TXT サポート (リストのみ) CLI は、すべての 13 API メソッドをラップします。 パッケージ自体よりも追加の依存関係はありません。 --api-key または BUILTWITH API KEY 環境変数を使用して API キーを渡して下さい: --help を使用して、コマンド固有のオプションのフル使用または buildwith --help を使用します。 MCP サーバーは別々のパッケージとして利用できます: buildwith-mcp. LLM クライアント (Claude Desktop, Cursor など) のツールとして、13 個の API メソッドを全て公開します.
概要(AI 翻訳)
アプリ、端末、AI エージェントから組み込み API を問い合わせます。
インストール
Node.js >= 18 が必要です (ネイティブ fetch を使用します)。
v3 で変更を破る
- ESM-only - これ以上の CommonJS/[
require()サポートなし - 名前付きエクスポート - [
import { createClient } from 'builtwith-api'] (デフォルト/[[T3]ではありません)) -Zodバリデーション - 手動エラーメッセージの代わりに、無効な入力が[[[T4]をスローする - 型応答 - 型応答オブジェクトを返すメソッド(JSON形式を使用する場合)
##特徴
応答フォーマット
- JSON サポート
- XMLサポート
- CSVサポート
- TSVサポート(リスト、関係)
- TXTサポート(リストのみ)
API の
| 方法 | 説明 |
お問い合わせ
| 【[[T5]】 | 無料技術概要 |
| 【[[T6]】 | フルドメイン技術ルックアップ |
|【lists|技術を用いたサイト |
| [[T8] | 関連ドメイン |
| [[T9] | ドメインキーワード抽出 |
| 【[T10] | 技術の採用動向 |
| 【[T11] | ドメインに社名 |
| 【[T12] | ライブドメイン検出 |
| [[[T13] | 信頼と不正な信号 |
| 【[T14] | 知財・属性検索 |
| [[T15] | 技術提案 |
| [[T16] | 連鎖歴史 |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
BuiltWith API
Query the BuiltWith API from your app, terminal, or AI agent.
Installation
# Homebrew (CLI only)
brew install zcaceres/tap/builtwith
# npm (library + CLI)
npm install builtwith-api
# MCP server (separate package)
npm install -g builtwith-mcp
Requires Node.js >= 18 (uses native fetch).
Breaking Changes in v3
- ESM-only - no more CommonJS/
require()support - Named export -
import { createClient } from 'builtwith-api'(not default/require) - Zod validation - invalid inputs throw
ZodErrorinstead of manual error messages - Typed responses - methods return typed response objects (when using JSON format)
Features
Response Formats
- JSON support
- XML support
- CSV support
- TSV support (lists, relationships)
- TXT support (lists only)
APIs
| Method | Description |
|---|---|
free |
Free technology summary |
domain |
Full domain technology lookup |
lists |
Sites using a technology |
relationships |
Related domains |
keywords |
Domain keyword extraction |
trends |
Technology adoption trends |
companyToUrl |
Company name to domains |
domainLive |
Live domain detection |
trust |
Trust & fraud signals |
tags |
IP & attribute lookups |
recommendations |
Technology suggestions |
redirects |
Redirect chain history |
product |
E-commerce product search |
Library Usage
import { createClient } from 'builtwith-api'
// Initialize with your API key
const builtwith = createClient(process.env.BUILTWITH_API_KEY, {
responseFormat: 'json' // 'json' 'xml' 'csv' 'tsv' 'txt' (txt only for lists API)
})
const url = 'facebook.com'
// Free lookup - quick summary
await builtwith.free(url)
// Full domain analysis
await builtwith.domain(url, {
// This will hide technology description, link, tag and category fields
hideAll: false,
// This will hide technology description and link fields (but keep tag and categories)
hideDescriptionAndLinks: false,
// This will only return technologies we consider to be live
onlyLiveTechnologies: true,
// No meta data (like address, names etc..) will be returned. Improves performance.
noMetaData: true,
// No attributes data will be returned
noAttributeData: true,
// No personally identifiable information will be returned
noPII: true,
// Filter by first detected date range (e.g. '2020-01-01-2024-12-31')
firstDetectedRange: undefined,
// Filter by last detected date range
lastDetectedRange: undefined
})
// List sites using a technology
const technology = 'Shopify'
// The name of a technology. Spaces automatically replaced with dashes (-).
await builtwith.lists(technology, {
// Brings back meta data with the results, which includes names, titles, social links, addresses, emails, telephone numbers, traffic ranks etc.
includeMetaData: true,
インストール
npx -y builtwith-mcp設定
{
"mcpServers": {
"builtwith": {
"command": "npx",
"args": ["-y", "builtwith-mcp"],
"env": {
"BUILTWITH_API_KEY": "YOUR_KEY"
}
}
}
}