convert_ids
Convert between PubMed IDs, PMCIDs, manuscript IDs, and DOIs using the PMC ID Converter. Supports up to 200 IDs, auto-detects type or allows explicit specification.
Instructions
Convert between PubMed IDs, PMCIDs, Author Manuscript IDs, and DOIs via the PMC ID Converter API.
ids accepts up to 200 comma-separated IDs, all of the same type. Type is auto-detected
from format unless idtype is set explicitly. Only returns results for articles present in PMC.
Set versions=True to include manuscript/version history in the response.
Examples: convert_ids(ids="23193287") convert_ids(ids="3531190", idtype="pmcid") convert_ids(ids="10.1093/nar/gks1195", idtype="doi")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| idtype | No | ||
| versions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||