OSF

OSF Collections API

The Collections API from OSF — 11 operation(s) for collections.

Operations 21

GET /collections/ List all Collections #
POST /collections/ Create a Collection #
GET /collections/{collection_id}/ Retrieve a Collection #
DELETE /collections/{collection_id}/ Delete a Collection #
GET /collections/{collection_id}/linked_nodes List All Linked Nodes for a Collection #
POST /collections/{collection_id}/linked_nodes/relationships/ Link Nodes to Collection #
GET /collections/{collection_id}/linked_nodes/relationships/ Give a Sparse List of Node Ids #
DELETE /collections/{collection_id}/linked_nodes/relationships/ Remove Nodes From Collection #
GET /collections/{collection_id}/linked_registrations/ List All Linked Registrations for a Collection #
POST /collections/{collection_id}/linked_registrations/relationships/ Link Registrations to Collection #
GET /collections/{collection_id}/linked_registrations/relationships/ Give a Sparse List of Registrations Ids #
DELETE /collections/{collection_id}/linked_registrations/relationships/ Remove Registrations From Collection #
GET /collections/{collection_id}/linked_preprints/ List All Linked Preprints for a Collection #
GET /collections/{collection_id}/collected_metadata/ Retrieve a list of collected metadata for a collection #
POST /collections/{collection_id}/collected_metadata/ Add Metadata or Subjects to a Entity in a Collection #
GET /collections/{collection_id}/collected_metadata/{cgm_id} Retrieve Specific Metadata for a Collection #
POST /collections/{collection_id}/collected_metadata/{cgm_id} Add Metadata or Subjects to an Entity in a Collection #
DELETE /collections/{collection_id}/collected_metadata/{cgm_id} Delete Collection Metadata from entitiy #
GET /collections/{collection_id}/collected_metadata/{cgm_id}/subjects/ Retrieve subject data for a specific piece of metadata info for a collection #
GET /collections/{collection_id}/collected_metadata/{cgm_id}/relationships/subjects/ Retrieve subject metadata for a specific piece of metadata in a collection #
POST /collections/{collection_id}/collected_metadata/{cgm_id}/relationships/subjects/ Update subjects for a specific piece of metadata in a collection #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/osf:osf-collections-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

osf-collections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OSF APIv2 Documentation Collections API
  description: This is the official documentation for the OSF (Open Science Framework) API v2.
  version: '2.0'
  termsOfService: https://osf.io/terms_of_use/
  contact:
    name: OSF Support Team
    email: support@osf.io
    url: https://help.osf.io/
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  x-logo:
    url: https://cdn.cos.io/media/images/cos_center_logo_small.original.png
    backgroundColor: transparent
servers:
- url: https://api.test.osf.io/v2
tags:


# --- truncated at 32 KB (90 KB total) ---
# Full source: https://artifacts.apis.io/osf/openapi/osf-collections-api-openapi.yml