Klupt API docs

Caching

Answers go into a cache shared by every customer, kept for 15 minutes. When an identical request is already in flight, yours waits for it instead of fetching again.

  • A cached answer costs half the price: 0.5 credit instead of 1, or 1 instead of 2 for a following page. meta.credits_charged on every response says exactly what you paid.
  • The response tells you what you got: header X-Klupt-Cache: HIT or MISS, plus meta.cached and meta.cache_age_seconds.
  • Need it live? Add ?fresh=true or send Cache-Control: no-cache. That call costs the full credit.
  • Nothing from Instagram is stored longer than the cache lifetime.

Updated 2026-11-29 · Markdown · Questions? [email protected]