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 Packages API

CRAN package metadata

R 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 Packages. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 5 operations across 5 paths, and defines 3 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.

5 operations 5 paths 3 schemas 5 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 5

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

Packages 5

CRAN package metadata

GET
/{package}
Get Package Metadata
getPackage 1 param → 200404
GET
/{package}/{version}
Get Package Version Metadata
getPackageVersion 2 params → 200404
GET
/-/pkgs
List All CRAN Packages
listAllPackages → 200
GET
/-/desc
List Package Descriptions
listPackageDescriptions 2 params → 200
GET
/-/allvign
List All Package Vignettes
listPackageVignettes → 200

Schemas 3

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

PackageSummary
object
3 properties
VignetteSummary
object
3 properties
PackageMetadata
object
13 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

r-packages-api-openapi.yml Raw ↑

Other APIs R publishes across the network.

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