Dev.to WebDev ๐Ÿ›  Dev ๐Ÿ‘ 0 ๐Ÿ“– 5 min read

My API Serves ~3,000 Devices a Day. I Can't Name a Single One of Them.

Yesterday my API served 10,015 requests. 20.7 MB. From 3,326 distinct clients. I can't name one of them. That's partly by design. mabims.dev is a free, keyless Hijri calendar API: no registration, no API keys, no acco

My API Serves ~3,000 Devices a Day. I Can't Name a Single One of Them.

Yesterday my API served 10,015 requests.

20.7 MB. From 3,326 distinct clients.

I can't name one of them.

That's partly by design. mabims.dev is a free, keyless Hijri calendar API: no registration, no API keys, no accounts. Anyone can call it, and nobody has to introduce themselves.

But I still wanted to know who was showing up. So I spent an evening reading CDN logs.

Here's what I found, and what I couldn't find at all.

What a CDN log actually gives you

Every request lands as one line. Twelve fields, pipe-separated:

HIT|200|1795823997554|981|6412375|2404:c0:702d:c634::|-|https://api.mabims.dev/api/v1/today|ID|Dalvik/2.1.0 (Linux; U; Android 16; SM-A065F Build/BP2A.250605.031.A3)|c564d6dd...|ID

Cache status. Status code. Timestamp. Bytes. Pull zone. Client IP. Referer. URL. Edge location. User agent. Request ID. Country.

That's the whole picture.

Three things it can't tell me

1. Who.

87% of my traffic sends this user agent:

Dalvik/2.1.0 (Linux; U; Android 16; SM-A065F Build/BP2A.250605.031.A3)

Dalvik/2.1.0 is the default UA of Android's HttpURLConnection. It's what you get when an app makes an HTTP call and doesn't set a UA. No app name. No package. No version.

So: roughly 3,000 Android devices call my API every day, and I have no idea what app I'm inside.

2. Real IPs.

Bunny masks IPv4 to the first three octets by default (182.12.226.0). Every "unique IP" count is really a unique /24. It's a floor, not a number.

3. Yesterday.

Logs are retained for 3 days. If I don't export them, they're gone.

The part that genuinely surprised me

I assumed I'd just add logging to my FastAPI app and see everything.

CDN Dashboard

A day in the Log Explorer. /api/v1/today dwarfs everything else: 8,627 requests.

Then I looked at the cache:

Endpoint Requests Served by cache Reached my origin
/api/v1/today 8,627 8,585 16
/api/v1/events 217 32 160
/api/v1/convert 222 200 15

Only 11% of all requests ever touched my server.

And the ones that did were the weird ones. The rare endpoints, the cache misses, the scans. If I had instrumented the app, I'd have seen 16 of 8,627 /today calls. Zero point two percent of the people using it, in the least representative slice possible.

That's the lesson I didn't expect:

The cache that keeps your origin alive is the same cache that hides your users from you.

88.8% cache hit ratio. Great for my bill. Terrible for introspection.

One footnote, because that dashboard will happily show you a different number. Bunny reports 96.8%, which is hits รท (hits + misses). It ignores expired entries entirely. The number I care about is 88.8%: the share of all requests that never touched my origin. Same data, two denominators.

(Traffic reads 22 MB there and 20.7 MB in my sums, for the same reason: their figure includes response headers, mine doesn't.)

What I could still infer

You can learn a lot from shape alone.

It's one endpoint. 3,162 of 3,175 clients call /api/v1/today and nothing else. It's not a full calendar app. It's something that needs today's date, and only today's date.

People open it once or twice a day. 1,800 clients made exactly one request. 575 made two. 266 made three.

It's not a cron job. If a script were polling on a schedule, requests would bunch at :00 and :30. The per-minute histogram is flat. 119 to 173 requests in every bucket. These are humans, opening something.

They're real phones. 1,154 distinct UA strings, and the Android build strings match the Android versions. Budget hardware, mostly: SM-A075F, SM-A055F, vivo 1904, CPH2269, Infinix X670.

And they're on Indonesian time. The hourly curve peaks at 04:00-06:00 WIB and again at 16:00-20:00, and drops to almost nothing between 23:00 and 03:00.

For a Hijri calendar, that's exactly the Subuh curve you'd hope for.

The cast I can actually see

Referer headers give me names:

  • sitahu.web.id and jam.sitahu.web.id
  • majelisalafaf.com
  • kajian.malangmengaji.com
  • peta-malangmengaji.web.app
  • sekayumengaji.web.id
  • quranyoyok.blogspot.com
  • quran.ziezan.id
  • pustaka.mta.or.id
  • a regency government dashboard in Aceh

Plus the ones that don't look like phones:

A Flutter app. Dart/3.10 (dart:io), 35 requests from 20 different IPs, calling /month?year=&month= and /year?year=. Different personality from the Dalvik client: it browses calendars, it doesn't just ask for today.

Something on a wall. One client sends Android 14; Smart TV Build/UKN2.241 on some requests and no user agent at all on others, polls /api/v1/today?tz=Asia/Jakarta&next=true about once an hour, and gets conditional 304s. That's a display. A masjid, an office, a lobby screen somewhere.

And a lot of crawlers. Baiduspider, Applebot, bingbot, YandexBot, OAI-SearchBot. All of them asking for /robots.txt, which returns 404 because I never wrote one. My fault, not theirs.

The bugs in my dashboard that aren't mine

153 requests a day return 400 on /api/v1/events?date=2026-11-27.

The endpoint takes year, not date. Somebody's frontend has been sending the wrong parameter all day, every day, and retrying in bursts of three.

My error graph was documenting someone else's bug.

One device made 129 identical calls to the same convert URL, 110 of them inside three minutes. A retry loop I can't fix, because I don't know where it is.

If you run a public API, your 4xx chart is a support channel you never signed up for.

What I'm taking away

Anonymous is a default, not a design choice. If you want to know your users, you have to decide before you launch and pay something for it. Full IPs need a DPA and a setting. Client identity needs TLS fingerprinting (JA4) or a header convention you ask people to send.

Cache and observability pull in opposite directions. 89% hit rate means 11% visibility. I'll take the hit rate.

87% concentration is flattering and fragile. One unnamed app is most of my traffic. If that developer ships a bug, I feel it. If they abandon it, I lose 87% overnight.

The boring wins dominate. A robots.txt. Accepting ?date= as an alias. A root URL that redirects to the docs instead of a 404. Those three things would have fixed a third of what annoyed me in this log.

So: hello?

If you're the Android app, the Flutter project, the screen on the wall, or the dashboard in Aceh, say hi in the comments. I'd like to thank you, and honestly, I'd like to not break your app by accident someday.

That's the whole point of a free API. It's better when I know who I'm keeping it up for.

Numbers are from one full day, 27 November 2026, from a bunny.net pull zone log. IPs are masked to /24 by the CDN, so "3,326 clients" is a floor. I can't prove the current growth is new users rather than an app update. The logs can't separate those either.

๐Ÿ“ฐ Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.