Automatic caching
Redis cache with a 2-hour TTL. The site loads instantly, without hitting the Instagram API on every visit.
A single fetch() call returns the Instagram posts of the connected
account. No SDK, no iframe, no forced layout — you build the HTML exactly as your design demands.
Redis caching · automatic token renewal · per-domain CORS
You receive an array of posts with everything you need to render — id, caption, media_url, permalink, and timestamp. The rest is up to your CSS.
const res = await fetch(
'https://luck.app.br/api/v1/widget/feed/CLIENT_ID?limit=12'
);
const { data } = await res.json();
// data: [{ id, caption, media_type, media_url, permalink, timestamp }]
data.forEach(post => /* build the HTML however you want */);
You connect, authorize the domain, and consume. No build step, no third-party dependencies.
You register the client and send them a secure link. They click, authorize Instagram in seconds, and the connection is saved.
Enter the domain of the client's website. The API only responds to authorized origins — no other site can use their token.
A simple fetch() returns the JSON with the posts. Build the layout you want, with no forced CSS or HTML.
The cards below are loaded in real time with a single fetch() call to our API.
Authentication pending
This client has not connected their Instagram account yet. After authentication, the real feed will automatically replace the placeholder cards.
The annoying parts — tokens, cache, security — are already solved. You just focus on the layout.
Redis cache with a 2-hour TTL. The site loads instantly, without hitting the Instagram API on every visit.
A daily cron job renews access tokens before they expire. No manual intervention, no loss of access.
Each client has their own authorized domains. The API rejects requests from unregistered origins.
Manage multiple clients in a single infrastructure. Each with their own Instagram account and isolated domains.
No HTML, no forced CSS. You receive the raw data and build the layout exactly as your design demands.
PostgreSQL + Redis + Node in Docker. No reliance on third-party widget SaaS. Your data, under your control.
Tell us which client you want to connect — we will return their feed in JSON in minutes.