Skip to content

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/infoOne snap: its title, publisher, license and the revision of every channel.
GET/snapcraft/findSnaps in the Snap Store matching a search.
GET/snapcraft/categorySnaps of one Snap Store category, such as games or development, in the order the store lists them.
GET/snapcraft/detailsOne snap's public listing: description, categories, links, screenshots and store page.
GET/snapcraft/byCommonIdThe snaps that declare a desktop app's common id, such as org.mozilla.firefox.
GET/snapcraft/publisherThe snaps one publisher has published in the Snap Store, such as the snaps of canonical.

info

GET/v1/snapcraft/info

One snap: its title, publisher, license and the revision of every channel.

scope social:read1 unitcached 10 min

Parameters

name
string
required
Snap name, such as firefox.
e.g. firefox
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

14 fields
channelsChannel[]
architecturestring
releasedstring
revisioninteger (int64)
riskstring
trackstring
versionstring
idstring
licensestring
namestring
publisherstring
storeUrlstring
summarystring
titlestring
curl "https://api.hoshime.com/v1/snapcraft/info?name=firefox" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/find

Snaps in the Snap Store matching a search.

scope social:read1 unitcached 30 minpaginated

Parameters

query
string
required
Words to search for, such as firefox.
e.g. firefox
limit
integer
Items per page, 1 to 50.
default 10
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

6 fields
idstring
licensestring
namestring
publisherstring
summarystring
titlestring
curl "https://api.hoshime.com/v1/snapcraft/find?query=firefox" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/category

Snaps of one Snap Store category, such as games or development, in the order the store lists them.

scope social:read1 unitcached 30 minpaginated

Parameters

category
string
required
Category name, such as games, development or productivity.
e.g. games
limit
integer
Items per page, 1 to 50.
default 10
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

6 fields
idstring
licensestring
namestring
publisherstring
summarystring
titlestring
curl "https://api.hoshime.com/v1/snapcraft/category?category=games" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/details

One snap's public listing: description, categories, links, screenshots and store page.

scope social:read1 unitcached 1 h

Parameters

name
string
required
Snap name, such as firefox.
e.g. firefox
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

15 fields
categoriesCategory[]
namestring
descriptionstring
iconUrlstring
licensestring
linksmap
namestring
screenshotsImage[]
heightany
urlstring
widthany
storeUrlstring
summarystring
titlestring
websitestring
curl "https://api.hoshime.com/v1/snapcraft/details?name=firefox" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/byCommonId

The snaps that declare a desktop app's common id, such as org.mozilla.firefox.

scope social:read1 unitcached 1 hpaginated

Parameters

commonId
string
required
Common id, such as org.mozilla.firefox.
e.g. org.mozilla.firefox
limit
integer
Items per page, 1 to 50.
default 10
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

6 fields
idstring
licensestring
namestring
publisherstring
summarystring
titlestring
curl "https://api.hoshime.com/v1/snapcraft/byCommonId?commonId=org.mozilla.firefox" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/publisher

The snaps one publisher has published in the Snap Store, such as the snaps of canonical.

scope social:read1 unitcached 30 minpaginated

Parameters

publisher
string
required
Publisher username, such as canonical.
e.g. canonical
limit
integer
Items per page, 1 to 50.
default 10
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

6 fields
idstring
licensestring
namestring
publisherstring
summarystring
titlestring
curl "https://api.hoshime.com/v1/snapcraft/publisher?publisher=canonical" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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
  }
}
esc
↑↓ move↵ open