Skip to content

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/fruitOne fruit by name: family, order, genus and nutrition per 100 g.
GET/fruityvice/allEvery fruit the API knows, with its family and nutrition.
GET/fruityvice/familyThe fruits of one botanical family, such as Rosaceae.
GET/fruityvice/orderThe fruits of one botanical order, such as Rosales, with their family and nutrition.
GET/fruityvice/genusThe fruits of one botanical genus, such as Malus for apples.
GET/fruityvice/byIdOne fruit by its Fruityvice id.

fruit

GET/v1/fruityvice/fruit

One fruit by name: family, order, genus and nutrition per 100 g.

scope social:read1 unitcached 24 h

Parameters

name
string
required
Fruit name in English, such as apple. Case does not matter.
e.g. apple
tunnel
string
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.
proxy
string
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.
profileId
string
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
familystring
genusstring
idstring
namestring
nutritionNutrition
caloriesnumber (double)
carbohydratesnumber (double)
fatnumber (double)
proteinnumber (double)
sugarnumber (double)
orderstring
curl "https://api.hoshime.com/v1/fruityvice/fruit?name=apple" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/all

Every fruit the API knows, with its family and nutrition.

scope social:read1 unitcached 24 hpaginated

Parameters

tunnel
string
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.
proxy
string
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.
profileId
string
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
familystring
genusstring
idstring
namestring
nutritionNutrition
caloriesnumber (double)
carbohydratesnumber (double)
fatnumber (double)
proteinnumber (double)
sugarnumber (double)
orderstring
curl "https://api.hoshime.com/v1/fruityvice/all" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/family

The fruits of one botanical family, such as Rosaceae.

scope social:read1 unitcached 24 hpaginated

Parameters

family
string
required
Botanical family in Latin, such as Rosaceae.
e.g. Rosaceae
tunnel
string
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.
proxy
string
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.
profileId
string
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
familystring
genusstring
idstring
namestring
nutritionNutrition
caloriesnumber (double)
carbohydratesnumber (double)
fatnumber (double)
proteinnumber (double)
sugarnumber (double)
orderstring
curl "https://api.hoshime.com/v1/fruityvice/family?family=Rosaceae" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/order

The fruits of one botanical order, such as Rosales, with their family and nutrition.

scope social:read1 unitcached 24 hpaginated

Parameters

order
string
required
Botanical order in Latin, such as Rosales.
e.g. Rosales
tunnel
string
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.
proxy
string
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.
profileId
string
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
familystring
genusstring
idstring
namestring
nutritionNutrition
caloriesnumber (double)
carbohydratesnumber (double)
fatnumber (double)
proteinnumber (double)
sugarnumber (double)
orderstring
curl "https://api.hoshime.com/v1/fruityvice/order?order=Rosales" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/genus

The fruits of one botanical genus, such as Malus for apples.

scope social:read1 unitcached 24 hpaginated

Parameters

genus
string
required
Botanical genus in Latin, such as Malus.
e.g. Malus
tunnel
string
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.
proxy
string
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.
profileId
string
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
familystring
genusstring
idstring
namestring
nutritionNutrition
caloriesnumber (double)
carbohydratesnumber (double)
fatnumber (double)
proteinnumber (double)
sugarnumber (double)
orderstring
curl "https://api.hoshime.com/v1/fruityvice/genus?genus=Malus" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/byId

One fruit by its Fruityvice id.

scope social:read1 unitcached 24 h

Parameters

id
integer
required
Fruit id, such as 1 for banana.
e.g. 1
tunnel
string
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.
proxy
string
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.
profileId
string
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
familystring
genusstring
idstring
namestring
nutritionNutrition
caloriesnumber (double)
carbohydratesnumber (double)
fatnumber (double)
proteinnumber (double)
sugarnumber (double)
orderstring
curl "https://api.hoshime.com/v1/fruityvice/byId?id=1" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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
  }
}
esc
↑↓ move↵ open