# Get a product code classification

Look up FDA's classification of a medical device product code: device type, class, regulation number, specialty and review panel.

Source: https://www.assyro.com/docs/api/fda-510k/classification

`POST https://api.assyro.com/v1/query` with `"operation": "device-510k.classification"`

> **Note:** Preview: `api.assyro.com` is not serving production data yet. Requests and responses on this page follow the published contract and may change before launch.

Returns FDA's classification of a product code. The fields are FDA's own, unchanged: the device class is a string such as `2`.

### Input

| Field | Type | Required | Description |
|---|---|---|---|
| `productCode` | string | yes | The three-letter product code, such as `FRN`. |

### data

| Field | Type | Required | Description |
|---|---|---|---|
| `productCode` | string | yes | The product code asked for. |
| `deviceType` | string or null | yes | The device type. |
| `deviceClass` | string or null | yes | The device class as FDA writes it. |
| `regulationNumber` | string or null | yes | The 21 CFR regulation number. |
| `medicalSpecialty` | string or null | yes | The medical specialty. |
| `reviewPanel` | string or null | yes | The review panel. |
| `definition` | string or null | yes | The device definition, when FDA provides one. |

## Example request

curl:

```bash
curl https://api.assyro.com/v1/query \
  -H "Content-Type: application/json" \
  -d '{
    "version": 1,
    "operation": "device-510k.classification",
    "input": {
      "productCode": "FRN"
    }
  }'
```

Python:

```python
import requests

response = requests.post(
    "https://api.assyro.com/v1/query",
    json={
      "version": 1,
      "operation": "device-510k.classification",
      "input": {
        "productCode": "FRN"
      }
    },
)
response.raise_for_status()
print(response.json())
```

JavaScript:

```javascript
const response = await fetch("https://api.assyro.com/v1/query", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "version": 1,
    "operation": "device-510k.classification",
    "input": {
      "productCode": "FRN"
    }
  }),
});
const result = await response.json();
```

## Example response (synthetic contract fixture)

```json
{
  "version": 1,
  "operation": "device-510k.classification",
  "data": {
    "productCode": "ABC",
    "deviceType": "Synthetic type",
    "deviceClass": "2",
    "regulationNumber": "880.0000",
    "medicalSpecialty": null,
    "reviewPanel": null,
    "definition": null
  },
  "sourceState": {
    "mode": "corpus",
    "availability": "available",
    "freshness": "unknown",
    "freshnessEvidence": null,
    "sourceRevision": null,
    "snapshotGeneratedAt": null,
    "lastSuccessfulSyncAt": null,
    "servedAt": "2026-09-22T12:00:00Z",
    "warnings": []
  }
}
```
