List Equipment

GET https://backend.localbusiness.pro/api/v1/equipment

Returns a paginated list of equipment for the authenticated business, sorted by creation date (newest first).

Header Parameters

X-Public-Key string required

Your business public key. Used to identify which business is making the request.

X-Timestamp string required

Current Unix timestamp in seconds. Requests older than 5 minutes are rejected.

X-Signature string required

HMAC-SHA256 signature of the signing string: {timestamp}\n{METHOD}\n{path}\n{body}, using your private key as the secret.

Query Parameters

page integer

Page number (1-indexed).

per_page integer

Items per page (max 100). Default: 25.

status string

Filter by equipment status (e.g., available, assigned, maintenance, retired).

category string

Filter by equipment category (e.g., Power Tools, Vehicles).

Responses

200 Paginated list of equipment.
{
  "equipment": [
    {
      "id": "e5f6a7b8-c9d0-1234-efab-345678901234",
      "equipment_number": "EQ-00007",
      "name": "Pressure Washer 3000",
      "serial_number": "PW3K-2025-0042",
      "tracking_mode": "individual",
      "quantity": 1,
      "category": "Power Tools",
      "model": "PW-3000X",
      "manufacturer": "CleanForce",
      "status": "available",
      "purchase_date": "2025-06-15",
      "maintenance_interval_days": 90,
      "next_maintenance_date": "2026-04-15",
      "created_at": "2025-06-20T10:00:00.000000Z",
      "updated_at": "2026-01-15T08:30:00.000000Z"
    }
  ],
  "pagination": {
    "current_page": 1,
    "per_page": 25,
    "total_items": 23,
    "total_pages": 1
  }
}
401 Missing credentials, expired timestamp, or invalid signature.
{
  "error": "Invalid API credentials",
  "code": "INVALID_CREDENTIALS"
}
403 Business account exists but is not active.
{
  "error": "Business account is not active",
  "code": "ACCOUNT_INACTIVE"
}
429 Rate limit exceeded (60 requests/minute per key).
{
  "message": "Too Many Attempts."
}