This API endpoint is specifically optimized for Framer's Fetch component. It provides all 24 Sekki data, the current active Sekki, and seasonal icons that change randomly with each request.
GET /api
Returns the current sekki, all 24 sekki, and seasonal icons in a Framer-friendly format.
{ "success": true, "current": { "id": 4, "name": { "japanese": "春分", "romaji": "Shunbun", "reading": "しゅんぶん" }, "season": "spring", "color": "#A8D193", "description": "Spring equinox. Day and night are of equal length.", "date": "March 21" }, "all": [ { "id": 1, "name": { "japanese": "立春", "romaji": "Risshun", "reading": "りっしゅん" }, "season": "spring", "color": "#D6E5A8", "description": "Beginning of spring. The east wind melts the ice.", "date": "February 4" }, ... ], "data": [ { "season": "spring", "icon": "flower", "iconDescription": "Blooming flower", "count": 6, "color": "#8BC48A" }, { "season": "summer", "icon": "sun", "iconDescription": "Hot summer sun", "count": 6, "color": "#32A0B5" }, { "season": "autumn", "icon": "leaf", "iconDescription": "Autumn leaf", "count": 6, "color": "#E6961A" }, { "season": "winter", "icon": "snowflake", "iconDescription": "Snowflake", "count": 6, "color": "#F26860" } ] }
To use this API in your Framer project:
https://your-vercel-deployment-url.vercel.app/api
You can access the Fetch component's data in your design using:
The API provides random seasonal icons that change with each request:
data[0].icon
data[1].icon
data[2].icon
data[3].icon
These are Lucide icon names that can be used directly in Framer with the Icon component.
If you see "Failed to fetch" errors:
The API includes 10 different icons for each season that are randomly selected on each request: