# CORE repository outputs API

Get CORE Repository Outputs 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 requested data-provider identifier, repository output identifier, record kind, output title, and supplying repository metadata to research catalogue, and reading-list preparation, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/core/core-repository-outputs-api/95d4e4d8-fa5a-4485-82da-10608d91e1b5/
API ID: 95d4e4d8-fa5a-4485-82da-10608d91e1b5
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/core/v1/data-provider/outputs
Page update time: 2026-12-03T02:44:32.543Z
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.936Z. 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 Repository Outputs API

id scopes the request to a data provider. q searches within that provider; the default sort is relevance with q and recency without it. Results are repository outputs, not deduplicated works. limit defaults to 10 and allows up to 50; page is 1-based.

## 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` | Requested data-provider identifier |
| `items[].id` | Repository output identifier |
| `items[].kind` | Record kind |
| `items[].title` | Output title |
| `items[].data_provider` | Supplying repository metadata |
| `next_page` | Next output page |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CORE repository outputs 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."
        },
        "q": {
          "type": "string",
          "description": "Search within this repository."
        },
        "sort": {
          "type": "string",
          "description": "recency (default without q) or relevance (default with q).",
          "enum": [
            "recency",
            "relevance"
          ]
        },
        "limit": {
          "type": "integer",
          "description": "Results per page, up to 50 (default 10)."
        },
        "page": {
          "type": "integer",
          "description": "Page number (1-based)."
        },
        "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": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "id": {
      "type": "integer"
    },
    "items": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "abstract": {
                "type": "string"
              },
              "accepted": {
                "type": "null"
              },
              "arxiv_id": {
                "type": "null"
              },
              "authors": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "citation_count": {
                "type": "null"
              },
              "contributors": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "created": {
                "type": "string"
              },
              "data_provider": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "integer"
                  },
                  "logo": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                }
              },
              "deposited": {
                "type": "string"
              },
              "document_type": {
                "type": "string"
              },
              "doi": {
                "type": "string"
              },
              "download_url": {
                "type": "null"
              },
              "field_of_study": {
                "type": "null"
              },
              "full_text_identifier": {
                "type": "null"
              },
              "id": {
                "type": "integer"
              },
              "identifiers": {
                "type": "object",
                "properties": {
                  "doi": {
                    "type": "null"
                  },
                  "oai": {
                    "type": "string"
                  }
                }
              },
              "journals": {
                "type": "array",
                "items": {}
              },
              "kind": {
                "type": "string"
              },
              "language": {
                "type": "null"
              },
              "links": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  }
                }
              },
              "mag_id": {
                "type": "null"
              },
              "oai_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "published": {
                "type": "string"
              },
              "publisher": {
                "type": "string"
              },
              "pubmed_id": {
                "type": "null"
              },
              "references": {
                "type": "array",
                "items": {}
              },
              "repositories": {
                "type": "array",
                "items": {}
              },
              "repository_document": {
                "type": "object",
                "properties": {
                  "acceptedDate": {
                    "type": "string"
                  },
                  "createdDate": {
                    "type": "string"
                  },
                  "depositedDate": {
                    "type": "string"
                  },
                  "id": {
                    "type": "integer"
                  },
                  "publishedDate": {
                    "type": "string"
                  },
                  "updatedDate": {
                    "type": "string"
                  }
                }
              },
              "set_specs": {
                "type": "array",
                "items": {}
              },
              "source_fulltext_urls": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "subjects": {
                "type": "array",
                "items": {}
              },
              "tags": {
                "type": "array",
                "items": {}
              },
              "title": {
                "type": "string"
              },
              "updated": {
                "type": "null"
              },
              "url": {
                "type": "string"
              },
              "urls": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  }
                }
              },
              "year": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "query": {
      "type": "null"
    },
    "sort": {
      "type": "string"
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/core/v1/data-provider/outputs?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
{
  "cached": false,
  "count": 10,
  "credits_used": 1,
  "id": 86,
  "items": [
    {
      "abstract": "This chapter investigates the areas of focus of clinical legal scholarship since 2011",
      "accepted": null,
      "arxiv_id": null,
      "authors": [
        "Wortham, Leah",
        "McFaul, Hugh",
        "… 1 more"
      ],
      "citation_count": null,
      "contributors": [
        "Stege, Ulrich",
        "Bloch, Frank S."
      ],
      "created": "2025-10-24T07:23:50+01:00",
      "data_provider": {
        "id": 86,
        "logo": "https://api.core.ac.uk/data-providers/86/logo",
        "name": "Open Research Online (Open)",
        "url": "https://core.ac.uk/data-providers/86"
      },
      "deposited": "2025-10-14T14:05:54+01:00",
      "document_type": "",
      "doi": "",
      "download_url": null,
      "field_of_study": null,
      "full_text_identifier": null,
      "id": 672884869,
      "identifiers": {
        "doi": null,
        "oai": "oai:oro.open.ac.uk:106629"
      },
      "journals": [],
      "kind": "output",
      "language": null,
      "links": [
        {
          "type": "display",
          "url": "https://core.ac.uk/outputs/672884869"
        }
      ],
      "mag_id": null,
      "oai_ids": [
        "oai:oro.open.ac.uk:106629"
      ],
      "published": "2027-01-30T00:00:00+00:00",
      "publisher": "Oxford University Press (In Press)",
      "pubmed_id": null,
      "references": [],
      "repositories": [],
      "repository_document": {
        "acceptedDate": "",
        "createdDate": "",
        "depositedDate": "",
        "id": 672884869,
        "publishedDate": "2027-01-30T00:00:00+00:00",
        "updatedDate": ""
      },
      "set_specs": [],
      "source_fulltext_urls": [],
      "subjects": [],
      "tags": [],
      "title": "Clinical Scholarship’s Contribution to the Global Clinical Movement: Progress Made and More to Do",
      "updated": null,
      "url": "https://core.ac.uk/outputs/672884869",
      "urls": [],
      "year": "2027"
    },
    {
      "abstract": "The methodologies of Digital Humanities (DH) are acquiring an ever greater relevance to the study of the history of reading, for example thr…",
      "accepted": null,
      "arxiv_id": null,
      "authors": [
        "Benatti, Francesca"
      ],
      "citation_count": null,
      "contributors": [
        "Mahlberg, Michaela",
        "Brookes, Gavin",
        "… 1 more"
      ],
      "created": "2026-07-27T11:21:25+01:00",
      "data_provider": {
        "id": 86,
        "logo": "https://api.core.ac.uk/data-providers/86/logo",
        "name": "Open Research Online (Open)",
        "url": "https://core.ac.uk/data-providers/86"
      },
      "deposited": "2026-07-21T11:45:06+01:00",
      "document_type": "",
      "doi": "",
      "download_url": null,
      "field_of_study": null,
      "full_text_identifier": null,
      "id": 750693293,
      "identifiers": {
        "doi": null,
        "oai": "oai:oro.open.ac.uk:110533"
      },
      "journals": [],
      "kind": "output",
      "language": null,
      "links": [
        {
          "type": "display",
          "url": "https://core.ac.uk/outputs/750693293"
        }
      ],
      "mag_id": null,
      "oai_ids": [
        "oai:oro.open.ac.uk:110533"
      ],
      "published": "2027-01-01T00:00:00+00:00",
      "publisher": "Bloomsbury Academic (In Press)",
      "pubmed_id": null,
      "references": [],
      "repositories": [],
      "repository_document": {
        "acceptedDate": "",
        "createdDate": "",
        "depositedDate": "",
        "id": 750693293,
        "publishedDate": "2027-01-01T00:00:00+00:00",
        "updatedDate": ""
      },
      "set_specs": [],
      "source_fulltext_urls": [
        "https://oro.open.ac.uk/110533/1/Chapter%2027_Benatti_rev_02.docx"
      ],
      "subjects": [],
      "tags": [],
      "title": "Digital humanities",
      "updated": null,
      "url": "https://core.ac.uk/outputs/750693293",
      "urls": [
        {
          "type": "fulltext",
          "url": "https://oro.open.ac.uk/110533/1/Chapter%2027_Benatti_rev_02.docx"
        }
      ],
      "year": "2027"
    },
    "… 8 more"
  ],
  "next_page": 2,
  "page": 1,
  "query": null,
  "sort": "recency",
  "total": 66675
}
```

## 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
### Which identifier scopes the repository?
The CORE data-provider ID, not a work or output ID.

### What is the default sorting?
recency without q and relevance with q.

### Can one work appear in several repositories?
Work-level and output-level identities differ; preserve each output’s repository identity rather than assuming output records are deduplicated works.

### How do I continue?
Use next_page as page; limit defaults to 10 and is capped at 50.

### 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-repository-outputs-api/95d4e4d8-fa5a-4485-82da-10608d91e1b5/

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