Back
ReliAPI
Request retries, caching, deduplication and circuit-breaking for any API
ReliAPI provides automatic retries, response caching, deduplication, and circuit-breaker logic for any HTTP API endpoint.
It handles transient failures, reduces load on downstream services, and improves response times through intelligent caching and request deduplication.
Problem
External APIs can be unreliable, slow, or rate-limited. Without proper handling, failures cascade and performance degrades.
When to use
Use ReliAPI when you need to call external APIs that may be unreliable, slow, or rate-limited. It automatically retries failed requests, caches responses, deduplicates identical requests, and prevents cascading failures with circuit breakers.
Input / Output
Input:HTTP request to any API endpoint
Output:Cached response if available, or retried request with circuit breaker protection
Example
cURL example
curl -X POST https://reliapi.kikuai.dev/api/proxy \
-H "Content-Type: application/json" \
-H "X-Target-URL: https://api.example.com/data" \
-d '{"key": "value"}'JavaScript example
const response = await fetch('https://reliapi.kikuai.dev/api/proxy', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-Target-URL': 'https://api.example.com/data'
},
body: JSON.stringify({ key: 'value' })
})
const data = await response.json()Try it now
curl -X POST https://kikuai.dev/api/demo/reliapi \
-H "Content-Type: application/json" \
-d '{"input": "your data here"}'