开发者入口
使用 Web3Fire 构建
结构化、已验证的 Web3 知识——23 个权威节点,包含实体、关联、比较、时间轴和 AI 就绪的 FAQ。
Entity API
GET /api/entity/:slug — identity, summary, score, relations, compare, sources, timeline, faq
Search API
GET /api/search?q= — FTS5 with alias + intent routing
Compare Data
GET /api/compare/:slug — dimension-by-dimension comparison values
示例响应
{
"identity": { "id": "ent-ethereum", "type": "concept", "slug": "ethereum", "title": "Ethereum" },
"summary": "Ethereum is a programmable blockchain platform for smart contracts and decentralized applications.",
"score": { "authority_score": 90, "content_level": "A" },
"relations": { "outgoing": [{ "relation_type": "uses", "target_slug": "consensus" }], "incoming": [] },
"compare": [{ "slug": "ethereum-vs-solana", "title": "Ethereum vs Solana" }],
"sources": [{ "name": "ethereum.org", "url": "https://ethereum.org" }],
"timeline": [{ "event_date": "2015-07-30", "event_title": "Ethereum mainnet launch" }],
"faq": [{ "question": "What is Ethereum?", "answer": "Ethereum is a programmable blockchain..." }]
}用例
AI 知识基础——用于引用的已验证实体数据
教育内容——结构化定义和时间轴
决策工具——用于选择的比较维度
图谱应用——关联和权威分数
API 参考
字段选择
GET /api/entity/:slug?fields=summary,relations,faq
仅投影所需字段——减少约 30% 负载。
错误处理
400 missing slug · 404 not found · 500 server error
版本控制
V1 endpoints at /api/v1/* remain stable. V2 Intelligence API at /api/v2/* adds entity, news, signals, token, wallet, contract endpoints.
认证路线图
当前:开放、只读、限速。路线图:开发者 API Key 和付费数据访问。尚未上线。
示例
curl
curl "https://web3fire.com/api/entity/ethereum?lang=en&fields=evidence,trust,freshness"
JavaScript
const r = await fetch('/api/entity/ethereum?fields=evidence');
const d = await r.json();
d.evidence.forEach(c => console.log(c.claim, c.sources[0].url));Python
import requests
d = requests.get("https://web3fire.com/api/entity/stablecoin?fields=trust").json()
print(d["trust"]) # {evidenceCoverage, sourceCount, confidenceSummary}