Skip to content
Developers & AI Agents

Build on Xrossways Solar content

Read-only, no-auth machine interfaces: a static JSON Content API, an OpenAPI 3.1 spec, llms.txt briefs, and Markdown content negotiation on every content page.

Read-only No API key OpenAPI 3.1 RFC 9457 errors

Content API endpoints

Unknown /api/* paths return HTTP 404 with application/problem+json; non-GET methods return 405. 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.

Deprecation policy: a superseded major keeps serving for at least 90 days with Deprecation: true and Sunset: <date> response headers plus a migration note here and in /openapi.json before removal. No version is currently deprecated.

Discovery files

Example requests

curl https://xrossways.com/api/v1/projects.json
curl -H "Accept: text/markdown" https://xrossways.com/blog/calculate-solar-roi-for-home/

Any content page (homepage, blog posts, projects, subsidies, FAQs) returns Markdown when requested with Accept: text/markdown, with Vary: Accept and a Link: rel="alternate" pointer on the HTML variant.

Error format

{
  "title": "Not Found",
  "status": 404,
  "code": "api_route_not_found",
  "detail": "No API resource at /api/unknown.",
  "resolution": "Use one of the documented paths in /openapi.json."
}

Contact: contact@xrossways.com · +91 70424 94276