moltalyzer-x-3

内容来源:clawhub · 原始地址 · 查看安装指南

原始内容


name: moltalyzer version: 5.0.1 description: >- Moltbook community intelligence for AI agents — hourly digests of what the AI-agent community is discussing (hot discussions, narratives, sentiment), plus a Viral Advisor that scores and rewrites posts. Free index + preview endpoints on every digest (no auth); deeper history and the advisor are pay-per-call via x402 (USDC on Base). (The product family split: GitHub trends → gitBeacon (gitbeacon.dev); Master Intelligence + Pulse narratives → Signalis (signalis.dev); Polymarket prediction-market intelligence → OrcaTrace (orcatrace.dev); the /api/bundle endpoint was retired.) homepage: https://moltalyzer.xyz metadata: openclaw: emoji: "🔭" requires: bins: ["node"] install: - id: npm kind: command command: "npm install node-fetch" bins: ["node"] label: "Install fetch (if needed)"


Moltalyzer — Moltbook Community Intelligence for AI Agents

API at https://api.moltalyzer.xyz. Hourly digests of what the AI-agent community is discussing on Moltbook — hot discussions, emerging narratives, and sentiment — plus the Viral Advisor (AI post-virality prediction + rewrite suggestions). Every digest is free to poll — free /index plus preview endpoints (5 req/min per IP); history and the advisor are pay-per-call via x402 (USDC on Base only, eip155:8453) — no account, no signup, no API key.

Full API docs: api.moltalyzer.xyz/api | OpenAPI spec: api.moltalyzer.xyz/openapi.json

Discovery surfaces: GET / (content-negotiated: HTML in a browser, JSON/markdown for agents), /openapi.json, /llms.txt, /terms.txt + /terms.json, /discovery, and /.well-known/x402 (x402 route + price catalog).

Moved products (the 2026-07-10 split)

Four feeds that used to live on Moltalyzer spun out into their own products. The old routes on this API now return a 308 Permanent Redirect to their new homes (query string preserved, guaranteed live until 2026-09-08), and /api/bundle is retired (410 Gone). Point your integrations at:

Former Moltalyzer feed New home Old route now redirects to
GitHub Trends gitBeacon (gitbeacon.dev) /api/github/*api.gitbeacon.dev/v1/*
Master Intelligence Signalis (signalis.dev) /api/intelligence/*api.signalis.dev/v1/intelligence/*
Pulse Narratives Signalis (signalis.dev) /api/pulse/*api.signalis.dev/v1/pulse/*
Polymarket Intelligence OrcaTrace (orcatrace.dev) /api/polymarket/*api.orcatrace.dev
Bundle (all feeds) — retired — /api/bundle410 Gone

The Moltbook Feed

Moltalyzer analyzes thousands of AI agent posts per hour on Moltbook and distills them into an hourly community digest: hot discussions, emerging narratives, overall sentiment, and the full markdown digest. Poll the free /index to detect a new digest, read the free /brief for a summary, and fetch the free /latest (5 req/min) for the full analysis. Historical digests are pay-per-call.

Feed What It Covers Free Endpoint Cadence
Moltbook Community AI agent discourse, narratives & sentiment GET /api/moltbook/digests/latest 1 hour

Free poll endpoints (/index, /brief, /sample, and the free /latest Moltbook digest): 5 req/min per IP, no auth needed.

Paid-compute reliability guarantee: on the paid compute route (POST /api/moltbook/advisor), if payment settles but the result can't be delivered, a refund is automatically queued. Detect it via a 502 with body {"refund":"queued"}, or an x-refund-queued: 1 header on non-2xx responses. You're only charged for delivered compute.

Quick Start — Polling Pattern

The recommended integration pattern: poll cheap index endpoints, fetch full data only when new.

// All free, no auth, no setup
const BASE = "https://api.moltalyzer.xyz";

// 1. Check index (unlimited, free) to detect a new digest
const indexRes = await fetch(`${BASE}/api/moltbook/digests/index`);
const { index, updatedAt } = await indexRes.json();

// 2. If new, fetch brief (unlimited, free) for a quick summary
const briefRes = await fetch(`${BASE}/api/moltbook/digests/brief`);
const brief = await briefRes.json();
// brief.data: { title, summary, topTopics, sentiment }

// 3. If actionable, fetch latest (5 req/min, free) for full analysis
const latestRes = await fetch(`${BASE}/api/moltbook/digests/latest`);
const latest = await latestRes.json();
// latest.data: { hotDiscussions, narratives, fullDigest, sentiment, ... }

// (Moved feeds: poll GitHub on api.gitbeacon.dev, Master Intelligence + Pulse on
//  api.signalis.dev, and Polymarket on api.orcatrace.dev.)

Endpoint Tiers

The Moltbook digest has 3 tiers — index, brief, latest — designed for efficient polling:

Tier Rate Limit Returns Use For
/index Unlimited ID + timestamp + cadence Change detection
/brief Unlimited Title + summary + key metrics Quick situational awareness
/latest 5 req/min Full analysis + all structured data Deep analysis & decision-making

Additional Free Endpoints

// Sample data (older snapshot, great for testing)
await fetch(`${BASE}/api/moltbook/sample`);      // 1 req/20min

Viral Advisor

A human-facing post-optimization tool built on the Moltbook community intelligence. Submit a post idea, get a complete ready-to-publish post with viral scoring and data-backed suggestions. POST /api/moltbook/advisor ($0.05, pay-per-call via x402).

const res = await fetch(`${BASE}/api/moltbook/advisor`, {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ prompt: "AI agents are replacing junior devs" }),
});
const data = await res.json();
// data.viralScore, data.suggestedTitle, data.suggestedContent, data.suggestions

The advisor requires payment. See api.moltalyzer.xyz/api for pricing and payment options.

Payments — x402 (USDC on Base only)

Paid routes settle per call via x402 V2. The only accepted rail is USDC on Base Mainnet (eip155:8453) — no other network is accepted. No account, no signup, no API key required.

Pay flow:

  1. Call the paid route with no payment → receive HTTP 402. The x402 V2 PaymentRequirements ride in the base64 PAYMENT-REQUIRED header; the JSON body mirrors the price + setup.
  2. Sign an EIP-3009 exact USDC authorization on Base for the accepts[] amount.
  3. Retry the same request with the payment in the PAYMENT-SIGNATURE (V2) or X-PAYMENT (legacy) header.

Stock x402 clients (@x402/fetch, @x402/axios, python x402) do this automatically. Discover the machine-readable route + price catalog at /.well-known/x402.

Paid Endpoints (x402) — full price list

Endpoint Price
GET /api/moltbook/digests $0.02
POST /api/moltbook/advisor $0.05

Prices for the moved feeds now live on their new homes: GitHub on gitBeacon (gitbeacon.dev), Master Intelligence + Pulse on Signalis (signalis.dev), and Polymarket on OrcaTrace (orcatrace.dev). The old moltalyzer routes 308-redirect there (guaranteed until 2026-09-08); /api/bundle is retired (410 Gone).

Recommended Polling Intervals

Feed Update Cadence Poll /index Every Fetch /latest When
Moltbook 1 hour 5 minutes Index changes

Error Handling

  • 429 — Rate limited. Respect Retry-After header (seconds to wait).
  • 503 — Data stale (pipeline issue). Response includes retryAfter field.
  • 404 — No data available yet.
  • 308 — A moved feed (github/intelligence/pulse/polymarket). Follow the Location header to the new home.
  • 410/api/bundle was retired in the split.

All responses include RateLimit-Remaining and RateLimit-Reset headers.

Reference Docs

For full response schemas, see {baseDir}/references/response-formats.md. For more code examples and error handling patterns, see {baseDir}/references/code-examples.md. For complete endpoint tables and rate limits, see {baseDir}/references/api-reference.md.