Skip to main content
POST
/
api
/
europepmc
/
articles
/
search
/europepmc/articles/search
curl --request POST \
  --url https://api.anysite.io/api/europepmc/articles/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300,
  "result_type": "core",
  "sort": "relevance"
}
'
[
  {
    "id": "<string>",
    "source": "<string>",
    "@type": "@europepmc_article",
    "pmid": "<string>",
    "pmcid": "<string>",
    "doi": "<string>",
    "title": "",
    "abstract": "<string>",
    "author_string": "<string>",
    "affiliation": "<string>",
    "authors": [],
    "journal": {
      "@type": "@europepmc_journal",
      "title": "<string>",
      "iso_abbreviation": "<string>",
      "medline_abbreviation": "<string>",
      "nlmid": "<string>",
      "issn": "<string>",
      "essn": "<string>",
      "volume": "<string>",
      "issue": "<string>",
      "issue_id": 123,
      "year": 123,
      "month_of_publication": 123,
      "print_publication_date": "<string>",
      "date_of_publication": "<string>"
    },
    "pub_year": 123,
    "page_info": "<string>",
    "first_publication_date": "<string>",
    "language": "<string>",
    "pub_model": "<string>",
    "publication_status": "<string>",
    "pub_types": [],
    "version_number": 123,
    "has_evaluations": false,
    "versions": [],
    "keywords": [],
    "mesh_headings": [],
    "chemicals": [],
    "grants": [],
    "comments": [],
    "full_text_urls": [],
    "license": "<string>",
    "is_open_access": false,
    "in_epmc": false,
    "in_pmc": false,
    "has_pdf": false,
    "has_book": false,
    "has_suppl": false,
    "has_references": false,
    "has_text_mined_terms": false,
    "has_db_cross_references": false,
    "has_labs_links": false,
    "has_data": false,
    "cited_by_count": 0,
    "date_of_creation": "<string>",
    "date_of_revision": "<string>",
    "first_index_date": "<string>",
    "web_url": ""
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search query in Europe PMC query syntax. Supports free text, fielded search (AUTH:"Smith J", TITLE:cancer, AFF:..., JOURNAL:..., DOI:..., PUB_YEAR:2020, PUB_YEAR:[2018 TO 2022]), boolean AND/OR/NOT, and filter flags (OPEN_ACCESS:Y, HAS_FT:Y, IN_EPMC:Y, HAS_REFERENCES:Y, LANG:eng)

Minimum string length: 1
Examples:

"cancer"

"AUTH:\"Iadecola C\" AND PUB_YEAR:[2015 TO 2020]"

"COVID-19 AND OPEN_ACCESS:Y"

count
integer
required

Number of articles to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
result_type
enum<string>
default:core

Level of detail per article

Available options:
core,
lite,
idlist
sort
enum<string>
default:relevance

Result ordering

Available options:
relevance,
CITED desc,
CITED asc,
P_PDATE_D desc,
P_PDATE_D asc

Response

Successful Response

id
string
required
source
string
required
@type
string
default:@europepmc_article
pmid
string | null
pmcid
string | null
doi
string | null
title
string
default:""
abstract
string | null
author_string
string | null
affiliation
string | null
authors
EuropepmcAuthor · object[]
journal
EuropepmcJournal · object
pub_year
integer | null
page_info
string | null
first_publication_date
string | null
language
string | null
pub_model
string | null
publication_status
string | null
pub_types
string[]
version_number
integer | null
has_evaluations
boolean
default:false
versions
EuropepmcVersion · object[]
keywords
string[]
mesh_headings
EuropepmcMeshHeading · object[]
chemicals
EuropepmcChemical · object[]
grants
EuropepmcGrant · object[]
comments
EuropepmcComment · object[]
full_text_urls
EuropepmcFullTextUrl · object[]
license
string | null
is_open_access
boolean
default:false
in_epmc
boolean
default:false
in_pmc
boolean
default:false
has_pdf
boolean
default:false
has_book
boolean
default:false
has_suppl
boolean
default:false
has_references
boolean
default:false
has_text_mined_terms
boolean
default:false
has_db_cross_references
boolean
default:false
has_data
boolean
default:false
cited_by_count
integer
default:0
date_of_creation
string | null
date_of_revision
string | null
first_index_date
string | null
web_url
string
default:""