raw_request
Send raw GET requests to NCBI PubMed/PMC APIs for endpoints not covered by other tools, supporting E-utilities, BioC, Citation Exporter, and ID Converter services.
Instructions
Make a raw GET request to one of the four supported NCBI PubMed/PMC APIs. Safety valve for endpoints not covered by other tools.
service selects the base URL: "eutils" (E-utilities), "bioc" (BioC full text),
"citexport" (Literature Citation Exporter), "idconv" (PMC ID Converter).
path is appended to the service base URL (e.g. "esearch.fcgi" for eutils,
"BioC_json/17299597/unicode" for bioc, "pubmed/" for citexport, "" for idconv).
params is a dict of query-string parameters specific to that endpoint.
Examples: raw_request(service="eutils", path="einfo.fcgi", params={"retmode": "json"}) raw_request(service="bioc", path="BioC_xml/PMC1790863/unicode", params={})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| params | Yes | ||
| service | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||