Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

R Top Packages API

Most-downloaded CRAN packages

R Top Packages API is one of 5 APIs that R publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Top Packages. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, and defines 2 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://crandb.r-pkg.org.

1 operations 1 paths 2 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://crandb.r-pkg.org
Contact
License
Resource Areas
1

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

Top Packages 1

Most-downloaded CRAN packages

GET
/top/{period}/{count}
Get Top Downloaded Packages
getTopPackages 2 params → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are TopPackages (3 properties), PackageRanking (2 properties). Each schema is shown below with its type and property counts.

TopPackages
object
3 properties
PackageRanking
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

r-top-packages-api-openapi.yml Raw ↑

Other APIs R publishes across the network.

R Badges API
R Downloads API
R Packages API
R Versions API