CRAN R Packages
R packages on CRAN for a search or by exact name: title, description, version, license, maintainer name, publish time, dependencies and imports, homepage and repository links, downloads in the last day, week or month, GitHub stars and how many packages use it.
$2 per 1,000 records
You pay only for the records you get. Zero records cost zero. 2,500 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from cran.r-project.org
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 2,500 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/cran-r-packages/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"search":"ggplot"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
20 fields.
Basics
- Package
Package name on CRAN, such as ggplot2.
Example ggplot2
- Title
One-line title of the package.
Example Create Elegant Data Visualisations Using the Grammar of Graphics
- Description
The package's own description.
Example A system for 'declaratively' creating graphics, based on "The Grammar of Graphics". You provide the data, tell…
- Version
Latest version on CRAN.
Example 4.0.5
- License
License, as CRAN lists it, such as MIT + file LICENSE or GPL-3.
Example MIT + file LICENSE
- Maintainer name
Name of the package's maintainer (no e-mail).
Example Thomas Lin Pedersen
- Depends
Depends entries with their version needs, such as R (>= 4.1).
Example R (>= 4.1)
- Imports
Packages it imports, with version needs, such as rlang (>= 1.1.0).
Example cli, grDevices
- Has compiled code
Yes when the package contains C, C++ or Fortran code that needs compiling.
Example No
- Downloads
Downloads from CRAN's RStudio mirror in the chosen period.
Example 2,154,464
- Github stars
Stars of the package's GitHub repository, as R-universe last read them.
Example 7,032
- Used by count
Packages that depend on this one, as R-universe counts them.
Example 9,424
Dates
- Published
When the latest version was published on CRAN (UTC).
Example Dec 3, 2026
- Downloads start date
First day the downloads count covers.
Example Nov 5, 2026
- Downloads end date
Last day the downloads count covers.
Example Dec 4, 2026
Links
- Link
The package's page on CRAN.
- Homepage
The package's website, the first link in its URL field.
Example ggplot2.tidyverse.org
- Repository link
Code repository on GitHub, GitLab, Bitbucket or Codeberg, when the package names one.
Example github.com/tidyverse/ggplot2
- Bug reports link
Where to report issues.
- R universe link
The package's page on R-universe.
Example tidyverse.r-universe.dev/ggplot2
Technical detailsField names and types for developers
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
package | text | Package | 3 of 3 |
url | link | Link | 3 of 3 |
title | text | Title | 3 of 3 |
description | text | Description | 3 of 3 |
version | text | Version | 3 of 3 |
license | text | License | 3 of 3 |
maintainer_name | text | Maintainer name | 3 of 3 |
published_at | date and time | Published | 3 of 3 |
depends | list | Depends | 3 of 3 |
imports | list | Imports | 3 of 3 |
homepage | link | Homepage | 3 of 3 |
repository_url | link | Repository link | 3 of 3 |
bug_reports_url | link | Bug reports link | 3 of 3 |
has_compiled_code | yes or no | Has compiled code | 3 of 3 |
downloads | number | Downloads | 3 of 3 |
downloads_start_date | date | Downloads start date | 3 of 3 |
downloads_end_date | date | Downloads end date | 3 of 3 |
github_stars | number | Github stars | 3 of 3 |
used_by_count | number | Used by count | 3 of 3 |
r_universe_url | link | R universe link | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Title | Package | Description | Version | License | Maintainer name | Depends | Imports | Has compiled code | Downloads | Github stars | Used by count | Published | Downloads start date | Downloads end date | Link | Homepage | Repository link | Bug reports link | R universe link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Create Elegant Data Visualisations Using the Grammar of Graphics | ggplot2 | A system for 'declaratively' creating graphics, based on "The Grammar of Graphics". You provide the data, tell 'ggplot2' how to map variables to aesthetics, what graphical primitives to use, and it takes care of the details. | 4.0.5 | MIT + file LICENSE | Thomas Lin Pedersen | R (>= 4.1) | cli, grDevices, grid, gtable (>= 0.3.6) | No | 2,154,464 | 7,032 | 9,424 | Dec 3, 2026 | Nov 5, 2026 | Dec 4, 2026 | cran.r-project.org/package=ggplot2 | ggplot2.tidyverse.org | github.com/tidyverse/ggplot2 | github.com/tidyverse/ggplot2/issues | tidyverse.r-universe.dev/ggplot2 |
| 2 | A Grammar of Data Manipulation | dplyr | A fast, consistent tool for working with data frame like objects, both in memory and out of memory. | 1.2.1 | MIT + file LICENSE | Hadley Wickham | R (>= 4.1.0) | cli (>= 3.6.2), generics, glue (>= 1.3.2), lifecycle (>= 1.0.5) | Yes | 1,686,621 | 5,090 | 10,106 | Apr 3, 2026 | Nov 5, 2026 | Dec 4, 2026 | cran.r-project.org/package=dplyr | dplyr.tidyverse.org | github.com/tidyverse/dplyr | github.com/tidyverse/dplyr/issues | tidyverse.r-universe.dev/dplyr |
| 3 | 'ggplot2' Based Publication Ready Plots | ggpubr | The 'ggplot2' package is excellent and flexible for elegant data visualization in R. However the default generated plots require some formatting before we can send them for publication. Furthermore, to customize a 'ggplot', the syntax is opaque and this raises the level of… | 1.0.0 | GPL (>= 2) | Alboukadel Kassambara | R (>= 4.1.0), ggplot2 (>= 3.5.2) | ggrepel (>= 0.9.2), grid, ggsci, stats | No | 229,347 | 1,281 | 496 | Jul 6, 2026 | Nov 5, 2026 | Dec 4, 2026 | cran.r-project.org/package=ggpubr | rpkgs.datanovia.com/ggpubr/ | github.com/kassambara/ggpubr | github.com/kassambara/ggpubr/issues | kassambara.r-universe.dev/ggpubr |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Only packages on CRAN today: packages that are only on GitHub, Bioconductor or R-universe, and packages CRAN has archived, are left out.
- Up to 2,000 packages per run. Search uses R-universe's index, best match and most used first; a common word matches thousands of packages.
- Downloads count CRAN's RStudio (Posit) mirror only, as published by cranlogs; the latest day counted is usually yesterday.
- github_stars and used_by_count come from R-universe: stars are empty for packages without a known GitHub home, and used_by_count counts packages that depend on it.
- A search reads about 100 packages every 10 to 20 seconds. Names in package_names take one extra lookup each, so 100 names take about a minute.
- Maintainer e-mail addresses are never returned, only names. Data from CRAN through crandb and cranlogs (R-hub) and from R-universe (rOpenSci).
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.