# CORE data provider API

Get CORE Data Provider data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, and retrieve structured data including CORE data-provider identifier, provider name, associated institution, provider country, and OAI-PMH harvesting URL to research catalogue, and reading-list preparation, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/core/core-data-provider-api/804db834-455c-4aa9-b91a-943dffebe75c/
API ID: 804db834-455c-4aa9-b91a-943dffebe75c
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/core/v1/data-provider
Page update time: 2026-12-03T02:44:32.530Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:44:31.876Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## CORE Data Provider API

id accepts a CORE data-provider ID or core.ac.uk/data-providers link. The profile describes the supplying repository or journal, with institution, country, OAI-PMH information and source-reported statistics. Use Repository Outputs to browse records belonging to this provider.

## What You Can Build

- **Research catalogue**: Connect the returned source identities with a catalogue of research records.
- **Reading-list preparation**: Use publication metadata and source links to select records for closer reading.

## Returned Data

| Field | Meaning |
| --- | --- |
| `id` | CORE data-provider identifier |
| `name` | Provider name |
| `institution` | Associated institution |
| `country` | Provider country |
| `oai_pmh_url` | OAI-PMH harvesting URL |
| `stats.metadata_count` | Reported metadata record count |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CORE data provider API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "CORE data provider id or core.ac.uk/data-providers link."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "aliases": {
      "type": "array",
      "items": {}
    },
    "cached": {
      "type": "boolean"
    },
    "country": {
      "type": "string"
    },
    "created": {
      "type": "string"
    },
    "credits_used": {
      "type": "integer"
    },
    "email": {
      "type": "string"
    },
    "homepage": {
      "type": "null"
    },
    "id": {
      "type": "integer"
    },
    "institution": {
      "type": "string"
    },
    "latitude": {
      "type": "number"
    },
    "logo": {
      "type": "string"
    },
    "longitude": {
      "type": "number"
    },
    "metadata_format": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "oai_pmh_url": {
      "type": "string"
    },
    "opendoar_id": {
      "type": "null"
    },
    "other_identifiers": {
      "type": "array",
      "items": {}
    },
    "ror_id": {
      "type": "string"
    },
    "software": {
      "type": "string"
    },
    "stats": {
      "type": "object",
      "properties": {
        "active": {
          "type": "boolean"
        },
        "fulltext_count": {
          "type": "integer"
        },
        "harvest_times": {
          "type": "array",
          "items": {}
        },
        "history": {
          "type": "null"
        },
        "metadata_count": {
          "type": "integer"
        }
      }
    },
    "type": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/core/v1/data-provider?id=86&output=json' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "aliases": [],
  "cached": false,
  "country": "GB",
  "created": "2011-05-05T00:00:00+01:00",
  "credits_used": 1,
  "email": "name@example.com",
  "homepage": null,
  "id": 86,
  "institution": "Open University",
  "latitude": 52.0333,
  "logo": "https://api.core.ac.uk/data-providers/86/logo",
  "longitude": -0.7,
  "metadata_format": "rioxx",
  "name": "Open Research Online (The Open University)",
  "oai_pmh_url": "https://oro.open.ac.uk/cgi/oai2",
  "opendoar_id": null,
  "other_identifiers": [],
  "ror_id": "https://ror.org/05mzfcs16",
  "software": "eprints",
  "stats": {
    "active": false,
    "fulltext_count": 26175,
    "harvest_times": [],
    "history": null,
    "metadata_count": 67078
  },
  "type": "REPOSITORY",
  "url": "https://core.ac.uk/data-providers/86"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Is this a CORE work ID?
No. Supply a data-provider ID or its data-providers link.

### How do I list its records?
Use Repository Outputs with the returned provider id.

### Does active=false mean the repository is offline?
It is a source status field; do not treat it alone as an availability test of the external repository.

### Are full-text and metadata counts interchangeable?
No. Preserve stats.fulltext_count and stats.metadata_count as separate measures.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/core/core-data-provider-api/804db834-455c-4aa9-b91a-943dffebe75c/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
