Dataverse ApiSAFE
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
Overview
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
e1ba289846fdOBSERVED · 2026-10-08Host compatibility
What the documentation claims. We have not run a compatibility test.
| Host | Status | Notes |
|---|---|---|
| openclaw | mentioned |
What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
---
name: dataverse-api
description: "Deposit and discover research datasets via Harvard Dataverse API"
metadata:
openclaw:
emoji: "🗄️"
category: "literature"
subcategory: "fulltext"
keywords: ["Dataverse", "research data", "data repository", "Harvard", "dataset deposit", "data sharing"]
source: "https://dataverse.org/"
---
# Harvard Dataverse API
## Overview
Dataverse is an open-source research data repository platform developed by Harvard IQSS, hosting 150K+ datasets across 80+ installations worldwide. The Harvard Dataverse alone has 130K+ datasets covering social science, natural science, and humanities. The API supports search, metadata retrieval, file download, and dataset deposit. Free, no authentication for read access.
## API Endpoints
### Base URL
```
https://dataverse.harvard.edu/api
```
### Search
```bash
# Search datasets
curl "https://dataverse.harvard.edu/api/search?q=climate+change&type=dataset&per_page=20"
# Search files within datasets
curl "https://dataverse.harvard.edu/api/search?q=temperature+data&type=file&per_page=20"
# Filter by subject
curl "https://dataverse.harvard.edu/api/search?q=survey+data&type=dataset&\
fq=subject_ss:\"Social Sciences\""
# Filter by publication date
curl "https://dataverse.harvard.edu/api/search?q=genomics&type=dataset&\
fq=dateSort:[2024-01-01T00:00:00Z TO *]"
# Sort by relevance or date
curl "https://dataverse.harvard.edu/api/search?q=machine+learning&type=dataset&\
sort=date&order=desc"
```
### Get Dataset Metadata
```bash
# By persistent ID (DOI)
curl "https://dataverse.harvard.edu/api/datasets/:persistentId/?persistentId=doi:10.7910/DVN/EXAMPLE"
# By dataset ID
curl "https://dataverse.harvard.edu/api/datasets/12345"
# Get dataset versions
curl "https://dataverse.harvard.edu/api/datasets/:persistentId/versions?persistentId=doi:10.7910/DVN/EXAMPLE"
```
### Download Files
```bash
# Download a specific file by ID
curl -O "https://dataverse.harvard.edu/api/access/datafile/67890"
# Download with original format
curl -O "https://dataverse.harvard.edu/api/access/datafile/67890?format=original"
# Download all files in a dataset (as zip)
curl -O "https://dataverse.harvard.edu/api/access/dataset/:persistentId/?persistentId=doi:10.7910/DVN/EXAMPLE"
```
### Query Parameters (Search)
| Parameter | Description | Example |
|-----------|-------------|---------|
| `q` | Search query | `q=voter+turnout` |
| `type` | Item type | `dataset`, `file`, `dataverse` |
| `per_page` | Results per page (max 1000) | `per_page=50` |
| `start` | Pagination offset | `start=50` |
| `sort` | Sort field | `name`, `date` |
| `order` | Sort order | `asc`, `desc` |
| `fq` | Filter query (Solr) | `fq=subject_ss:"Medicine"` |
## Response Structure
```json
{
"status": "OK",
"data": {
"q": "climate change",
"total_count": 2450,
"items": [
{
"name": "Global Temperature Dataset 2024",
"type": "dataset",
"url": "https://doi.org/10.7910/DVN/EXAMPLE",
"global_id": "doi:10.7910/DVN/EXAMPLE",
"description": "Monthly global temperature anomalies...",
"published_at": "2024-03-15",
"publisher": "Harvard Dataverse",
"subjects": ["Earth and Environmental Sciences"],
"fileCount": 12,
"citation": "Smith, J. (2024). Global Temperature Dataset..."
}
]
}
}
```
## Python Usage
```python
import requests
BASE_URL = "https://dataverse.harvard.edu/api"
def search_datasets(query: str, per_page: int = 20,
subject: str = None) -> list:
"""Search Harvard Dataverse for datasets."""
params = {
"q": query,
"type": "dataset",
"per_page": per_page,
"sort": "date",
"order": "desc",
}
if subject:
params["fq"] = f'subject_ss:"{subject}"'
resp = requests.get(f"{BASE_URL}/search", params=params)
resp.raise_for_status()
data = resp.json()
results = []
for item in data.get("data", {}).get("items", []):
results.append({
"name": item.get("name"),
"doi": item.get("global_id"),
"description": item.get("description", "")[:300],
"published": item.get("published_at"),
"subjects": item.get("subjects", []),
"files": item.get("fileCount", 0),
"url": item.get("url"),
})
return results
def get_dataset_files(doi: str) -> list:
"""List files in a dataset."""
resp = requests.get(
f"{BASE_URL}/datasets/:persistentId/",
params={"persistentId": doi},
)
resp.raise_for_status()
data = resp.json().get("data", {})
files = []
version = data.get("latestVersion", {})
for f in version.get("files", []):
df = f.get("dataFile", {})
files.append({
"id": df.get("id"),
"filename": df.get("filename"),
"size": df.get("filesize"),
"content_type": df.get("contentType"),
"md5": df.get("md5"),
})
return files
def download_file(file_id: int, output_path: str):
"""Download a file from Dataverse."""
resp = requests.get(
f"{BASE_URL}/access/datafile/{file_id}",
stream=True,
)
resp.raise_for_status()
with open(output_path, "wb") as f:
for chunk in resp.iter_content(chunk_size=8192):
f.write(chunk)
# Example: find social science datasets
datasets = search_datasets("income inequality",
subject="Social Sciences")
for ds in datasets:
print(f"[{ds['published']}] {ds['name']} ({ds['files']} files)")
print(f" DOI: {ds['doi']}")
# Example: list files in a dataset
# files = get_dataset_files("doi:10.7910/DVN/EXAMPLE")
# for f in files:
# print(f" {f['filename']} ({f['size']} bytes)")
```
## Other Dataverse Installations
| Installation | URL | Focus |
|-------------|-----|-------|
| Harvard Dataverse | dataverse.harvard.edu | Multi-discipline |
| UNC Dataverse |Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
e1ba289846fdfull audit observations/trust-audit/skill/brycewang-stanford__dataverse-api.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | e1ba289846fd | SAFE | B | 89 | first audit |
Questions
What does the Dataverse Api skill do?
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
Is Dataverse Api safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Dataverse Api access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Dataverse Api work with?
Its documentation mentions openclaw. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (e1ba289846fd), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.