Skip to main content
POST
/
api
/
crates
/
summary
/crates/summary
curl --request POST \
  --url https://api.anysite.io/api/crates/summary \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '{
  "timeout": 300
}'
[
  {
    "@type": "CratesSummary",
    "total_download_count": 0,
    "total_crate_count": 0,
    "new_crates": [],
    "most_downloaded": [],
    "most_recently_downloaded": [],
    "just_updated": [],
    "popular_keywords": [],
    "popular_categories": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

@type
string
default:CratesSummary
total_download_count
integer
default:0
total_crate_count
integer
default:0
new_crates
object[]
most_downloaded
object[]
most_recently_downloaded
object[]
just_updated
object[]