技
Anaconda.org API
3 endpointsDeveloper & TechGlobalsocial:read
Conda package metadata, versions and files by channel from anaconda.org package pages.
View as Markdown| GET | /anaconda/package | One package of an anaconda.org channel: its latest version, versions and downloads. |
| GET | /anaconda/search | Packages with exactly this name on anaconda.org, across every owner and channel. |
| GET | /anaconda/files | The files of one anaconda.org package, newest first as the channel lists them. Page with cursor. |
package
GET
/v1/anaconda/packageOne package of an anaconda.org channel: its latest version, versions and downloads.
scope social:read1 unitcached 1 h
Parameters
channelstring | Channel name, such as conda-forge. default conda-forgee.g. conda-forge |
namestring required | Package name, such as numpy. e.g. numpy |
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
channel | string |
downloads | integer (int64) |
homepage | string |
latestVersion | string |
license | string |
name | string |
owner | string |
packageTypes | PackageType[] |
name | string |
public | boolean |
summary | string |
updatedAt | string |
versions | Version[] |
name | string |
curl "https://api.hoshime.com/v1/anaconda/package?channel=conda-forge&name=numpy" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/anaconda/package?channel=conda-forge&name=numpy", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/anaconda/package?channel=conda-forge&name=numpy", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "channel": "…", "downloads": 0, "homepage": "…", "latestVersion": "…", "license": "…", "name": "…", "owner": "…", "packageTypes": [ { "name": "…" } ], "public": false, "summary": "…", "updatedAt": "2026-11-06T09:41:00Z", "versions": [ { "name": "…" } ] }, "meta": { "cached": false, "endpoint": "package", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "anaconda", "requestId": "req_2Xb9kQ…", "units": 1 } }
search
GET
/v1/anaconda/searchPackages with exactly this name on anaconda.org, across every owner and channel.
scope social:read1 unitcached 30 minpaginated
Parameters
namestring required | Exact package name, such as numpy. e.g. numpy |
limitinteger | Items per page, 1 to 100. default 20 |
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
9 fields
downloads | integer (int64) |
fullName | string |
latestVersion | string |
name | string |
owner | string |
packageTypes | PackageType[] |
name | string |
summary | string |
url | string |
curl "https://api.hoshime.com/v1/anaconda/search?name=numpy" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/anaconda/search?name=numpy", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/anaconda/search?name=numpy", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "downloads": 0, "fullName": "…", "latestVersion": "…", "name": "…", "owner": "…", "packageTypes": [ { "name": null } ], "summary": "…", "url": "https://…" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "anaconda", "requestId": "req_2Xb9kQ…", "units": 1 } }
files
GET
/v1/anaconda/filesThe files of one anaconda.org package, newest first as the channel lists them. Page with cursor.
scope social:read1 unitcached 1 hpaginated
Parameters
channelstring required | Channel or owner, such as conda-forge. e.g. conda-forge |
namestring required | Package name, such as numpy. e.g. numpy |
limitinteger | Number of files, from 1 to 100. default 20 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
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
10 fields
basename | string |
downloads | integer (int64) |
md5 | string |
platform | string |
sha256 | string |
size | integer (int64) |
type | string |
uploadedAt | string |
url | string |
version | string |
curl "https://api.hoshime.com/v1/anaconda/files?channel=conda-forge&name=numpy" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/anaconda/files?channel=conda-forge&name=numpy", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/anaconda/files?channel=conda-forge&name=numpy", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "basename": "…", "downloads": 0, "md5": "…", "platform": "…", "sha256": "…", "size": 0, "type": "…", "uploadedAt": "2026-11-06T09:41:00Z", "url": "https://…", "version": "…" } ], "meta": { "cached": false, "endpoint": "files", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "anaconda", "requestId": "req_2Xb9kQ…", "units": 1 } }