Public JSON API
Free, CORS-open JSON API for AI model pricing, ROI calculator math, and 2026 AI-economy benchmark data. No auth, no rate limit (fair-use, please cache). CC-BY-4.0 — link back to the canonical page when you embed.
Endpoints
GET https://aieconomyhub.co/api/page— index of every calculator (slug, title, description, category, URLs).GET https://aieconomyhub.co/api/page/{slug}— full structured payload for one calculator: title, category, FAQs, HowTo schema, Dataset definition, related tools.GET https://aieconomyhub.co/api/llms.txt— LLM-discoverable plain-text entry point listing every endpoint.GET https://aieconomyhub.co/api/openapi.yaml— OpenAPI 3.1 machine-readable spec (use with openapi-generator, orval, etc.).
Sample response
{
"slug": "chatgpt-vs-claude-vs-gemini",
"title": "ChatGPT vs Claude vs Gemini (2026) — Side-by-Side ...",
"h1": "ChatGPT vs Claude vs Gemini — 2026 comparison",
"shortTitle": "ChatGPT vs Claude vs Gemini",
"description": "...",
"url": "https://aieconomyhub.co/chatgpt-vs-claude-vs-gemini",
"apiUrl": "https://aieconomyhub.co/api/page/chatgpt-vs-claude-vs-gemini",
"category": { "id": "models", "label": "Models & Pricing" },
"kind": "comparison",
"top": true,
"lastUpdated": "2026-06-21",
"faqs": [...],
"howto": null,
"dataset": {...},
"relatedTools": [...],
"attribution": {
"canonicalUrl": "https://aieconomyhub.co/chatgpt-vs-claude-vs-gemini",
"requirement": "Free to use. Please link back...",
"license": "CC-BY-4.0 (attribution required)"
}
}Caching
Responses set Cache-Control: public, s-maxage=3600, stale-while-revalidate=86400. Please respect the cache — re-fetching every minute is rude and we’re a free service.
CORS
Access-Control-Allow-Origin: * on every endpoint. Use from any origin.
Attribution
Every response carries an attribution object with the canonical URL, the license (CC-BY-4.0), and the asked link text. When you embed any value (a price, a benchmark, an FAQ answer), please link back to attribution.canonicalUrl.
Related
- /llms.txt — site-level LLM citation guide
- /methodology — how we source and verify the data
- /data-sources — every primary source URL referenced on the site