Pubmed Convert Ids
pubmed_convert_idsConvert DOI, PMID, and PMCID identifiers for articles indexed in PubMed Central. Submit up to 50 IDs of one type to resolve them across formats.
Instructions
Convert between article identifiers (DOI, PMID, PMCID). Accepts up to 50 IDs of a single type per request. Only resolves articles indexed in PubMed Central — for articles not in PMC, use pubmed_search_articles instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Article identifiers to convert — one identifier per element, all of the same type. Each element is checked against `idType` before the request: `doi` starts with "10." and carries a "/" ("10.1093/nar/gks1195"); `pmid` is digits ("23193287"); `pmcid` is digits with an optional "PMC" prefix ("PMC3531190" or "3531190"). No element may contain a comma or whitespace — a packed value like "23193287,37952131" is rejected, so split it across elements. | |
| idType | Yes | The type of IDs being submitted. Required so the API can unambiguously resolve them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| records | No | Conversion results, one per input ID | |
| totalConverted | No | Number of IDs successfully converted | |
| totalSubmitted | No | Number of IDs submitted |