CheckWarranty.info
API & IntegrationMarch 25, 2026•6 min read

Automating Hardware Audits via REST API: Python & cURL Guide for ITADs and Resellers

Integrate multi-brand warranty verification and hardware spec decoding directly into your warehouse management (WMS) or ERP system with our unified REST API.

Processing Time
90 Sec
per pallet intake vs 4 hours
Unified REST API
4 Vendors
Lenovo, Dell, HP, Apple
HP PN Recovery
Auto-Resolved
resolves missing #ABA suffixes
Availability
Varies by manufacturer
managed failover & queues
checkwarranty-api-client
curl -X POST https://checkwarranty.info/api/v1/scan/single \
  -H "Authorization: Bearer cw_live_xxxxxxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "serial": "PF2B9XYZ",
    "brand": "lenovo"
  }'
HTTP 200 OK • Response Body
{
  "status": "success",
  "data": {
    "serial": "PF2B9XYZ",
    "brand": "lenovo",
    "model": "ThinkPad T14 Gen 2 (Type 20W0)",
    "warrantyStatus": "ACTIVE",
    "endDate": "2026-04-11",
    "daysRemaining": 359,
    "entitlement": "Premier Support Onsite NBD",
    "specs": {
      "cpu": "Intel Core i7-1185G7",
      "ram": "16GB DDR4-3200",
      "storage": "512GB SSD PCIe NVMe"
    }
  }
}
Live Demo Scanner

Test Any Serial Number Right Here

No sign-up required: instant preview of factory bill-of-materials and warranty tier.

Quick Samples:
PF2B9XYZ• LenovoThinkPad T14 Gen 2 (Type 20W0)
ACTIVE359 days left
Processor (CPU)
Intel Core i7-1185G7 vPro
Memory (RAM)
16GB DDR4-3200
Storage (SSD)
512GB PCIe NVMe M.2 2280
Entitlement
Premier Support Onsite NBD
2026-04-11

Why In-House Scrapers Fail & The Need for a Unified Hardware API

Many IT asset disposition (ITAD) firms and electronics resellers initially try building custom web scrapers to check warranties on vendor portals. Within weeks, these scripts break due to:

  • Enterprise Web Application Firewalls (WAF): Akamai Bot Manager, Cloudflare Turnstile, and PerimeterX actively block headless browsers and rotating proxies.
  • Incompatible Brand Schemas: Lenovo requires 8-character serials and MTM codes; Dell uses 7-character Service Tags; HP requires both Serial Number and Product Number (-#ABA); Apple requires 10–12 alphanumeric characters.
  • Constant DOM & API Churn: Vendor frontend updates frequently invalidate CSS selectors and undocumented internal API endpoints.

CheckWarranty replaces this fragile maintenance overhead with a single, highly available Unified REST API that standardizes warranty and hardware specs across all major brands into a predictable JSON schema.

Authentication & API Key Configuration

All API requests authenticate using standard Bearer Token authorization. You can generate production and sandbox API keys directly in your Developer Dashboard.

unknown node

Quickstart: Checking a Single Device via cURL

To verify a single serial number (with brand auto-detection enabled), issue a POST request to /api/v1/scan/single:

unknown node

The API responds with a structured JSON object containing normalized warranty dates, entitlement tier, and parsed hardware specifications:

unknown node

Production Integration: Python Script for Bulk Warehouse Ingestion

In high-volume warehouse environments, you can submit batches of up to 500 serials at once and poll for completion asynchronously:

unknown node

Zero-Risk Billing SLA & HP Product Number Recovery

Our API is built specifically for enterprise warehouse workflows:

  • Zero-Risk Credit SLA: Credits are deducted only when a verified entitlement record is returned. If a serial number is invalid or cannot be found, the item returns a 404 status with exactly 0 credits charged.
  • Automatic HP PN Recovery: HP queries typically require a Product Number (e.g., 20J39UT#ABA). If omitted, our engine performs automated reverse PN resolution without failing the lookup.
  • Webhooks & Streaming: Receive real-time HTTP callbacks upon batch completion to trigger downstream ERP grading workflows automatically.

Start Building with 10 Free API Credits

Create your developer account now, generate your API key, and test your first requests with 10 free scans.

Generate API Key in Developer Dashboard →

Tags

#REST API#Python#Automation#WMS#ERP#cURL#ITAD
10 Free Checks on Sign Up

Ready for Bulk Warranty Audits?

Check warranty coverage, entitlement dates, and hardware specifications across Lenovo, Dell, HP, and Apple in seconds. Zero-Risk Guarantee: 0 credits deducted for missing serials.

No credit card required•Instant Excel export