openapi: 3.0.3 info: title: openFDA Animal & Veterinary Other API description: openFDA is an Elasticsearch-based public API serving FDA data on drugs, devices, foods, animal/veterinary products, and tobacco. Each noun exposes one or more categories (adverse events, recall enforcement reports, labeling, classification, registration, etc.). version: '1.0' contact: name: openFDA url: https://open.fda.gov/apis email: open@fda.hhs.gov license: name: CC0 1.0 Universal (Public Domain Dedication) url: https://creativecommons.org/publicdomain/zero/1.0/ servers: - url: https://api.fda.gov description: openFDA production API security: - apiKeyQuery: [] - {} tags: - name: Other description: Cross-cutting datasets (NSDE, substance, harmonized). paths: /other/nsde.json: get: tags: - Other summary: National Drug Code SPL Data Elements (NSDE) operationId: searchNSDE parameters: - $ref: '#/components/parameters/Search' - $ref: '#/components/parameters/Sort' - $ref: '#/components/parameters/Count' - $ref: '#/components/parameters/Limit' - $ref: '#/components/parameters/Skip' responses: '200': $ref: '#/components/responses/SearchResults' /other/substance.json: get: tags: - Other summary: Substance data operationId: searchSubstance parameters: - $ref: '#/components/parameters/Search' - $ref: '#/components/parameters/Sort' - $ref: '#/components/parameters/Count' - $ref: '#/components/parameters/Limit' - $ref: '#/components/parameters/Skip' responses: '200': $ref: '#/components/responses/SearchResults' /other/historicaldocument.json: get: tags: - Other summary: Historical FDA documents operationId: searchHistoricalDocuments parameters: - $ref: '#/components/parameters/Search' - $ref: '#/components/parameters/Sort' - $ref: '#/components/parameters/Count' - $ref: '#/components/parameters/Limit' - $ref: '#/components/parameters/Skip' responses: '200': $ref: '#/components/responses/SearchResults' components: parameters: Limit: name: limit in: query description: Maximum number of records to return (max 1000). required: false schema: type: integer minimum: 1 maximum: 1000 default: 1 Sort: name: sort in: query description: Field to sort by, with optional direction (e.g. `receivedate:desc`). required: false schema: type: string Count: name: count in: query description: Field to count occurrences against (returns aggregated terms). required: false schema: type: string Skip: name: skip in: query description: Number of records to skip for pagination (max 25,000). required: false schema: type: integer minimum: 0 maximum: 25000 default: 0 Search: name: search in: query description: Lucene-style search expression scoped to the dataset's fields. required: false schema: type: string example: receivedate:[2024-01-01+TO+2024-12-31] responses: SearchResults: description: Successful query result. content: application/json: schema: $ref: '#/components/schemas/SearchResponse' schemas: SearchResponse: type: object properties: meta: $ref: '#/components/schemas/Meta' results: type: array items: type: object additionalProperties: true Meta: type: object properties: disclaimer: type: string terms: type: string format: uri license: type: string format: uri last_updated: type: string format: date results: type: object properties: skip: type: integer limit: type: integer total: type: integer securitySchemes: apiKeyQuery: type: apiKey in: query name: api_key description: 'Free openFDA API key (obtain at https://open.fda.gov/apis/authentication/). Without a key: 240 req/min and 1,000 req/day per IP. With a key: 240 req/min and 120,000 req/day per key.'