技
Snapcraft API
6 endpointsDeveloper & TechGlobalsocial:read5 real examples
Returns Snap Store listings: snap info with channel revisions, search results, categories, details and lookups by common id.
View as Markdown| GET | /snapcraft/info | One snap: its title, publisher, license and the revision of every channel. |
| GET | /snapcraft/find | Snaps in the Snap Store matching a search. |
| GET | /snapcraft/category | Snaps of one Snap Store category, such as games or development, in the order the store lists them. |
| GET | /snapcraft/details | One snap's public listing: description, categories, links, screenshots and store page. |
| GET | /snapcraft/byCommonId | The snaps that declare a desktop app's common id, such as org.mozilla.firefox. |
| GET | /snapcraft/publisher | The snaps one publisher has published in the Snap Store, such as the snaps of canonical. |
info
GET
/v1/snapcraft/infoOne snap: its title, publisher, license and the revision of every channel.
scope social:read1 unitcached 10 min
Parameters
namestring required | Snap name, such as firefox. e.g. firefox |
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
14 fields
channels | Channel[] |
architecture | string |
released | string |
revision | integer (int64) |
risk | string |
track | string |
version | string |
id | string |
license | string |
name | string |
publisher | string |
storeUrl | string |
summary | string |
title | string |
curl "https://api.hoshime.com/v1/snapcraft/info?name=firefox" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/snapcraft/info?name=firefox", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/snapcraft/info?name=firefox", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "channels": [ { "architecture": "amd64", "released": "2026-11-04T18:17:10.233486+00:00", "revision": 9171, "risk": "stable", "track": "latest", "version": "159.0.1-1" }, { "architecture": "arm64", "released": "2026-11-04T18:17:13.643581+00:00", "revision": 9170, "risk": "stable", "track": "latest", "version": "159.0.1-1" } ], "id": "3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk", "license": "MPL-2.0", "name": "firefox", "publisher": "Mozilla", "storeUrl": "https://snapcraft.io/firefox", "summary": "Mozilla Firefox web browser", "title": "firefox" }, "meta": { "cached": false, "endpoint": "info", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "snapcraft", "requestId": "req_2Xb9kQ…", "units": 1 } }
find
GET
/v1/snapcraft/findSnaps in the Snap Store matching a search.
scope social:read1 unitcached 30 minpaginated
Parameters
querystring required | Words to search for, such as firefox. e.g. firefox |
limitinteger | Items per page, 1 to 50. default 10 |
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
6 fields
id | string |
license | string |
name | string |
publisher | string |
summary | string |
title | string |
curl "https://api.hoshime.com/v1/snapcraft/find?query=firefox" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/snapcraft/find?query=firefox", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/snapcraft/find?query=firefox", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk", "license": "MPL-2.0", "name": "firefox", "publisher": "Mozilla", "summary": "Mozilla Firefox web browser", "title": "firefox" }, { "id": "BiCGRpgT302v2VbyFZjtk5QbWVNRMUOP", "license": "unset", "name": "firefox-kiosk", "publisher": "Connor Early", "summary": "firefox example kiosk", "title": "firefox-kiosk" } ], "meta": { "cached": false, "endpoint": "find", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "snapcraft", "requestId": "req_2Xb9kQ…", "units": 1 } }
category
GET
/v1/snapcraft/categorySnaps of one Snap Store category, such as games or development, in the order the store lists them.
scope social:read1 unitcached 30 minpaginated
Parameters
categorystring required | Category name, such as games, development or productivity. e.g. games |
limitinteger | Items per page, 1 to 50. default 10 |
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
6 fields
id | string |
license | string |
name | string |
publisher | string |
summary | string |
title | string |
curl "https://api.hoshime.com/v1/snapcraft/category?category=games" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/snapcraft/category?category=games", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/snapcraft/category?category=games", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "LPDZP2jWsSizNHoWrJnckPzVuNm8p2Ur", "license": "GPL-2.0+", "name": "0ad", "publisher": "Wildfire Games", "summary": "Real-time strategy game of ancient warfare", "title": "0ad" }, { "id": "ogcav3zrjqBXdDx8ofgJYMEPSLVRs9ID", "license": "GPL-2.0", "name": "dosbox-x", "publisher": "Snapcrafters", "summary": "DOSBox-X fork of the DOSBox project", "title": "DOSBox-X" } ], "meta": { "cached": false, "endpoint": "category", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "snapcraft", "requestId": "req_2Xb9kQ…", "units": 1 } }
details
GET
/v1/snapcraft/detailsOne snap's public listing: description, categories, links, screenshots and store page.
scope social:read1 unitcached 1 h
Parameters
namestring required | Snap name, such as firefox. e.g. firefox |
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
15 fields
categories | Category[] |
name | string |
description | string |
iconUrl | string |
license | string |
links | map |
name | string |
screenshots | Image[] |
height | any |
url | string |
width | any |
storeUrl | string |
summary | string |
title | string |
website | string |
curl "https://api.hoshime.com/v1/snapcraft/details?name=firefox" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/snapcraft/details?name=firefox", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/snapcraft/details?name=firefox", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "categories": [ { "name": "productivity" } ], "description": "Firefox is a powerful, extensible web browser with support for modern web application technologies.", "iconUrl": "https://dashboard.snapcraft.io/site_media/appmedia/2021/12/firefox_logo.png", "license": "MPL-2.0", "links": { "contact": [ { "url": "https://support.mozilla.org/kb/file-bug-report-or-feature-request-mozilla" } ], "website": [ { "url": "https://www.mozilla.org/firefox/" } ] }, "name": "firefox", "screenshots": [ { "height": 0, "url": "https://dashboard.snapcraft.io/site_media/appmedia/2021/09/Screenshot_from_2021-09-30_08-01-50.png", "width": 0 } ], "storeUrl": "https://snapcraft.io/firefox", "summary": "Mozilla Firefox web browser", "title": "firefox", "website": "https://www.mozilla.org/firefox/" }, "meta": { "cached": false, "endpoint": "details", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "snapcraft", "requestId": "req_2Xb9kQ…", "units": 1 } }
byCommonId
GET
/v1/snapcraft/byCommonIdThe snaps that declare a desktop app's common id, such as org.mozilla.firefox.
scope social:read1 unitcached 1 hpaginated
Parameters
commonIdstring required | Common id, such as org.mozilla.firefox. e.g. org.mozilla.firefox |
limitinteger | Items per page, 1 to 50. default 10 |
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
6 fields
id | string |
license | string |
name | string |
publisher | string |
summary | string |
title | string |
curl "https://api.hoshime.com/v1/snapcraft/byCommonId?commonId=org.mozilla.firefox" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/snapcraft/byCommonId?commonId=org.mozilla.firefox", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/snapcraft/byCommonId?commonId=org.mozilla.firefox", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk", "license": "", "name": "firefox", "publisher": "", "summary": "", "title": "" } ], "meta": { "cached": false, "endpoint": "byCommonId", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "snapcraft", "requestId": "req_2Xb9kQ…", "units": 1 } }
publisher
GET
/v1/snapcraft/publisherThe snaps one publisher has published in the Snap Store, such as the snaps of canonical.
scope social:read1 unitcached 30 minpaginated
Parameters
publisherstring required | Publisher username, such as canonical. e.g. canonical |
limitinteger | Items per page, 1 to 50. default 10 |
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
6 fields
id | string |
license | string |
name | string |
publisher | string |
summary | string |
title | string |
curl "https://api.hoshime.com/v1/snapcraft/publisher?publisher=canonical" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/snapcraft/publisher?publisher=canonical", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/snapcraft/publisher?publisher=canonical", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "abc123", "license": "…", "name": "…", "publisher": "…", "summary": "…", "title": "…" } ], "meta": { "cached": false, "endpoint": "publisher", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "snapcraft", "requestId": "req_2Xb9kQ…", "units": 1 } }