知
Fruityvice API
6 endpointsSearch & KnowledgeGlobalsocial:read6 real examples
Returns fruits with botanical family, order, genus and nutrition values per 100 g.
View as Markdown| GET | /fruityvice/fruit | One fruit by name: family, order, genus and nutrition per 100 g. |
| GET | /fruityvice/all | Every fruit the API knows, with its family and nutrition. |
| GET | /fruityvice/family | The fruits of one botanical family, such as Rosaceae. |
| GET | /fruityvice/order | The fruits of one botanical order, such as Rosales, with their family and nutrition. |
| GET | /fruityvice/genus | The fruits of one botanical genus, such as Malus for apples. |
| GET | /fruityvice/byId | One fruit by its Fruityvice id. |
fruit
GET
/v1/fruityvice/fruitOne fruit by name: family, order, genus and nutrition per 100 g.
scope social:read1 unitcached 24 h
Parameters
namestring required | Fruit name in English, such as apple. Case does not matter. e.g. apple |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
family | string |
genus | string |
id | string |
name | string |
nutrition | Nutrition |
calories | number (double) |
carbohydrates | number (double) |
fat | number (double) |
protein | number (double) |
sugar | number (double) |
order | string |
curl "https://api.hoshime.com/v1/fruityvice/fruit?name=apple" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/fruityvice/fruit?name=apple", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/fruityvice/fruit?name=apple", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "family": "Rosaceae", "genus": "Malus", "id": "6", "name": "Apple", "nutrition": { "calories": 52, "carbohydrates": 11.4, "fat": 0.4, "protein": 0.3, "sugar": 10.3 }, "order": "Rosales" }, "meta": { "cached": false, "endpoint": "fruit", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "fruityvice", "requestId": "req_2Xb9kQ…", "units": 1 } }
all
GET
/v1/fruityvice/allEvery fruit the API knows, with its family and nutrition.
scope social:read1 unitcached 24 hpaginated
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
family | string |
genus | string |
id | string |
name | string |
nutrition | Nutrition |
calories | number (double) |
carbohydrates | number (double) |
fat | number (double) |
protein | number (double) |
sugar | number (double) |
order | string |
curl "https://api.hoshime.com/v1/fruityvice/all" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/fruityvice/all", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/fruityvice/all", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "family": "Ebenaceae", "genus": "Diospyros", "id": "52", "name": "Persimmon", "nutrition": { "calories": 81, "carbohydrates": 18, "fat": 0, "protein": 0, "sugar": 18 }, "order": "Rosales" }, { "family": "Rosaceae", "genus": "Fragaria", "id": "3", "name": "Strawberry", "nutrition": { "calories": 29, "carbohydrates": 5.5, "fat": 0.4, "protein": 0.8, "sugar": 5.4 }, "order": "Rosales" } ], "meta": { "cached": false, "endpoint": "all", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "fruityvice", "requestId": "req_2Xb9kQ…", "units": 1 } }
family
GET
/v1/fruityvice/familyThe fruits of one botanical family, such as Rosaceae.
scope social:read1 unitcached 24 hpaginated
Parameters
familystring required | Botanical family in Latin, such as Rosaceae. e.g. Rosaceae |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
family | string |
genus | string |
id | string |
name | string |
nutrition | Nutrition |
calories | number (double) |
carbohydrates | number (double) |
fat | number (double) |
protein | number (double) |
sugar | number (double) |
order | string |
curl "https://api.hoshime.com/v1/fruityvice/family?family=Rosaceae" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/fruityvice/family?family=Rosaceae", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/fruityvice/family?family=Rosaceae", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "family": "Rosaceae", "genus": "Fragaria", "id": "3", "name": "Strawberry", "nutrition": { "calories": 29, "carbohydrates": 5.5, "fat": 0.4, "protein": 0.8, "sugar": 5.4 }, "order": "Rosales" }, { "family": "Rosaceae", "genus": "Pyrus", "id": "4", "name": "Pear", "nutrition": { "calories": 57, "carbohydrates": 15, "fat": 0.1, "protein": 0.4, "sugar": 10 }, "order": "Rosales" } ], "meta": { "cached": false, "endpoint": "family", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "fruityvice", "requestId": "req_2Xb9kQ…", "units": 1 } }
order
GET
/v1/fruityvice/orderThe fruits of one botanical order, such as Rosales, with their family and nutrition.
scope social:read1 unitcached 24 hpaginated
Parameters
orderstring required | Botanical order in Latin, such as Rosales. e.g. Rosales |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
family | string |
genus | string |
id | string |
name | string |
nutrition | Nutrition |
calories | number (double) |
carbohydrates | number (double) |
fat | number (double) |
protein | number (double) |
sugar | number (double) |
order | string |
curl "https://api.hoshime.com/v1/fruityvice/order?order=Rosales" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/fruityvice/order?order=Rosales", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/fruityvice/order?order=Rosales", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "family": "Ebenaceae", "genus": "Diospyros", "id": "52", "name": "Persimmon", "nutrition": { "calories": 81, "carbohydrates": 18, "fat": 0, "protein": 0, "sugar": 18 }, "order": "Rosales" }, { "family": "Rosaceae", "genus": "Fragaria", "id": "3", "name": "Strawberry", "nutrition": { "calories": 29, "carbohydrates": 5.5, "fat": 0.4, "protein": 0.8, "sugar": 5.4 }, "order": "Rosales" } ], "meta": { "cached": false, "endpoint": "order", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "fruityvice", "requestId": "req_2Xb9kQ…", "units": 1 } }
genus
GET
/v1/fruityvice/genusThe fruits of one botanical genus, such as Malus for apples.
scope social:read1 unitcached 24 hpaginated
Parameters
genusstring required | Botanical genus in Latin, such as Malus. e.g. Malus |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
family | string |
genus | string |
id | string |
name | string |
nutrition | Nutrition |
calories | number (double) |
carbohydrates | number (double) |
fat | number (double) |
protein | number (double) |
sugar | number (double) |
order | string |
curl "https://api.hoshime.com/v1/fruityvice/genus?genus=Malus" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/fruityvice/genus?genus=Malus", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/fruityvice/genus?genus=Malus", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "family": "Rosaceae", "genus": "Malus", "id": "72", "name": "GreenApple", "nutrition": { "calories": 21, "carbohydrates": 3.1, "fat": 0.1, "protein": 0.4, "sugar": 6.4 }, "order": "Rosales" }, { "family": "Rosaceae", "genus": "Malus", "id": "6", "name": "Apple", "nutrition": { "calories": 52, "carbohydrates": 11.4, "fat": 0.4, "protein": 0.3, "sugar": 10.3 }, "order": "Rosales" } ], "meta": { "cached": false, "endpoint": "genus", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "fruityvice", "requestId": "req_2Xb9kQ…", "units": 1 } }
byId
GET
/v1/fruityvice/byIdOne fruit by its Fruityvice id.
scope social:read1 unitcached 24 h
Parameters
idinteger required | Fruit id, such as 1 for banana. e.g. 1 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
family | string |
genus | string |
id | string |
name | string |
nutrition | Nutrition |
calories | number (double) |
carbohydrates | number (double) |
fat | number (double) |
protein | number (double) |
sugar | number (double) |
order | string |
curl "https://api.hoshime.com/v1/fruityvice/byId?id=1" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/fruityvice/byId?id=1", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/fruityvice/byId?id=1", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "family": "Musaceae", "genus": "Musa", "id": "1", "name": "Banana", "nutrition": { "calories": 96, "carbohydrates": 22, "fat": 0.2, "protein": 1, "sugar": 17.2 }, "order": "Zingiberales" }, "meta": { "cached": false, "endpoint": "byId", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "fruityvice", "requestId": "req_2Xb9kQ…", "units": 1 } }