If an active key is not passed, a maximum of 10 units of data will be returned. This allows the API to be evaluated.
Sending Credentials
Postman is a common tool for REST API development. The following illustrates how to send it with postman
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/09/image-4.png)
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/09/image-5.png)
Possible Response
Invalid credential are automatically converted to the trial account, so a 200 will be returned but with limited data
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/09/image-6.png)
If you have a valid account but without funds or after expiration, you will get a 402 response
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/09/image-7.png)
Modifier Types
List the groupings of microbiome modifiers being used.
- /api/modifiertypes
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-16.png)
Modifiers In A Type
List the modifiers in a particular type. Replace “A” below with appropriate key from above
- /api/modifiersByType?modifiertype=A
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-15.png)
Modifier Citations
List the citations for a specific modifier. Use the id specified above. Only Direct (C) citations are listed.
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-17.png)
Medical Conditions
/api/conditions
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/09/image-3.png)
Medical Condition Citations and Taxonomy
/api/conditionCitations?id=17
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/09/image-1.png)
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/09/image-2.png)
Bacteria (Taxonomy) Citations
List the citations for a specific bacteria. The NCBI Taxon numbers are used for the ID. Only Direct (C) citations are listed.
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-18.png)
One or more Specific Citation
A citation may occur that was NOT there on prior retrievals. Instead of download in bulk, use the following to obtain the delta.
- /api/citation?id=338
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-19.png)
- /api/citations?id=338,485
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-22.png)
One or more Modifier Citation
A modifier may occur that was NOT there on prior retrievals. Instead of download in bulk, use the following to obtain the delta.
- /api/modifier?id=338
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-20.png)
- /api/modifiers?id=338,564
![](https://blog.microbiomeprescription.com/wp-content/uploads/2021/08/image-21.png)
Recent Comments