如果你在 2026 年构建占星 app,选择 astrology API 已经不只是生成 natal chart。
有的 API 面向 enterprise credit wallets。有的强在 Vedic astrology。有的为 AI agents 和 hosted MCP workflows 设计。还有的更适合简单 JSON responses、white-label PDF reports、open-source research 或低成本 MVP。
本文比较适合开发者评估的 APIs:
- FreeAstroAPI
- AstrologyAPI
- AstroAPI
- RoxyAPI
- Astrology API
- Free Astrology API
- VedicAstroAPI
- VedAstro
- Prokerala Astrology API
命名说明:本文中的 AstroAPI 指 Bloom/astroapi.cloud 产品;Astrology API 指 astrology-api.io。
Last verified: May 31, 2026. Pricing、quotas 和 endpoint access 都可能变化。生产前请检查供应商页面。
快速结论
| Best for | Recommended API | Why |
|---|---|---|
| Best overall developer value | FreeAstroAPI | Predictable request pricing, generous daily free tier, hosted MCP on every tier, Western/Vedic/Chinese coverage, and visual chart endpoints. |
| Best AI agent and remote MCP workflow | FreeAstroAPI | Hosted MCP is included even on the free tier, with the same API key and limits as REST. |
| Best long-form personalized reports | FreeAstroAPI | 8,000-9,000 word narrative reports with structured JSON or Markdown output for custom app and PDF rendering. |
| Largest established credit-wallet platform | AstrologyAPI | Broad Indian, Western, horoscope, AI, and PDF suites under a unified credit wallet. |
| Best EU-style modular Western package | AstroAPI | Published plan limits, modular add-ons, chart rendering, PDF reports, and 60-600 requests/min depending on plan. |
| Best multi-domain AI-native platform | RoxyAPI | Astrology, Vedic, tarot, numerology, and other domains under one key with remote MCP and starter apps. |
| Best broad calculation catalog | Astrology API | 100+ calculation types, house-system breadth, hosted MCP gateways, and clear paid tiers. |
| Best simple low-cost Vedic JSON API | Free Astrology API | Daily free tier and low paid tiers with clear monthly request counts. |
| Best Vedic content ecosystem | VedicAstroAPI | Large Vedic/Tarot/Western catalog, many languages, PDF add-ons, and AI Chat beta. |
| Best open-source astrology engine | VedAstro | MIT-licensed open-source project, REST API, Python library, MCP server, and very low paid tier. |
| Best matrimonial and Vedic credit ecosystem | Prokerala | Strong Vedic, matching, Panchang, PDF, and credit-based product suite. |
完整 API 对比表
| API | Free tier | Pricing starts | AI / MCP | Western astrology | Vedic astrology | SVG / PDF | Public rate-limit signal | Best for |
|---|---|---|---|---|---|---|---|---|
| FreeAstroAPI | 80 requests/day | $8/month | Hosted MCP | Advanced | Yes | SVG/PNG, reports | 1 request/sec free, 5-10 requests/sec paid | Best overall value |
| AstrologyAPI | 50 free credits | Credit wallet | MCP server | Yes | Advanced | PDF reports | Credit based, plan dependent | Enterprise and credit-wallet teams |
| AstroAPI | Free account/trial flow | EUR 39.99/month full plan, modules from EUR 4.50/month | AI chatbot add-on | Strong | Limited | Charts and PDF reports | 60-600 requests/min by plan | EU-style modular Western API |
| RoxyAPI | Playground/testing, no simple public monthly free quota | Starter plan, shown as EUR 35/month in the EUR view | Remote MCP | Strong | Yes, as a separate domain | UI components, JSON | Monthly quotas, custom limits on higher plans | AI-native multi-domain apps |
| Astrology API | 50 calls/month | $11/month | MCP gateway | Strong | Yes | Chart rendering and PDF add-ons | Credit/request based | Broad calculation catalog |
| Free Astrology API | 50 requests/day | $15/month | No published MCP | Basic to moderate | Strong | JSON | 1 request/sec free, 10-1000 requests/sec paid | Simple Vedic JSON integrations |
| VedicAstroAPI | 14-day free trial | INR 1,499/month Vedic, INR 1,999/month Western/Tarot | AI Chat beta | Yes | Strong | PDF add-ons | Plan call limits | Vedic content and languages |
| VedAstro | 15 requests/min | $1/month | MCP server | Partial | Advanced | SVG/tools | 15 requests/min free | Research and open-source builders |
| Prokerala | 5,000 credits/month | INR 999/month published promo tier | No published MCP | Partial | Strong | PDF reports | 5 requests/min free, 60-300 requests/min paid | Matrimonial, Panchang, and Vedic reports |
如何选择 astrology API
最适合的 API 取决于产品。AI astrology chatbot 应优先考虑 hosted MCP、clean JSON、stable tool naming 和 rate-limit clarity。Chart app 应优先考虑 deterministic chart math、timezone handling、house systems、SVG/PNG output 和 city search。Vedic 产品要看 dasha、varga、Panchang、matching、gochar、yoga detection 和 language support。
本文使用这些因素:
- Free tier usefulness。
- Pricing predictability。
- AI and MCP readiness。
- Western astrology coverage。
- Vedic astrology coverage。
- SVG、PNG 或 PDF visual output。
- Rate-limit transparency。
- Developer documentation quality。
- Production app fit。
Free tier 对比
不同供应商处理免费用量的方式差异很大。有的给透明 request allowance,有的使用 credits,一个 endpoint 可能消耗多个 credits。
| API | Free tier model | Free-plan throughput | Reset style | Approximate free usage |
|---|---|---|---|---|
| FreeAstroAPI | 80 requests/day | 1 request/sec | Daily | About 2,400 requests/month if traffic is spread evenly |
| Free Astrology API | 50 requests/day | 1 request/sec | Daily | About 1,500 requests/month if traffic is spread evenly |
| Astrology API | 50 calls/month | Not clearly published | Monthly | 50 standard calls/month |
| AstrologyAPI | 50 free credits | Not clearly published | Credit wallet | Depends on endpoint credit cost |
| Prokerala | 5,000 credits/month | 5 requests/min | Monthly | Depends on endpoint credit cost |
| VedAstro | 15 requests/min | 15 requests/min | Per-minute rate limit | Low-throughput free access for light testing, not high-volume evaluation |
| VedicAstroAPI | 14-day free trial | Not clearly published for trial | Trial period | Trial rather than permanent request allowance |
| RoxyAPI | Playground/testing | No permanent free-plan limit published | Testing flow | No simple permanent free monthly quota published |
| AstroAPI | Free account/trial flow | Not clearly published for trial | Trial/account based | Paid plans publish monthly request limits |
为什么 FreeAstroAPI 的免费层好预算
Credit model 有灵活性,但真实成本难估:
- natal chart 和 PDF report 可能消耗不同 credits。
- Synastry、transit 或 batch endpoints 可能比 basic endpoints 更贵。
- free credit balance 可能比简单 request count 更快消耗完。
FreeAstroAPI 更直接:
- free tier 每天 80 requests。
- Entry 每月 50,000 requests。
- High 每月 500,000 requests。
- 每一层都包含 Hosted MCP access。
- request-per-second limits 清楚。
- hard throttling,而不是 surprise billing。
这适合 indie developers、SaaS prototypes、mobile apps、AI agent builders 和 MVP launches。
AI agents 和 MCP servers
2026 年,开发者不只是在 backend 调 astrology endpoints。他们也会连接:
- Claude Desktop and Claude Code。
- Cursor。
- VS Code agent workflows。
- OpenAI Agents SDK style tool calling。
- Custom MCP clients。
- Multi-step AI astrology chatbots。
关键是供应商是否支持 MCP,以及是否替你托管。
| API | MCP support | Remote/hosted MCP |
|---|---|---|
| FreeAstroAPI | Yes | Yes |
| RoxyAPI | Yes | Yes |
| AstrologyAPI | Yes | Yes |
| Astrology API | Yes | Yes |
| VedAstro | Yes | Yes/self-hostable options |
| AstroAPI | Partial | REST-first |
| VedicAstroAPI | AI Chat beta | Not clearly positioned as MCP |
| Free Astrology API | No published MCP | No |
| Prokerala | No published MCP | No |
什么是 remote MCP?
Remote MCP server 由 API provider 托管。你不需要运行 Docker、暴露 localhost 或维护自定义 tool server,可以直接让 AI client 连接 hosted MCP URL。
FreeAstroAPI 的配置模式:
{
"mcpServers": {
"freeastroapi": {
"url": "https://api.freeastroapi.com/mcp",
"headers": {
"x-api-key": "YOUR_API_KEY"
}
}
}
}MCP calls 使用和 REST 请求同一个 API key,也计入同一 plan limits。
Provider-by-provider notes
FreeAstroAPI
如果你想要 developer-first astrology API、可预测 pricing、覆盖面广和 AI-agent support,FreeAstroAPI 是默认好选择。公开文档覆盖 Western astrology、Vedic astrology、Chinese/BaZi、city search、Moon data、visual chart rendering 和 Hosted MCP。
适合你关心:
- Hosted MCP without self-hosting。
- Permanent free tier with request counts。
- Western、Vedic、Chinese/BaZi coverage。
- SVG/PNG chart rendering。
- Clear pricing from free to production tiers。
- AI apps that need deterministic astrology data before LLM interpretation。
AstrologyAPI
适合需要大型成熟 astrology suite 的团队,覆盖 Indian astrology、Western astrology、horoscope feeds、AI、PDF reports 和 enterprise-style workflows。它使用统一 credit wallet。
Tradeoff 是 credits 要建模。一个 "free credit" 不一定等于一个 production chart 或完整 user action。
AstroAPI
适合想要 modular Western-oriented API 的团队。其 pricing 发布了 full plans 和 individual modules,rate-limit docs 发布了 60、120、300、600 requests/min。
RoxyAPI
面向 AI-native multi-domain products。Astrology 只是其中一个 domain,旁边还有 Vedic、tarot、numerology、dreams、I-Ching、crystals、biorhythm、human design 等。它包含 remote MCP servers、starter apps、SDKs、UI components 和 agent-oriented docs。
如果你只需要 astrology,可能会为更大的 bundle 付费。
Astrology API
Astrology-api.io 是广泛 calculation catalog,50 free calls/month,付费从 $11/month 开始,含 standard endpoints、premium credit costs、chart rendering、AI interpretation 和 hosted MCP gateway。
部分高级功能按 multi-credit 计费,生产成本取决于 endpoint mix。
Free Astrology API
简单、低成本 JSON API,有 daily free allowance 和 paid tiers。pricing page 列出 50 requests/day free,然后是 Mercury、Venus、Saturn packages。
它看起来不是围绕 Hosted MCP、AI-agent discovery 或丰富 visual chart output 设计。
VedicAstroAPI
适合需要大 Vedic content ecosystem 的产品,包含 language coverage、PDF add-ons、Tarot/Western options 和 AI Chat beta。选择前请把具体 endpoint needs 对照 plan。
VedAstro
适合 open-source astrology builders 和 researchers。它有 MIT-licensed codebase、REST API、Python library、MCP server 和低成本 hosted tier。
Prokerala Astrology API
适合 Vedic、Panchang、matching、PDF report workflows。pricing 是 credit-based,free plan 为 5,000 credits/month 和 5 requests/min。
成本可预测性取决于你的 endpoint mix。
报告深度:页数不是字数
占星 PDF provider 常展示页数,但页数不等于内容深度。60 页 PDF 可能包含封面、chart wheels、legends、planetary tables、compatibility scores 或短的 aspect-by-aspect blocks。
FreeAstroAPI reports 的目标不同:8,000-9,000 word personalized narrative,返回 structured JSON 或 Markdown,方便你在 app 内渲染或生成自己的品牌 PDF。
| Provider sample reviewed | Pages | Extracted words | Content pattern |
|---|---|---|---|
| FreeAstroAPI natal report | 20 | ~9,555 | Dense personalized psychological narrative |
| AstrologyAPI solar return sample | 34 | ~9,315 | Charts, tables, and SR-to-natal aspect interpretation blocks |
| Astrology API.io weekly sample | 27 | ~2,447 | Visual weekly forecast with low text density |
| VedicAstroAPI large sample | 67 | ~12,675 | Vedic dossier with vargas, tables, remedies, and modules |
| VedicAstroAPI 12-month prediction sample | 62 | ~20,874 | Long month-by-month Vedic prediction content |
| Prokerala basic natal sample | 65 | ~8,744 | Vedic charts, tables, and aspect sections |
| Prokerala synastry sample | 39 | ~6,634 | Compatibility and aspect-heavy relationship report |
这些数字来自 public sample PDFs 和一个 FreeAstroAPI 生成报告的近似文本提取,不是每个报告类型的通用 benchmark。
按 use case 选择
| Use case | Best pick |
|---|---|
| AI astrology chatbot | FreeAstroAPI or RoxyAPI |
| Hosted MCP for astrology agents | FreeAstroAPI |
| Long-form personalized report generation | FreeAstroAPI |
| Low-cost MVP with predictable usage | FreeAstroAPI |
| Large Vedic content platform | VedicAstroAPI or Prokerala |
| Open-source research | VedAstro |
| Enterprise credit-wallet suite | AstrologyAPI |
| Western chart rendering and modular add-ons | AstroAPI |
| Broad calculation catalog with many specialty endpoints | Astrology API |
| Simple Vedic JSON API | Free Astrology API |
| Dating or compatibility app | FreeAstroAPI, Prokerala, or RoxyAPI depending on Western vs Vedic needs |
AI astrology products 的推荐 stack
多数 AI 占星 app 不应该是 "LLM only"。更安全的是 deterministic API first, LLM second。
流程:
- Collect birth date, time, and place.
- Resolve city, coordinates, and timezone.
- Call a deterministic astrology API.
- Store the raw chart JSON as the source of truth.
- Give only the relevant structured fields to the LLM.
- Ask the LLM to interpret, summarize, or answer from those fields.
- Do not let the LLM invent placements, degrees, aspects, dashas, or houses.
Clean JSON 和 Hosted MCP 有优势,因为 AI agents 可以调用真实计算工具,而不是从 prompt 中 hallucinate astrology math。
FAQ
2026 年最佳 astrology API 是什么?
对多数开发者,FreeAstroAPI 综合价值最好:可用 free tier、可预测 paid plans、Hosted MCP、Western astrology、Vedic astrology、Chinese/BaZi endpoints 和 visual chart rendering。
AI agents 最适合哪一个?
FreeAstroAPI 是 hosted astrology MCP 的默认首选,因为它提供 remote MCP server,并使用和 REST API 相同的 API key 与 limits。RoxyAPI 适合一个 subscription 覆盖多个 spiritual/metaphysical domains。
最好的 Vedic astrology API 是什么?
商业 Vedic content ecosystems 可以比较 VedicAstroAPI、Prokerala、AstrologyAPI 和 FreeAstroAPI。open-source Vedic research 和透明度方面,VedAstro 很强。
哪个 free tier 最好?
FreeAstroAPI 的 free tier 很实用:80 requests/day,daily reset。Free Astrology API 也提供 daily request model。credit-based providers 需要 endpoint-by-endpoint cost modeling。
应该用 astrology API,还是让 AI model 计算 charts?
用 astrology API 做计算,再让 AI model 解释返回数据。这样可以避免 hallucinated placements、timezone mistakes、house-system drift,以及错误 dasha 或 transit logic。
Sources checked
- FreeAstroAPI pricing
- FreeAstroAPI documentation
- FreeAstroAPI reports
- AstrologyAPI pricing
- AstrologyAPI MCP server
- AstrologyAPI solar return sample
- AstroAPI pricing
- AstroAPI rate limits
- RoxyAPI pricing
- RoxyAPI MCP docs
- Astrology API pricing
- Astrology API PDF reports
- Astrology API MCP gateway
- Free Astrology API pricing
- VedicAstroAPI pricing
- VedicAstroAPI PDF samples
- VedAstro API
- VedAstro open source
- Prokerala pricing
- Prokerala credit utilization
- Prokerala PDF reports