POST /api/figshare/collections
Price: 1 credit
Get one Figshare collection by id, page address or DOI. A collection groups the deposits that belong together, usually the supplementary material of a single publication. Returns the title, description, authors, subject categories, tags, references, funding awards, related materials, the number of items it holds and the publication it accompanies.
A collection is a container, not a deposit: it carries no files and `article_count` is the only count of what is inside, so use /figshare/articles/search with `source_doi` set to this collection's `source_doi` to reach the individual records. Its `doi` is usually the accompanying publication's DOI rather than one Figshare minted, which is why the same DOI resolves both here and on /figshare/articles/search. Do not pass a collection id to /figshare/articles — the two id spaces overlap in range and the article route answers 412 for a collection id.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)collection string required — Figshare collection id, the address of its Figshare page, or its DOI (examples: "8708787", "https://figshare.com/collections/_/8708787", "10.1021/acs.jafc.6c06281"; minLength: 1)@type string (default: "FigshareCollectionDetail")id string requiredurl string requireddoi string nullabledescription string nullablecitation string nullableversion string nullablearticle_count integer nullablecreated_at string nullablemodified_at string nullablepublished_at string nullabletimeline object nullable@type string (default: "FigshareTimeline")posted_at string nullablesubmitted_at string nullablerevised_at string nullablefirst_online_date string nullablepublisher_publication_date string nullablepublisher_acceptance_date string nullablegroup_id string nullableinstitution_id string nullablegroup_resource_id string nullablesource_doi string nullablesource_title string nullablesource_url string nullablesource_version string nullableauthors array (default: [])@type string (default: "FigshareAuthor")id string nullablefull_name string requiredfirst_name string nullablelast_name string nullableorcid string nullablealias string nullableis_active boolean nullablecategories array (default: [])@type string (default: "FigshareCategory")id string requiredparent_category_id string nullabletaxonomy_id string nullablepath string nullablesource_id string nullabletags array (default: [])references array (default: [])funding array (default: [])@type string (default: "FigshareFunding")id string nullablegrant_code string nullablefunder_name string nullableurl string nullableis_user_defined boolean nullablerelated_materials array (default: [])@type string (default: "FigshareRelatedMaterial")id string nullableidentifier string nullableidentifier_type string nullablerelation string nullablelink_url string nullableis_linkout boolean nullablecustom_fields array (default: [])@type string (default: "FigshareCustomField")name string requiredvalues array (default: [])field_type string nullableis_mandatory boolean nullableis_public boolean nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — No Figshare collection carries this id or DOI Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.