Skip to content

Pubmed Search Endpoint

Search PubMed and return research papers with full metadata.

This endpoint returns actual research papers from PubMed with their
original structure including title, authors, journal, abstract, and metadata.

- **query**: The medical research query to search for
- **max_results**: Maximum number of papers (1-10, default: 3)

Returns research papers as they appear in PubMed with full metadata.

API Reference

Endpoint: POST /search/pubmed

Example Usage

curl -X POST http://localhost:8000/search/pubmed \
  -H 'Content-Type: application/json' \
  -d '{'query': 'What are symptoms of high blood pressure?', 'max_results': 3}'