KleurFlow API - Integrate Gradients in Your App
The standard for modern CSS gradients
REST API for Automation & Bulk Generation
Spin up gradient generation at scale. Our v2 REST endpoints return production-ready CSS, JSON, and SVG payloads with predictable latency under 45ms.
Authenticate via Bearer token. All requests must use HTTPS. Rate limits scale with your tier: 1,200 req/hr on Free, 15,000 req/hr on Pro, and dedicated queues for Enterprise contracts.
GET /v2/gradients/random
Fetch a single randomized gradient with optional color space constraints.
curl -X GET "https://api.kleurflow.dev/v2/gradients/random?stops=3&format=css" \
-H "Authorization: Bearer kf_live_8x92mQpL"
POST /v2/gradients/bulk
Generate up to 500 gradients in a single payload. Supports seed locking for reproducible batches.
curl -X POST "https://api.kleurflow.dev/v2/gradients/bulk" \
-H "Content-Type: application/json" \
-d '{"count": 25, "mode": "mesh", "seed": "alpha-9"}'
GET /v2/gradients/{id}/export
Retrieve a previously saved gradient in multiple formats (CSS, SCSS, Tailwind config, PNG).
curl -X GET "https://api.kleurflow.dev/v2/gradients/grad_7742/export?format=tailwind" \
-H "Authorization: Bearer kf_live_8x92mQpL"
Scale Your Integration
Start testing immediately with our sandbox environment. Switch to production keys when you're ready to handle live traffic.
API access is included in all paid tiers. Free developers get 1,200 requests per hour with standard attribution. Pro plans unlock bulk endpoints, webhook callbacks, and priority support. Enterprise SLAs guarantee 99.99% uptime and custom rate limits.