Build on Xrossways Solar content
Read-only, no-auth machine interfaces: a static JSON Content API, an OpenAPI 3.1 spec, and llms.txt briefs.
Content API endpoints
-
listProjects — Installation case studies: location, system size, savings, specs.
-
listBlogPosts — Articles with full markdown content, author, date, tags.
-
getSubsidyData — PM Surya Ghar tiers plus per-state subsidies and net-metering rules.
-
listFaqs — Categorized solar FAQs with questions and answers.
-
listPricingTiers — Package pricing, subsidy eligibility, net cost, payback specs.
-
getSolutionQuiz — Find-Your-Solution quiz questions and recommendation rules.
Unknown /api/* paths serve the static 404 page. Static files carry no enforced rate limits.
Versioning: /api/v1/ is current. Breaking changes ship as a new /api/vN/ path while the previous major stays available; unversioned /api/*.json aliases track the current major for compatibility.
Discovery files
- /openapi.json OpenAPI 3.1 spec — Typed schemas + unique operationIds
- /llms.txt llms.txt overview — Concise brief incl. when-to-use guidance
- /llms-full.txt llms-full.txt — Complete site content in markdown
- /sitemap.xml XML sitemap — All indexable URLs with lastmod
- /robots.txt robots.txt — AI crawlers explicitly allowed
Example requests
curl https://xrossways.com/api/v1/projects.json curl https://xrossways.com/openapi.json
Machine-readable content also lives in /llms.txt, /llms-full.txt, and /sitemap.xml.
Unknown paths
HTTP/1.1 404 Not Found The static host serves the custom 404 page for unknown paths, including unknown /api/* paths. Check /openapi.json for the documented endpoints.
Contact: contact@xrossways.com · +91 70424 94276