{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"19d6b14b-79e7-4d9a-a7c0-a609f3c75669","name":"Mushroom ID","description":"[Mushroom ID](https://mushroom.kindwise.com) is a machine learning-based service to identify fungi from images. To use the API you need to [get an API key](https://admin.kindwise.com).\n\nTo use API from **python**, use SDK: [kindwise API client](https://github.com/flowerchecker/kindwise-api-client).\n\n### How to use this documentation\n\nThis is a description of an important part of the API. The specification of the endpoints is given below. In the right column, you can find example calls of these endpoints (on the right you can toggle between different examples).\n\nYou can also open this [documentation directly on postman](https://www.postman.com/winter-shadow-932363/workspace/kindwise/collection/3802128-19d6b14b-79e7-4d9a-a7c0-a609f3c75669), where you can see endpoints and examples, and you can also try it out (after providing your API key).\n\nMore implementation examples can be found [here](https://github.com/flowerchecker/mushroom-id-examples).\n\n[Here](https://mushroom.kindwise.com/api/v1/openapi.yaml) is openAPI definition of this api.\n\n# Authentication\n\nYou should provide the `Api-Key` header with your API key. You can request it [here](https://admin.kindwise.com).\n\n# Identification request\n\nThere are two methods to create a new identification:\n\n1. using `application/json` request - all attributes including images are encoded in json body - see [the example](https://www.postman.com/winter-shadow-932363/workspace/kindwise/example/3802128-a2a0bf76-5e19-44d2-bef1-ba7152cc01e1)\n    \n2. using `multipart/form-data` request - attributes are sent in text fields; images are sent as files - see [the example](https://www.postman.com/winter-shadow-932363/workspace/kindwise/example/3802128-1ab93d08-e717-485b-914e-367ab072b27f)\n    \n\nAttributes:\n\n- **`images`**\n    \n    - `application/json`: a list of strings (required) - one or more images (encoded as strings in [Base64](https://base64.guru/converter/encode/image)) of the mushroom you want to identify\n        \n    - `multipart/form-data` - all images in file fields (names of file fields are not important)\n        \n- `latitude` - float (optional) - geographic coordinate, increases the identification accuracy\n    \n- `longitude` - float (optional) - geographic coordinate, increases the identification accuracy\n    \n- `similar_images` - boolean (optional) - if `true`, the model also selects images similar to the provided images for each suggestion\n    \n- `custom_id` - int (optional) - a unique identifier, can be used to access the identification results\n    \n- `datetime` - str (optional) - to improve results, e.g. for images taken at different seasons, specify the date when the images were taken in ISO format with variable precision (e.g. `2023-06-22` for days or `2023-06-22T11:28` for minutes)\n    \n\n# Identification result\n\nHere we comment on important parts of the result. For a complete example of the results see the response examples below.\n\n- `access_token` - a unique identifier of the identification, can be used to access the identification results\n    \n- `result`\\->`classification`\\->`suggestions` - predictions of the model containing [taxa](https://en.wikipedia.org/wiki/Taxon) (genus or species) suggestions and additional information; each `suggestion` consists of:\n    \n    - `id` - the id of the suggested taxon, which doesn't change over time\n        \n    - `name` - the name of the [taxon](https://en.wikipedia.org/wiki/Taxon) in our database (this name can change over time)\n        \n    - `probability` - the level of certainty that suggested taxon is the one in the image\n        \n    - `similar_images` - if `similar_images=true` is in request - list of representative images of the identified taxon carefully selected by the model to resemble the input image; the images may also contain license data that should be cited when using the image\n        \n    - `details` - additional info you requested, see below\n        \n- `result`\\->`is_mushroom` - prediction of the model about presence of a mushroom in the input images\n    \n    - `binary` - if `false` images probably do not contain a mushroom\n        \n    - `probability` - probability that images contain a mushroom - you can apply your own threshold\n        \n\n# Details\n\nThere is a list of additional information about mushrooms that you can get in identification result. To get specific information, include the detail's name in the GET parameters.\n\nThe default language is English; to get details in a different language include the language parameter in the GET parameters. ISO 639 two-letter language codes are used, except for Chinese where `zh` is Simplified Chinese and `zh-hant` is Traditional Chinese.\n\nSome details are **licensed**. If you want to use this detail, you should also cite the source.\n\nSome details are not available for all entities, if unavailable, `null` is returned.\n\n⚠️ We are not liable for damages or injury caused by actions based on inaccurate, misleading, incomplete or wrong information provided. This applies especially to `edibility` and `psychoactive` details.\n\nThis is a basic description of the available details. To see examples of return values and their exact format, see [this example](https://www.postman.com/winter-shadow-932363/workspace/kindwise/example/3802128-81c57b7c-cb83-4a73-8e9a-dfe02d6e48f2) with all details for a single language or [this example](https://www.postman.com/winter-shadow-932363/workspace/kindwise/example/3802128-416fcd26-4563-4418-971c-37ea421718ec) with multiple languages.\n\n- **`common_names`** - list of strings - _localized_ - local, non-scientific name\n    \n- **`url`** - string - _localized_ - link to mushroom profile page (usually Wikipedia); if localized page not available, an English one is provided\n    \n- **`description`** - string - _localized, licensed_ - short description from Wikipedia\n    \n- **`description_gpt`** \\- string - _localized_ - short description from GPT\n    \n- **`description_all`** - string - _localized, some with license_ - short description, combined\n    \n- **`edibility`** - string - one of 8 categories ranging from `choice`to `deadly`. Read more in the [Handbook](https://www.kindwise.com/handbook#edibility).\n    \n- **`psychoactive`** - bool - this mushroom causes poisoning that affects the nervous system\n    \n- **`characteristic`** - dict - morphological characteristics. Read more in the [Handbook](https://www.kindwise.com/handbook#characteristics).\n    \n- **`look_alike`** - list of dicts - mushrooms that are frequently confused with the suggested species; each taxon contains `entity_id`, `name` and `url`\n    \n- **`taxonomy`** - dict - scientific taxonomy\n    \n- **`rank`** - string - taxonomic rank\n    \n- **`gbif_id`** - int - id in [GBIF database](https://www.gbif.org)\n    \n- **`inaturalist_id`** - int - id in [iNaturalist database](https://www.inaturalist.org)\n    \n- **`image`** - string - _with license_ - url of representative image\n    \n- **`images`** - list - _with licenses_ - list of more urls of representative images\n    \n\n# Endpoints","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":true,"owner":"3802128","team":5102404,"collectionId":"19d6b14b-79e7-4d9a-a7c0-a609f3c75669","publishedId":"2s93kz55EY","public":true,"publicUrl":"https://documenter-api.postman.tech/view/3802128/2s93kz55EY","privateUrl":"https://go.postman.co/documentation/3802128-19d6b14b-79e7-4d9a-a7c0-a609f3c75669","customColor":{"top-bar":"ffb946","right-sidebar":"444444","highlight":"3e0022"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"Documentation for API of machine learning identification of mushrooms from images."},{"name":"title","value":""}],"appearance":{"default":"dark","themes":[{"name":"dark","logo":"https://content.pstmn.io/4015d680-07fd-4a21-8cfc-0577c2b80f54/bG9nby5saWdodC5wbmc=","colors":{"top-bar":"3e0022","right-sidebar":"444444","highlight":"ffb946"}},{"name":"light","logo":"https://content.pstmn.io/52964f06-a99e-44b2-960e-a14e8acb00ea/bG9nby5kYXJrLnBuZw==","colors":{"top-bar":"ffb946","right-sidebar":"444444","highlight":"3e0022"}}]}},"version":"8.10.1","publishDate":"2023-06-19T12:34:02.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":"Documentation for API of machine learning identification of mushrooms from images."},"logos":{"logoLight":"https://content.pstmn.io/52964f06-a99e-44b2-960e-a14e8acb00ea/bG9nby5kYXJrLnBuZw==","logoDark":"https://content.pstmn.io/4015d680-07fd-4a21-8cfc-0577c2b80f54/bG9nby5saWdodC5wbmc="}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/26f40c6e93a44c2dff2f36796f6c1fac72dfad0aae17cb25b5b7b4bff0441f95","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2s93kz55EY"}