PubMed Article Details
POST /api/v1/pubmed/articles/details
Get a PubMed article's full record, including abstract sections, authors with affiliations and ORCID iDs, journal details, MeSH terms, keywords, chemicals, grants, references, citing articles, DOI and free full-text links.
Overview
Get a PubMed article's full record, including abstract sections, authors with affiliations and ORCID iDs, journal details, MeSH terms, keywords, chemicals, grants, references, citing articles, DOI and free full-text links.
POST /api/v1/pubmed/articles/details
Method: POST Path: /api/v1/pubmed/articles/details Category: Research & Public Records
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| article_url | string | Required | PubMed article URL (e.g. https://pubmed.ncbi.nlm.nih.gov/31452104/) or the numeric PMID. |
Request Example
PubMed Article Details Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/pubmed/articles/details" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"article_url": "example"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "pmid": "1234567890", "title": "string", "abstract": "string", "abstract_sections": [ { "label": "string", "text": "string" } ], "copyright": "string", "authors": [ { "name": "string", "last_name": "string", "fore_name": "string", "initials": "string", "suffix": "string", "is_collective": false, "affiliations": [ "string" ], "orcid": "1234567890" } ], "journal": { "title": "string", "iso_abbreviation": "string", "medline_abbreviation": "string", "issn_print": "string", "issn_electronic": "string", "country": "string", "nlm_id": "1234567890" }, "volume": "string", "issue": "string", "pages": "string", "pub_date": "2026-01-01T12:00:00Z", "pub_date_iso": "string", "year": 0, "electronic_pub_date": "2026-01-01T12:00:00Z", "doi": "string", "pmcid": "1234567890", "pii": "string", "publication_types": [ "string" ], "language": [ "string" ], "keywords": [ "string" ], "mesh_terms": [ { "descriptor": "string", "ui": "string", "major_topic": false, "qualifiers": [ "string" ] } ], "chemicals": [ "string" ], "grants": [ { "grant_id": "1234567890", "agency": "string", "country": "string" } ], "publication_status": "string", "history": {}, "references": [ { "citation": "string", "pmid": "1234567890", "doi": "string", "pmcid": "1234567890" } ], "references_count": 0, "cited_by_count": 0, "cited_by": [ "string" ], "url": "https://example.com/...", "doi_url": "https://example.com/...", "pmc_url": "https://example.com/...", "error": "string", "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "PubMed Article Details", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| pmid | string | Yes | PubMed ID, e.g. '31452104'. |
| title | string | Yes | Article title. |
| abstract | string | No | Full abstract text (structured abstracts as 'LABEL: text' lines); empty when the article has none. |
| abstract_sections | array<object> | No | Abstract split into its labelled sections (label is empty for unstructured abstracts). |
| abstract_sections[].label | string | Yes | e.g. 'BACKGROUND', 'METHODS', 'RESULTS'. |
| abstract_sections[].text | string | Yes | |
| copyright | string | No | Abstract copyright notice, when given. |
| authors | array<object> | Yes | |
| authors[].name | string | Yes | Full author name, or the group name for collective authors. |
| authors[].last_name | string | No | |
| authors[].fore_name | string | No | |
| authors[].initials | string | No | |
| authors[].suffix | string | No | e.g. 'Jr'. |
| authors[].is_collective | boolean | No | True for group/consortium authors. |
| authors[].affiliations | array<string> | No | Author affiliations as listed on the article. |
| authors[].orcid | string | No | ORCID iD, when listed. |
| journal | object | Yes | |
| journal.title | string | No | Journal (or book) title. |
| journal.iso_abbreviation | string | No | |
| journal.medline_abbreviation | string | No | |
| journal.issn_print | string | No | |
| journal.issn_electronic | string | No | |
| journal.country | string | No | Country of publication. |
| journal.nlm_id | string | No | NLM catalog id of the journal. |
| volume | string | No | |
| issue | string | No | |
| pages | string | No | Page range, e.g. '149-167'. |
| pub_date | string | No | Publication date as printed, e.g. '2019 Aug 28'. |
| pub_date_iso | string | No | Publication date as YYYY, YYYY-MM or YYYY-MM-DD. |
| year | integer | null | No | Publication year. |
| electronic_pub_date | string | No | Online publication date (YYYY-MM-DD), when given. |
| doi | string | No | |
| pmcid | string | No | PubMed Central id of the free full text, when available. |
| pii | string | No | Publisher item identifier, when given. |
| publication_types | array<string> | No | |
| language | array<string> | No | |
| keywords | array<string> | No | Author keywords. |
| mesh_terms | array<object> | No | MeSH subject headings indexed for the article. |
| mesh_terms[].descriptor | string | Yes | MeSH heading, e.g. 'Software'. |
| mesh_terms[].ui | string | No | MeSH unique id, e.g. 'D012984'. |
| mesh_terms[].major_topic | boolean | No | True when the heading is a major topic of the article. |
| mesh_terms[].qualifiers | array<string> | No | Subheadings, e.g. 'chemistry'. |
| chemicals | array<string> | No | Substances indexed for the article. |
| grants | array<object> | No | |
| grants[].grant_id | string | No | |
| grants[].agency | string | No | |
| grants[].country | string | No | |
| publication_status | string | No | e.g. 'ppublish', 'epublish', 'aheadofprint'. |
| history | object | No | Record dates by event (received, accepted, entrez, pubmed, medline...), YYYY-MM-DD. |
| references | array<object> | No | Reference list, when PubMed has it. |
| references[].citation | string | No | |
| references[].pmid | string | No | |
| references[].doi | string | No | |
| references[].pmcid | string | No | |
| references_count | integer | No | |
| cited_by_count | integer | null | No | Number of PubMed Central articles citing this one (null when unavailable). |
| cited_by | array<string> | No | PMIDs of citing articles (up to 200). |
| url | string | Yes | PubMed article page URL. |
| doi_url | string | No | Publisher link via DOI, when known. |
| pmc_url | string | No | Free full-text link on PubMed Central, when available. |
| error | string | No | Present only when the request failed. |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/pubmed/articles/details?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
article_url example
Pricing & Rate Limits
Endpoint Pricing
$0.0022 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |