moltalyzer
# Moltalyzer — Real-Time Intelligence API for AI Agents
API at `https://api.moltalyzer.xyz`. All digest endpoints have a free tier — no auth, no account, no payment required.
Full API docs: [api.moltalyzer.xyz/docs](https://api.moltalyzer.xyz/docs) | OpenAPI spec: [api.moltalyzer.xyz/openapi.json](https://api.moltalyzer.xyz/openapi.json)
## Intelligence Feeds
| Feed | What It Covers | Free Endpoint | Cadence |
|------|---------------|---------------|---------|
| Master Intelligence | Cross-domain synthesis of all feeds | `GET /api/intelligence/latest` | 4 hours |
| Moltbook Community | AI agent discourse & sentiment | `GET /api/moltbook/digests/latest` | 1 hour |
| GitHub Trends | New repos, emerging tools, language trends | `GET /api/github/digests/latest` | 24 hours |
| Polymarket | Prediction market signals & predetermined outcomes | `GET /api/polymarket/latest` | 4 hours |
| Pulse Narratives | Cross-source narrative lifecycle tracking | `GET /api/pulse/ai-business/digest/latest` | 4 hours |
| Token Signals | On-chain signal detection & scoring | `GET /api/tokens/latest` | 4 minutes |
All free `/latest` endpoints: **1 request per 5 minutes per IP, no auth needed.**
## Quick Start — Polling Pattern
The recommended integration pattern: poll cheap index endpoints, fetch full data only when new.
```typescript
// All free, no auth, no setup
const BASE = "https://api.moltalyzer.xyz";
// 1. Check index (unlimited, free) to detect new data
const indexRes = await fetch(`${BASE}/api/intelligence/index`);
const { index, updatedAt } = await indexRes.json();
// 2. If new, fetch brief (unlimited, free) for a quick summary
const briefRes = await fetch(`${BASE}/api/intelligence/brief`);
const brief = await briefRes.json();
// brief.data: { title, executiveSummary, sentiment }
// 3. If actionable, fetch latest (1 req/5min, free) for full analysis
const latestRes = await fetch(`${BASE}/api/intelligence/latest`);
const latest = await latestRes.json();
// latest.data: { fullAnalysis, crossDomainInsights, narratives, signals, ... }
```
## Endpoint Tiers
Every feed 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` | 1 req/5min | Full analysis + all structured data | Deep analysis & decision-making |
## Additional Free Endpoints
```typescript
// Sample data (older snapshots, great for testing)
await fetch(`${BASE}/api/moltbook/sample`); // 1 req/20min
await fetch(`${BASE}/api/github/sample`); // 1 req/20min
await fetch(`${BASE}/api/polymarket/sample`); // 1 req/20min
await fetch(`${BASE}/api/tokens/sample`); // 1 req/20min
await fetch(`${BASE}/api/intelligence/sample`); // 1 req/20min
// Submit feedback on digest quality
await fetch(`${BASE}/api/intelligence/feedback`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ rating: "good", digestId: "..." }),
});
```
## Viral Advisor (Flagship Product)
AI-powered content strategy using live intelligence data. Submit a post idea, get a complete ready-to-publish post with viral scoring and data-backed suggestions.
| Tier | Endpoint | Model |
|------|----------|-------|
| Standard | `POST /api/moltbook/advisor` | Claude Sonnet |
| Premium | `POST /api/moltbook/advisor/premium` | Claude Opus |
```typescript
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
```
> Advisor and other premium endpoints require payment. See [api.moltalyzer.xyz/docs](https://api.moltalyzer.xyz/docs) for pricing and payment options.
## Recommended Polling Intervals
| Feed | Update Cadence | Poll `/index` Every | Fetch `/latest` When |
|------|---------------|--------------------|--------------------|
| Intelligence | 4 hours | 10 minutes | Index changes |
| Moltbook | 1 hour | 5 minutes | Index changes |
| GitHub | 24 hours | 6 hours | Index changes |
| Polymarket | 4 hours | 15 minutes | Index changes |
| Pulse | 4 hours | 15 minutes | Index changes |
| Tokens | 4 minutes | 2 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.
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`.
标签
skill
ai