Get crate download counts
Returns daily download counts for the last 90 days for the latest five versions, with older versions aggregated in meta.extra_downloads.
GET
/crates/api/v1/crates/{name}/downloadsNo authentication requiredPath parameters1
| Name | Type | Description |
|---|---|---|
name* | string | The crate name. |
Query parameters1
| Name | Type | Description |
|---|---|---|
include | string | Include version metadata referenced in the download counts. "versions" |
Headers2
| Name | Type | Description |
|---|---|---|
If-None-Match | string | An ETag for conditional requests. |
If-Modified-Since | string | An HTTP date for conditional requests. |
Responses
application/jsonSchemaobject
Additional properties are allowed
version_downloadsobject[]
versionsCratesVersion[]
metaobject
Additional properties are allowed
The original upstream response.