---
id: "usb_vendor_id"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["software", "identifiers"]
langs: ["common"]
quality: 80
url: "https://registry.apicrafter.io/datatype/usb_vendor_id"
---

# USB vendor ID (VID) (`usb_vendor_id`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Identifier of a device manufacturer that the USB Implementers Forum assigns. It is written as four hexadecimal digits, sometimes with the prefix 0x, and together with the product ID tells an operating system which driver to load. PCI vendor IDs (pci_vendor_id) have the same form but come from another registry, so use the field name or context.

- Personal data (PII): no
- Categories: Software development (software), Universal unique identifiers (identifiers)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:0x)?[0-9A-Fa-f]{4}$
```

## Examples

- `05ac` — Apple
- `046d` — Logitech
- `0x04e8` — Samsung Electronics, with the prefix
- `5ac` (invalid example) — Leading zero lost

## Translations

- ru: Идентификатор производителя USB (VID)

## Sources

- other: <http://www.linux-usb.org/usb.ids>
- wikipedia: <https://en.wikipedia.org/wiki/USB_Implementers_Forum>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/usb_vendor_id.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/software/usb_vendor_id.yaml>
