Skip to content

crates.io API

15 endpointsDeveloper & TechGlobalsocial:read9 real examples

Returns Rust crate details, search results, versions, dependencies and owners from crates.io.

View as Markdown
GET/crates/crateDescription, latest versions, licence, downloads and links of one crate.
GET/crates/searchCrates that match a search, 20 per page, best match first.
GET/crates/versionsEvery published version of one crate, newest first, 30 per page.
GET/crates/versionOne version of a crate: its licence, checksum, size, minimum Rust version and publisher.
GET/crates/dependenciesThe dependencies of one version of a crate, with their version requirements and kinds.
GET/crates/ownersThe users and teams that own one crate and may publish it.
GET/crates/downloadsDownloads of one crate per day over the last 90 days, all versions added up, oldest day first.
GET/crates/reverseDependenciesCrates that depend on one crate, newest versions of each dependent, 30 per page.
GET/crates/summarycrates.io as a whole: its crate and download counts, and the crates that are new, most downloaded or just updated.
GET/crates/categoriesThe crates.io categories, such as command-line-utilities or web-programming, with their descriptions and crate counts.
GET/crates/categoryCratesCrates in one crates.io category, such as command-line-utilities, most downloaded first, 20 per page.
GET/crates/readmeThe README of one crate version as HTML, the page crates.io renders for it.
GET/crates/versionDownloadsDownloads of one crate version per day over the last 90 days, oldest day first.
GET/crates/userA crates.io user's profile by GitHub login: name, avatar, GitHub page and the day the account was created.
GET/crates/userCratesCrates one crates.io user publishes, by GitHub login, most recently updated first, 20 per page.

crate

GET/v1/crates/crate

Description, latest versions, licence, downloads and links of one crate.

scope social:read1 unitcached 1 h

Parameters

name
string
required
Crate name, or crates.io crate URL.
e.g. serde
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

17 fields
categoriesCategory[]
namestring
createdAtstring
descriptionstring
documentationstring
downloadsinteger (int64)
homepagestring
keywordsKeyword[]
namestring
licensestring
maxStableVersionstring
namestring
newestVersionstring
recentDownloadsinteger (int64)
repositorystring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/crates/crate?name=serde" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "categories": [
      {
        "name": "no-std"
      },
      {
        "name": "encoding"
      }
    ],
    "createdAt": "2014-12-05T20:20:39.487502Z",
    "description": "A generic serialization/deserialization framework",
    "documentation": "https://docs.rs/serde",
    "downloads": 1658410158,
    "homepage": "https://serde.rs",
    "keywords": [
      {
        "name": "no_std"
      },
      {
        "name": "serde"
      }
    ],
    "license": "MIT OR Apache-2.0",
    "maxStableVersion": "1.0.229",
    "name": "serde",
    "newestVersion": "1.0.229",
    "recentDownloads": 411403991,
    "repository": "https://github.com/serde-rs/serde",
    "updatedAt": "2026-07-18T23:05:13.266456Z",
    "url": "https://crates.io/crates/serde"
  },
  "meta": {
    "cached": false,
    "endpoint": "crate",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "crates",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

versions

GET/v1/crates/versions

Every published version of one crate, newest first, 30 per page.

scope social:read1 unitcached 1 hpaginated

Parameters

name
string
required
Crate name, or crates.io crate URL.
e.g. serde
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
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

9 fields
checksumstring
crateSizeinteger (int64)
createdAtstring
downloadsinteger (int64)
licensestring
numberstring
publishedBystring
rustVersionstring
yankedboolean
curl "https://api.hoshime.com/v1/crates/versions?name=serde" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "checksum": "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba",
      "crateSize": 83669,
      "createdAt": "2026-07-18T23:05:13.266456Z",
      "downloads": 220432326,
      "license": "MIT OR Apache-2.0",
      "number": "1.0.229",
      "publishedBy": "dtolnay",
      "rustVersion": "1.56",
      "yanked": false
    },
    {
      "checksum": "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e",
      "crateSize": 83652,
      "createdAt": "2025-09-27T16:51:35.265429Z",
      "downloads": 556571344,
      "license": "MIT OR Apache-2.0",
      "number": "1.0.228",
      "publishedBy": "dtolnay",
      "rustVersion": "1.56",
      "yanked": false
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "versions",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "crates",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

version

GET/v1/crates/version

One version of a crate: its licence, checksum, size, minimum Rust version and publisher.

scope social:read1 unitcached 24 h

Parameters

name
string
required
Crate name, or crates.io crate URL.
e.g. serde
version
string
required
Exact version, such as 1.0.0.
e.g. 1.0.0
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

9 fields
checksumstring
crateSizeinteger (int64)
createdAtstring
downloadsinteger (int64)
licensestring
numberstring
publishedBystring
rustVersionstring
yankedboolean
curl "https://api.hoshime.com/v1/crates/version?name=serde&version=1.0.0" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "checksum": "369633cfe0f0bde1dfc037fb6c5a329d46586a31f981bed14d87487a3439ae37",
    "crateSize": 58433,
    "createdAt": "2017-04-20T15:26:44.055136Z",
    "downloads": 168811,
    "license": "MIT/Apache-2.0",
    "number": "1.0.0",
    "publishedBy": "",
    "rustVersion": "",
    "yanked": false
  },
  "meta": {
    "cached": false,
    "endpoint": "version",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "crates",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

dependencies

GET/v1/crates/dependencies

The dependencies of one version of a crate, with their version requirements and kinds.

scope social:read1 unitcached 24 hpaginated

Parameters

name
string
required
Crate name, or crates.io crate URL.
e.g. serde
version
string
required
Exact version, such as 1.0.0.
e.g. 1.0.0
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

5 fields
cratestring
kindstring
optionalboolean
requirementstring
targetstring
curl "https://api.hoshime.com/v1/crates/dependencies?name=serde&version=1.0.0" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "crate": "serde_derive",
      "kind": "dev",
      "optional": false,
      "requirement": "^1.0",
      "target": ""
    },
    {
      "crate": "serde_derive",
      "kind": "normal",
      "optional": true,
      "requirement": "^1.0",
      "target": ""
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "dependencies",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "crates",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

owners

GET/v1/crates/owners

The users and teams that own one crate and may publish it.

scope social:read1 unitcached 1 hpaginated

Parameters

name
string
required
Crate name, or crates.io crate URL.
e.g. serde
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

4 fields
kindstring
loginstring
namestring
urlstring
curl "https://api.hoshime.com/v1/crates/owners?name=serde" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "kind": "user",
      "login": "dtolnay",
      "name": "David Tolnay",
      "url": "https://github.com/dtolnay"
    },
    {
      "kind": "team",
      "login": "github:serde-rs:publish",
      "name": "publish",
      "url": "https://github.com/serde-rs"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "owners",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "crates",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

downloads

GET/v1/crates/downloads

Downloads of one crate per day over the last 90 days, all versions added up, oldest day first.

scope social:read1 unitcached 1 h

Parameters

name
string
required
Crate name, or crates.io crate URL.
e.g. serde
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

5 fields
dailyDailyCount[]
datestring
downloadsinteger (int64)
namestring
totalinteger (int64)
curl "https://api.hoshime.com/v1/crates/downloads?name=serde" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "daily": [
      {
        "date": "2026-08-09",
        "downloads": 2049835
      },
      {
        "date": "2026-08-10",
        "downloads": 3298954
      }
    ],
    "name": "serde",
    "total": 360406885
  },
  "meta": {
    "cached": false,
    "endpoint": "downloads",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "crates",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

reverseDependencies

GET/v1/crates/reverseDependencies

Crates that depend on one crate, newest versions of each dependent, 30 per page.

scope social:read1 unitcached 1 hpaginated

Parameters

name
string
required
Crate name, or crates.io crate URL.
e.g. serde
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
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

5 fields
cratestring
downloadsinteger (int64)
kindstring
requirementstring
versionstring
curl "https://api.hoshime.com/v1/crates/reverseDependencies?name=serde" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "crate": "hashbrown",
      "downloads": 318010633,
      "kind": "normal",
      "requirement": "^1.0.220",
      "version": "0.17.1"
    },
    {
      "crate": "bitflags",
      "downloads": 88477296,
      "kind": "dev",
      "requirement": "^1.0.103",
      "version": "2.13.2"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "reverseDependencies",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "crates",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

summary

GET/v1/crates/summary

crates.io as a whole: its crate and download counts, and the crates that are new, most downloaded or just updated.

scope social:read1 unitcached 10 min

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

20 fields
justUpdatedCrateRef[]
descriptionstring
downloadsinteger (int64)
namestring
updatedAtstring
versionstring
mostDownloadedCrateRef[]
descriptionstring
downloadsinteger (int64)
namestring
updatedAtstring
versionstring
newCratesCrateRef[]
descriptionstring
downloadsinteger (int64)
namestring
updatedAtstring
versionstring
numCratesinteger (int64)
numDownloadsinteger (int64)
curl "https://api.hoshime.com/v1/crates/summary" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "justUpdated": [
      {
        "description": "Reader and writer for the ITM item-resource format used in Infinity Engine games (V1, V1.1, V2.0)",
        "downloads": 108,
        "name": "infinitier_itm_resource",
        "updatedAt": "2026-11-06T18:01:36.436965Z",
        "version": "0.1.0"
      },
      {
        "description": "Reader and writer for the INI file format used in Infinity Engine games",
        "downloads": 108,
        "name": "infinitier_ini_resource",
        "updatedAt": "2026-11-06T18:01:26.186666Z",
        "version": "0.1.0"
      }
    ],
    "mostDownloaded": [
      {
        "description": "A Rust port of Google's SwissTable hash map",
        "downloads": 2992957289,
        "name": "hashbrown",
        "updatedAt": "2026-10-13T12:28:45.005326Z",
        "version": "0.17.1"
      },
      {
        "description": "Parser for Rust source code",
        "downloads": 2938034523,
        "name": "syn",
        "updatedAt": "2026-10-12T15:04:09.212573Z",
        "version": "3.0.9"
      }
    ],
    "newCrates": [
      {
        "description": "The model with which aktujo reads Latin script: PP-OCRv5 Latin text recognition as ONNX, with its dictionary",
        "downloads": 0,
        "name": "aktujo-extract-latin",
        "updatedAt": "2026-11-06T17:58:07.332019Z",
        "version": "1.0.0"
      },
      {
        "description": "The model with which aktujo finds where text stands on a page: PP-OCRv3 text detection as ONNX",
        "downloads": 0,
        "name": "aktujo-extract-det",
        "updatedAt": "2026-11-06T17:58:01.759286Z",
        "version": "1.0.0"
      }
    ],
    "numCrates": 371284,
    "numDownloads": 537418947115
  },
  "meta": {
    "cached": false,
    "endpoint": "summary",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "crates",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

categories

GET/v1/crates/categories

The crates.io categories, such as command-line-utilities or web-programming, with their descriptions and crate counts.

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

5 fields
crateCountinteger (int64)
descriptionstring
namestring
slugstring
urlstring
curl "https://api.hoshime.com/v1/crates/categories" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "crateCount": 1280,
      "description": "…",
      "name": "…",
      "slug": "…",
      "url": "https://…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "categories",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "crates",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

categoryCrates

GET/v1/crates/categoryCrates

Crates in one crates.io category, such as command-line-utilities, most downloaded first, 20 per page.

scope social:read1 unitcached 30 minpaginated

Parameters

slug
string
required
Category slug, such as command-line-utilities. The categories endpoint lists them.
e.g. command-line-utilities
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
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

9 fields
descriptionstring
downloadsinteger (int64)
maxStableVersionstring
namestring
newestVersionstring
recentDownloadsinteger (int64)
repositorystring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/crates/categoryCrates?slug=command-line-utilities" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "description": "…",
      "downloads": 0,
      "maxStableVersion": "…",
      "name": "…",
      "newestVersion": "…",
      "recentDownloads": 0,
      "repository": "…",
      "updatedAt": "2026-11-06T09:41:00Z",
      "url": "https://…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "categoryCrates",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "crates",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

readme

GET/v1/crates/readme

The README of one crate version as HTML, the page crates.io renders for it.

scope social:read1 unitcached 24 h

Parameters

name
string
required
Crate name, or crates.io crate URL.
e.g. serde
version
string
required
Exact version, such as 1.0.200.
e.g. 1.0.200
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

3 fields
htmlstring
namestring
versionstring
curl "https://api.hoshime.com/v1/crates/readme?name=serde&version=1.0.200" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "html": "…",
    "name": "…",
    "version": "…"
  },
  "meta": {
    "cached": false,
    "endpoint": "readme",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "crates",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

versionDownloads

GET/v1/crates/versionDownloads

Downloads of one crate version per day over the last 90 days, oldest day first.

scope social:read1 unitcached 1 h

Parameters

name
string
required
Crate name, or crates.io crate URL.
e.g. serde
version
string
required
Exact version, such as 1.0.200.
e.g. 1.0.200
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
dailyDailyCount[]
datestring
downloadsinteger (int64)
namestring
totalinteger (int64)
versionstring
curl "https://api.hoshime.com/v1/crates/versionDownloads?name=serde&version=1.0.200" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "daily": [
      {
        "date": "…",
        "downloads": 0
      }
    ],
    "name": "…",
    "total": 0,
    "version": "…"
  },
  "meta": {
    "cached": false,
    "endpoint": "versionDownloads",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "crates",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

user

GET/v1/crates/user

A crates.io user's profile by GitHub login: name, avatar, GitHub page and the day the account was created.

scope social:read1 unitcached 24 h

Parameters

login
string
required
GitHub login of the user, such as dtolnay.
e.g. dtolnay
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
avatarstring
createdAtstring
idstring
loginstring
namestring
urlstring
curl "https://api.hoshime.com/v1/crates/user?login=dtolnay" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "avatar": "…",
    "createdAt": "2026-11-06T09:41:00Z",
    "id": "abc123",
    "login": "…",
    "name": "…",
    "url": "https://…"
  },
  "meta": {
    "cached": false,
    "endpoint": "user",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "crates",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

userCrates

GET/v1/crates/userCrates

Crates one crates.io user publishes, by GitHub login, most recently updated first, 20 per page.

scope social:read1 unitcached 30 minpaginated

Parameters

login
string
required
GitHub login of the user, such as dtolnay.
e.g. dtolnay
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
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

9 fields
descriptionstring
downloadsinteger (int64)
maxStableVersionstring
namestring
newestVersionstring
recentDownloadsinteger (int64)
repositorystring
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/crates/userCrates?login=dtolnay" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "description": "…",
      "downloads": 0,
      "maxStableVersion": "…",
      "name": "…",
      "newestVersion": "…",
      "recentDownloads": 0,
      "repository": "…",
      "updatedAt": "2026-11-06T09:41:00Z",
      "url": "https://…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "userCrates",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "crates",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open