MCPcopy Index your code
hub / github.com/azharimm/phone-specs-api

github.com/azharimm/phone-specs-api @v2.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0.0 ↗ · + Follow
4 symbols 23 edges 20 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Phone Specifications API

The data is based on gsmarena site

1. List Brands

[ENDPOINT] /brands
[GET] http://api-mobilespecs.azharimm.tk/brands?page=2&limit=5&search=&sort=brand:desc

Query params

params desc required
page page of the data no
limit limit data being showed no
search search brand by query no
sort sorting data by field available no

2. List Phones

[ENDPOINT] /brands/{brand_slug}
[GET] http://api-mobilespecs.azharimm.tk/brands/samsung?page=2&limit=5&sort=brand:desc

Query params

params desc required
page page of the data no
limit limit data being showed no
sort sorting data by field available no

3. Phone Specifications

[ENDPOINT] /brands/{brand_slug}/{phone_slug}
[GET] http://api-mobilespecs.azharimm.tk/brands/samsung/galaxy-note20-ultra-5g

4. Search

[ENDPOINT] /search
[GET] http://api-mobilespecs.azharimm.tk/search?query= Galaxy Note

Query params

params desc required
query search query yes

4. Scrape

just in case there is a new data available in gsmarena or the data you need is not available yet on this api. you can scrape the data manually using this endpoint.

[ENDPOINT] /scrape
[GET] http://api-mobilespecs.azharimm.tk/scrape?url=https://www.gsmarena.com/samsung_galaxy_tab_s7+-10336.php

Query params

params desc required
url url page you want to scrape yes

Core symbols most depended-on inside this repo

Shape

Function 4

Languages

TypeScript100%

Modules by API surface

src/utils/response.js2 symbols
src/controllers/v2/specController.js1 symbols
src/controllers/scrapeController.js1 symbols

Datastores touched

brandsCollection · 1 repos
specsCollection · 1 repos
(mongodb)Database · 1 repos

For agents

$ claude mcp add phone-specs-api \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page