LiquiChart API
SSR-friendly charts, polls, and living text. Fetch structured JSON server-side, render as native HTML. Google indexes everything.
Quick Start
npm install @liquichart/sdk
import { LiquiChart } from '@liquichart/sdk';
const lc = new LiquiChart({ apiKey: 'lc_live_...' });
// Fetch chart data for server-side rendering
const { data: chart } = await lc.charts.get('abc12345');
// Render as native HTML — Google indexes this
<h2>{chart.title}</h2>
<table>
{chart.data.map(d => (
<tr><td>{d.label}</td><td>{d.value}</td></tr>
))}
</table>Authentication
Two methods supported. Use API keys for server-to-server, OAuth for third-party apps.
API Keys
For server-side integrations. Create in Settings > API.
x-api-key: lc_live_...OAuth 2.0
For third-party apps. Authorization Code + PKCE.
Authorization: Bearer lc_at_...Rate Limits
| Plan | Per Minute | Per Day |
|---|---|---|
| Pro | 500 | 50,000 |
| Visionary | 2,000 | Unlimited |
Rate limit headers included on every response: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset