Skip to content

Laptop battery API

Free JSON endpoints for laptop battery lookups and for the 30 CrepdcM Windows apps. Our own apps use the same API. No key, no sign-up.

Find a battery

GET /api/v1/lookup

Pass a part number, a laptop, or both. You get the part number page, the laptop page and up to 8 matching batteries with voltage, capacity, cells and compatible models.

pnBattery part number, for example L11S6Y01
laptopMaker and model or machine type as Windows reports it, for example “LENOVO 80L0” or “HP Laptop 15-fd0xxx”
laptop_nameFriendly model name, for example “ThinkPad T480” (optional)
nameBattery device name as Windows reports it (optional)
makerBattery maker (optional)
whDesign capacity in watt-hours; batteries closest to it come first (optional)
srcA short name of your program, letters and digits (optional)

Try it: by part number · by laptop model

curl "https://crepdcm.com/api/v1/lookup?pn=L11S6Y01&src=myapp"

{
  "query": "L11S6Y01",
  "part": { "pn": "L11S6Y01", "url": "…", "battery_count": 10 },
  "laptop": null,
  "batteries": [
    { "title": "…", "part_number": "L11S6Y01", "voltage_v": 11.1,
      "capacity_wh": 58, "cells": 6, "top_models": ["…"], "url": "…" }
  ]
}

Windows apps

GET /api/v1/apps

All apps with version, page, Microsoft Store link and portable ZIP. Add ?group=battery or ?group=pc to filter.

GET /api/v1/apps/{app}

One app with its description, features, screenshots and the SHA-256 checksum of the ZIP. Handy for an update check.

Try it: all apps · No Battery Detected Fixer

curl "https://crepdcm.com/api/v1/apps/no-battery-detected-fixer"

{
  "slug": "no-battery-detected-fixer",
  "version": "1.0",
  "page_url": "…",
  "store": null,
  "download": { "url": "….zip", "bytes": 163215, "sha256": "…" }
}

Frequently asked questions

Do I need an API key?

No. The API is open for reading and works from a desktop program, a script or a web page (CORS is enabled).

Is there a limit?

The battery lookup accepts up to 60 requests per minute from one address. Responses may be cached for one hour, so please cache them too. Do not use the API to copy the whole database.

Can I use the results in my own app or site?

Yes, for lookups made by your users. Please link to the page URL in the response, so people can check the voltage, the connector and the fit notes before they order.

How do I check whether a CrepdcM app has an update?

Request /api/v1/apps/ followed by the app name from its page address, and compare the version field. The download block has the file size and the SHA-256 checksum of the portable ZIP.

Does the API return prices?

No. It returns specifications, part numbers and links to the matching pages.