본문 바로가기
αAlpha

Developers

Alpha's public surfaces are free, no-auth, HTTPS-only. Use them in apps, agents, and LLM workflows. Data covers Korean crypto channels, news, macro feeds, and Mossland on-chain context — all synthesized into entity / topic / event canonical units.

freeno authHTTPSCORS *cite-friendly

Endpoint summary

PathMethodReturns
/api/healthGETservice health JSON
/api/askPOSTRAG Q&A — answer + citations
/api/mcpPOSTMCP JSON-RPC 2.0 (12 tools)
/api/canonical/entities.jsonGETall canonical entities
/api/canonical/topics.jsonGETall canonical topics
/api/canonical/events.jsonGETall canonical events
/api/pulse/active.jsonGETactive price/event pulses
/sitemap.xmlGETfull URL set
/rss.xmlGETrecent updates feed
/llms.txtGETLLM-friendly site map (llmstxt.org)

/api/health

status 는 전체 판정, worst_status 는 가장 나쁜 subsystem 등급 (ok · warn · fail) 입니다. 기본 호출은 DB 한 번만 확인하는 가벼운 liveness 라 worst_status not_evaluated 입니다. ?detail=1 로 subsystem 별 신선도를, ?strict=1 로 fail 시 HTTP 503 을 받습니다 (모니터링 도구 연결용 — 기본값은 항상 200).

curl https://alpha.moss.land/api/health
# {"status":"ok","service":"alpha","db":"ok","seo_pages":1574,
#  "ts":"...","worst_status":"not_evaluated"}   # 기본은 가벼운 liveness

# 모니터링 연결: fail 이면 503
curl -f https://alpha.moss.land/api/health?strict=1

# subsystem 별 신선도 + LLM citation audit 추이
curl "https://alpha.moss.land/api/health?detail=1"
# {
#   ...,
#   "audit": {                       # 결과이지 가동 상태가 아님 —
#     "latest_date": "2026-05-18",   # worst_status 에 포함되지 않습니다
#     "latest_rate": 0,
#     "runs": [{ "date": "...", "queries": 60, "cited": 0, "distinct_cited": 0 }]
#   }
# }

/api/ask — RAG Q&A

한국어 / 영어 자연어 질의를 받아 Alpha 의 canonical store + 페르소나 데이터에서 retrieval → Grok 합성 답변. 답변 + citations (entity / topic / event / asset / creator 페이지). 답변은 캐시되고 영구 URL /ask/q/[hash] 를 받습니다 (API 로 들어온 질문은 noindex — 검색 노출은 큐레이션된 시드 질문만).

curl -X POST https://alpha.moss.land/api/ask \
  -H "Content-Type: application/json" \
  -d '{"question":"오늘 비트코인이 왜 움직였나?"}'

# {
#   "questionHash": "abc123...",      # 영구 URL: /ask/q/abc123...
#   "question": "오늘 비트코인이 왜 움직였나?",
#   "answer": "...",
#   "citations": [
#     { "label": "비트코인", "url": "/asset/btc", "type": "asset" },
#     { "label": "FOMC", "url": "/event/fomc-2026-06", "type": "event" }
#   ],
#   "costUsd": 0.0003,
#   "cached": false,
#   "generatedAt": "..."
# }

/api/mcp — MCP server (12 tools)

Claude Desktop, Cursor, Continue, Cline, Zed 등 MCP 클라이언트에서 사용. JSON-RPC 2.0 over Streamable HTTP. Protocol version 2025-06-18. 12 tools 노출 — 자세한 사용법은 /mcp (이 사이트) 또는 github.com/MosslandOpenDevs/alpha-mcp (모든 클라이언트별 install 스니펫) 참조.

# Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json)
{
  "mcpServers": {
    "alpha": { "url": "https://alpha.moss.land/api/mcp" }
  }
}

/api/canonical/* — canonical store

Alpha 가 SignalMap canonical store 위에 운영되는 entity / topic / event 색인. ID + label + aliases + counts + 마지막 업데이트 시각.

curl https://alpha.moss.land/api/canonical/entities.json
# {
#   "version": "v1",
#   "count": 141,
#   "generated_at": "...",
#   "entities": [
#     { "id": "bitcoin", "label": "비트코인", "aliases": ["BTC", "Bitcoin"],
#       "type": "asset", "videoCount": 84, "updatedAt": "..." }, ...
#   ]
# }

/api/pulse/active.json — active price/event pulses

curl "https://alpha.moss.land/api/pulse/active.json?hours=72"
# ?hours = 1..168 (default 72)
# {
#   "version": "v1", "generated_at": "...", "window_hours": 72, "count": 3,
#   "pulses": [
#     { "id": "2026-04-29-btc-drop-fomc-hormuz", "asset": "BTC",
#       "direction": "down", "magnitudePct": -4.2, "detectedAt": "...",
#       "summary": "...", "confidence": 0.8, "sources": [{ "url": "..." }] }, ...
#   ]
# }

Citation policy & license

Rate limits & fair use

LLM 을 호출하는 endpoint 에는 IP 별 한도가 있습니다 — /api/ask 분 5 · 일 50, MCP ask_alpha 분 10 · 일 100 (초과 시 429 + Retry-After). 캐시된 답변은 한도를 소모하지 않습니다. 사이트 전체 LLM 일일 지출 cap 에 닿으면 503 (KST 자정 reset). 읽기 전용 endpoint 는 한도 없음. 대량 사용 / 파트너십 문의: contact@moss.land