I Built the API GSMArena Never Had (Mobile Specs + DXOMark Data)
If youβve ever tried building anything around smartphone data, youβve probably hit this problem:
π There is no clean, usable API for mobile specs.
GSMArena has everything β but:
- no official API
- inconsistent structure
- scraping breaks easily
I ran into this while building my own apps, and after scraping the same data again and againβ¦
I decided to fix it properly.
π What I Built
A production-ready mobile specs API that provides:
- π± Structured smartphone specifications (GSMArena)
- πΈ Camera scores (DXOMark-style data)
- π Smart search with relevance scoring
- β‘ Fast responses using Redis + LRU caching
β‘ Quick Example
Instead of scraping pages manually, you can just call:
GET /phone?name=samsung%20s26%20ultra
After running locally:
π http://localhost:4000/phone?name=samsung%20s26%20ultra
Youβll get clean structured JSON instantly β no parsing required.
π What You Can Search
Try queries like:
- iphone 15 pro max
- pixel 8
- oneplus 12
- samsung s24 ultra
The API handles:
- fuzzy matching
- relevance scoring
- structured output
βοΈ Tech Stack
- TypeScript + Node.js
- Fastify (high-performance server)
- Redis (caching layer)
π₯ What Makes It Different
This is not just a scraper β itβs designed as a usable system.
1. Smart Caching System
- Redis + LRU cache
- Prevents repeated scraping
- Makes responses faster
2. Clean, Structured Output
Instead of raw HTML, you get:
- normalized JSON
- categorized specs
- consistent schema
3. Smarter Search
- Not basic string matching
- Uses scoring logic for better relevance
4. Built for Real Use
- Designed for actual projects
- Handles repeated queries efficiently
- Easy to integrate into apps
π οΈ Run It Locally
Clone and run:
git clone https://github.com/Sanjeevu-Tarun/gsmarena-dxomark-mobile-specs-api
cd gsmarena-dxomark-mobile-specs-api
npm install
npm run dev
Server runs at:
http://localhost:4000
Example:
http://localhost:4000/phone?name=iphone%2015
π§© Why I Built This
I was building apps like DeviceIntel and needed:
- reliable device data
- fast queries
- reusable backend
Instead of solving it repeatedly,
I built this API once β properly.
π‘ Where This Can Be Used
- Mobile comparison apps
- Tech dashboards
- AI recommendation systems
- Data analysis tools
π GitHub Repo
π https://github.com/Sanjeevu-Tarun/gsmarena-dxomark-mobile-specs-api
π Final Thoughts
Thereβs a clear gap in structured mobile data APIs β
this is my attempt to fill that gap.
If you find it useful:
β Star the repo
π¬ Share feedback
π Build something with it
For further actions, you may consider blocking this person and/or reporting abuse
