Download API fields

{
  "meta": {
    "disclaimer": "openFDA is a beta research project and not for clinical use. While we make every effort to ensure that data is accurate, you should assume all results are unvalidated.",
    "license": "http://open.fda.gov/license",
    "last_updated": "2015-12-19"
  },
  "results": {
    "device": {
      "event": {
        "total_records": 33128,
        "export_date": "2015-12-19",
        "partitions": [
          {
            "size_mb": "0.56",
            "records": 795,
            "display_name": "2012 q2 (all)",
            "file": "http://download.open.fda.gov/device/event/2012q2/device-event-0001-of-0001.json.zip"
          },
          {
            "size_mb": "0.58",
            "records": 825,
            "display_name": "2012 q3 (all)",
            "file": "http://download.open.fda.gov/device/event/2012q3/device-event-0001-of-0001.json.zip"
          },
          {
            "…": "…"
          }
        ]
      }
    }
  }
}
  • meta
    string

    This section contains a disclaimer and license information. The field last_updated indicates when the data files were exported.

  • results
    string

    This section has an object for each of the openFDA nouns, and each of those has a child object for each endpoint. For example, for the device/event endpoint, there is a results.device.event object.

Endpoint

The following fields are present for each endpoint—e.g. results.device.event.

  • total_records
    number

    The total number of records in the endpoint.

  • export_date
    number

    The date when the data files for this endpoint were exported.

  • partitions
    array of objects

    The list of data files available for this endpoint. Each object in this list represents a single data file. Some categories have just one item in this list, but others have dozens of items.

Partitions

The following fields are present for each object in the partitions list. Remember that each object represents a single file available for download.

  • size_mb
    string

    The size of the file, in megabytes (MB).

  • records
    integer

    The number of records in this file.

  • file
    integer

    A URL at which the file can be accessed.