eric-education-api

Search 2M+ education research records via the ERIC database API

191 stars

Best use case

eric-education-api is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Search 2M+ education research records via the ERIC database API

Teams using eric-education-api should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/eric-education-api/SKILL.md --create-dirs "https://raw.githubusercontent.com/wentorai/research-plugins/main/skills/literature/search/eric-education-api/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/eric-education-api/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How eric-education-api Compares

Feature / Agenteric-education-apiStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Search 2M+ education research records via the ERIC database API

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# ERIC (Education Resources Information Center) API

## Overview

ERIC is the world's largest digital library of education research, sponsored by the U.S. Institute of Education Sciences (IES). It indexes 2M+ records including journal articles, reports, conference papers, and dissertations covering all aspects of education. The API provides free, unauthenticated access to metadata and links to full text where available.

## API Endpoints

### Base URL

```
https://api.ies.ed.gov/eric/
```

### Search

```bash
# Basic keyword search
curl "https://api.ies.ed.gov/eric/?search=online+learning&format=json&rows=20"

# Search in specific fields
curl "https://api.ies.ed.gov/eric/?search=title:\"blended learning\"&format=json"

# Filter by publication date
curl "https://api.ies.ed.gov/eric/?search=STEM+education&start=0&rows=25&\
publicationdatestart=2023-01-01&publicationdateend=2026-12-31&format=json"

# Filter by publication type
curl "https://api.ies.ed.gov/eric/?search=formative+assessment&\
publicationtype=Journal+Articles&format=json"

# Filter by descriptor (ERIC thesaurus term)
curl "https://api.ies.ed.gov/eric/?search=descriptor:\"Higher Education\"&format=json"

# Peer-reviewed only
curl "https://api.ies.ed.gov/eric/?search=metacognition&peerreviewed=true&format=json"
```

### Query Parameters

| Parameter | Description | Example |
|-----------|-------------|---------|
| `search` | Free-text or field search | `search=adaptive+learning` |
| `format` | Response format | `json` or `xml` |
| `rows` | Results per page (max 200) | `rows=50` |
| `start` | Pagination offset | `start=50` |
| `publicationtype` | Document type | `Journal Articles`, `Reports`, `Dissertations/Theses` |
| `publicationdatestart` | From date | `2024-01-01` |
| `publicationdateend` | To date | `2026-12-31` |
| `peerreviewed` | Peer-reviewed filter | `true` or `false` |
| `descriptor` | ERIC thesaurus term | `descriptor:"Distance Education"` |
| `educationlevel` | Education level | `Higher Education`, `Elementary Education` |
| `subject` | Subject area | `subject:"Mathematics Education"` |

### Search Fields

| Field | Description |
|-------|-------------|
| `title` | Article title |
| `author` | Author name |
| `descriptor` | ERIC controlled vocabulary term |
| `source` | Journal/source name |
| `abstract` | Abstract text |
| `id` | ERIC document ID (e.g., EJ1234567) |

### Publication Types

| Type | Description |
|------|-------------|
| `Journal Articles` | Peer-reviewed journal articles |
| `Reports - Research` | Research reports |
| `Reports - Descriptive` | Descriptive reports |
| `Reports - Evaluative` | Program evaluations |
| `Dissertations/Theses` | Graduate research |
| `Speeches/Meeting Papers` | Conference presentations |
| `Books` | Books and book chapters |

## Response Structure

```json
{
  "response": {
    "numFound": 8450,
    "start": 0,
    "docs": [
      {
        "id": "EJ1389012",
        "title": "Effects of AI Tutoring on Student Learning Outcomes",
        "author": ["Smith, John", "Chen, Wei"],
        "source": "Journal of Educational Technology",
        "publicationdateyear": 2024,
        "description": "This study examines the impact of AI-powered tutoring...",
        "descriptor": ["Artificial Intelligence", "Tutoring", "Academic Achievement"],
        "educationlevel": ["Higher Education"],
        "peerreviewed": "T",
        "url": "https://eric.ed.gov/?id=EJ1389012",
        "publicationtype": "Journal Articles",
        "issn": "1234-5678"
      }
    ]
  }
}
```

## Python Usage

```python
import requests

BASE_URL = "https://api.ies.ed.gov/eric/"


def search_eric(query: str, rows: int = 25,
                peer_reviewed: bool = True,
                pub_type: str = None,
                from_year: int = None) -> list:
    """Search the ERIC education research database."""
    params = {
        "search": query,
        "format": "json",
        "rows": rows,
    }
    if peer_reviewed:
        params["peerreviewed"] = "true"
    if pub_type:
        params["publicationtype"] = pub_type
    if from_year:
        params["publicationdatestart"] = f"{from_year}-01-01"

    resp = requests.get(BASE_URL, params=params)
    resp.raise_for_status()
    data = resp.json()

    results = []
    for doc in data.get("response", {}).get("docs", []):
        results.append({
            "id": doc.get("id"),
            "title": doc.get("title"),
            "authors": doc.get("author", []),
            "source": doc.get("source"),
            "year": doc.get("publicationdateyear"),
            "abstract": doc.get("description", "")[:300],
            "descriptors": doc.get("descriptor", []),
            "level": doc.get("educationlevel", []),
            "url": doc.get("url"),
        })
    return results


def search_by_descriptor(descriptor: str, rows: int = 50) -> list:
    """Search using ERIC thesaurus controlled vocabulary."""
    return search_eric(f'descriptor:"{descriptor}"', rows=rows)


# Example: find recent AI in education research
papers = search_eric("artificial intelligence classroom",
                     from_year=2023, rows=10)
for p in papers:
    print(f"[{p['year']}] {p['title']}")
    print(f"  Descriptors: {', '.join(p['descriptors'][:5])}")

# Example: search by ERIC descriptor
papers = search_by_descriptor("Gamification")
for p in papers:
    print(f"{p['id']}: {p['title']} — {p['source']}")
```

## ERIC Thesaurus

ERIC uses a controlled vocabulary of 12,000+ descriptors for consistent indexing. Key descriptors include:

| Descriptor | Coverage |
|------------|----------|
| `Distance Education` | Online/remote learning |
| `Educational Technology` | EdTech tools and methods |
| `Higher Education` | University-level education |
| `STEM Education` | Science, technology, engineering, math |
| `Teacher Education` | Teacher training and development |
| `Assessment` | Testing and evaluation |
| `Curriculum Development` | Curriculum design |
| `Special Education` | Inclusive education |

## References

- [ERIC Website](https://eric.ed.gov/)
- [ERIC API Guide](https://eric.ed.gov/pdf/ERIC_API.pdf)
- [ERIC Thesaurus](https://eric.ed.gov/thesaurus)

Related Skills

numerical-methods-guide

191
from wentorai/research-plugins

Apply numerical methods and scientific computing techniques

educational-research-methods

191
from wentorai/research-plugins

Quantitative and qualitative research methods for education studies

education-skills

191
from wentorai/research-plugins

7 education research skills. Trigger: pedagogical research, course design, learning analytics, assessment. Design: evidence-based teaching methods and educational measurement tools.

thuthesis-guide

191
from wentorai/research-plugins

Write Tsinghua University theses using the ThuThesis LaTeX template

thesis-writing-guide

191
from wentorai/research-plugins

Templates, formatting rules, and strategies for thesis and dissertation writing

thesis-template-guide

191
from wentorai/research-plugins

Set up LaTeX templates for PhD and Master's thesis documents

sjtuthesis-guide

191
from wentorai/research-plugins

Write SJTU theses using the SJTUThesis LaTeX template with full compliance

scientific-article-pdf

191
from wentorai/research-plugins

Generate publication-ready scientific article PDFs from templates

novathesis-guide

191
from wentorai/research-plugins

LaTeX thesis template supporting multiple universities and formats

graphical-abstract-guide

191
from wentorai/research-plugins

Create SVG graphical abstracts for journal paper submissions

elegant-paper-template

191
from wentorai/research-plugins

Beautiful LaTeX template for working papers and technical reports

conference-paper-template

191
from wentorai/research-plugins

Templates and formatting guides for major academic conference submissions