HomeAboutServicesPricingDocsBlogContact Call +91 91610 19161 Call +91 81259 43396 Sign up Login
  1. Home
  2. Blog
  3. Engineering

Caching and daily limits: getting more from every API hit

EngineeringPublished Updated 5 min read
Cards explaining repeat lookups, cache hits and daily quota with a clock

Recharge traffic is repetitive: the same plan lists are requested again and again. A little caching on your side makes your platform faster and your daily plan go further.

What is safe to cache

DataSuggested cache timeWhy
Plan lists by operator and circle2 to 3 hoursIdentical for every subscriber in a circle
DTH plan lists4 to 6 hoursChanges rarely
Operator and circle for a numberUp to 24 hoursOnly changes when a number is ported
R-Offers for a numberAbout 10 minutesShort-lived and personal
DTH balance and billsDo not cacheMust always be current

How daily limits work

Your plan includes a fixed number of quota-counted hits per day across Operator & Circle Fetch, Plan Fetch, R-Offer Check and the DTH endpoints. The counter resets at midnight India time. When it is full, calls return a clear daily limit reached message instead of data. Bill fetch runs on a separate wallet-based track and the code list endpoints are free.

Monitor before it hurts

  • Call usageStatus once at start-up and show the remaining hits in your admin screen.
  • Alert your team at 80% of the daily limit.
  • Check the API usage report in your dashboard for the busiest endpoints.

Cache keys that work

Build the key from the exact request: plans:A:49 for operator A and circle 49. Never include the customer's mobile number in a plan key, otherwise you will cache the same list thousands of times.

A note on our side

To keep responses fast, repeated identical lookups can be answered from a short server-side cache. Your daily hits are counted the same way, so caching on your side is still the best way to save hits.

Frequently asked questions

When does the daily counter reset?

At midnight India time. Every quota-counted call adds one to the day's total.

Can I see how many hits I have left?

Yes. Call the free usageStatus endpoint or open your dashboard.

Ready to build?

Create an account, pick a plan and make your first call today. Every plan includes every endpoint.

Create account Read the docs

Keep reading