# Search Veterinary medicine registers

Search and read Veterinary medicine registers records through the Assyro API: animal medicines: FDA-approved animal drugs (Green Book, NADA/ANADA), FDA CVM…

Source: https://www.assyro.com/docs/sources/veterinary-products

`GET https://api.assyro.com/v1/sources/veterinary-products/search`

> **Note:** Preview: `api.assyro.com` is not serving production data yet. This page follows the API's published description and may change before launch.

Search and read Veterinary medicine registers records from your own code: animal medicines: FDA-approved animal drugs (Green Book, NADA/ANADA), FDA CVM FOI summaries, UK VMD authorisations and USDA-licensed veterinary biologics, cited by the authority's own identifier. Published by FDA CVM, UK Veterinary Medicines Directorate, USDA APHIS CVB ([animaldrugsatfda.fda.gov/adafda/views/#/search](https://animaldrugsatfda.fda.gov/adafda/views/#/search)); answered from Assyro's copy, refreshed daily 10:20 UTC.

> **Warning:** Attribution required: every record carries `attribution`. Show it wherever you show the data: "UK VMD records contain public sector information licensed under the Open Government Licence v3.0; FDA and USDA records are U.S. government works." See the [terms](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).

Example: "Which FDA-approved drugs contain carprofen for dogs?"

## Search

`GET https://api.assyro.com/v1/sources/veterinary-products/search` with any of these query parameters. Repeat a parameter for a list (`?phase=PHASE2&phase=PHASE3`). An unknown parameter is refused by name.

### Search parameters

| Field | Type | Required | Description |
|---|---|---|---|
| `register` | string | no | Search one register only. Omit for all four. One of: `green-book`, `fda-foi`, `uk-vmd`, `usda-cvb`. |
| `query` | string | no | Words that must all appear in the product name, substances, holder, species or identifier, e.g. "meloxicam dogs". |
| `product` | string | no | Product (trade) name, substring match, e.g. "Rimadyl". |
| `substance` | string | no | Active substance (or a biologic's agent), substring match, e.g. "carprofen" or "leptospira". |
| `species` | string | no | A target species, e.g. "dogs", "cattle", "chickens"; common synonyms match (canine, bovine, swine). |
| `holder` | string | no | Sponsor, authorisation holder or licensee, substring match, e.g. "Zoetis". |
| `identifier` | string | no | The authority's identifier: a NADA/ANADA number ("141-063"), a VM number ("08749/3072") or VMD product number ("A014424"), or a USDA product code ("2146.01"). |
| `status` | string | no | Status as the register words it, substring match, e.g. "approved", "withdrawn", "authorised", "suspended", "expired". |
| `country` | string | no | ISO two-letter country the record applies to: "US" (Green Book, FOI, USDA) or "GB" (VMD). |
| `authorisedFrom` | string | no | First approved, authorised or issued on or after this date, YYYY-MM-DD (records with no date are left out). |
| `authorisedTo` | string | no | On or before this date, YYYY-MM-DD. |
| `sort` | string | no | relevance (default: exact name matches first, current approvals before withdrawn or expired ones) or newest first approval first. One of: `relevance`, `newest`. |
| `limit` | integer | no | Records to return, default 8. total reports every match. |
| `offset` | integer | no | Skip this many results (for paging), default 0. |

Each result is a record; read one in full with [Get a record](https://www.assyro.com/docs/sources/veterinary-products/records).

## What a record holds

- `id`, `title`, `url`: the source's identifier, its title and its page at the source, to verify it.
- `authority`, `publishedDate`, `version`: who published it, when, and the edition read.
- `snippet` and `fields`: the matching text and the source's own fields.
- `asOf`: the day Assyro's copy of the source was read.
- `attribution`: the attribution the licence requires.

## Example request

curl:

```bash
curl "https://api.assyro.com/v1/sources/veterinary-products/search?register=green-book&substance=carprofen&species=dogs"
```

Python:

```python
import requests

response = requests.get(
    "https://api.assyro.com/v1/sources/veterinary-products/search",
    params={
        "register": "green-book",
        "substance": "carprofen",
        "species": "dogs"
    },
)
response.raise_for_status()
print(response.json())
```

JavaScript:

```javascript
const response = await fetch("https://api.assyro.com/v1/sources/veterinary-products/search?register=green-book&substance=carprofen&species=dogs");
const result = await response.json();
```
