Medical Research
PubMed API
Seamlessly integrate medical and clinical research data into your applications with reliable structured JSON.
Overview
The PubMed API allows you to search the PubMed biomedical literature database programmatically. Retrieve article titles, authors, abstracts, PMIDs, and open-access indicators for healthcare apps, research platforms, and clinical decision support tools.
<100ms
Avg. Response Time
99.97%
Uptime Guarantee
35M+ citations
Coverage
API Endpoint
GEThttps://api.bitlore.in/search
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| q | string | Yes | Search term for biomedical literature |
| search_engine | string | Yes | Must be "pubmed" |
| api_key | string | Yes | Your API key for authentication |
| page | integer | No | Page number for pagination (default: 1) |
Code Examples
import axios from 'axios';
const searchPubmed = async () => {
try {
const response = await axios.get('https://api.bitlore.in/search', {
params: {
search_engine: 'pubmed',
q: 'machine learning',
page: 1,
api_key: 'YOUR_API_KEY'
}
});
console.log('Results:', response.data);
return response.data;
} catch (error) {
console.error('Error:', error.response?.data || error.message);
}
};
searchPubmed();Response Format
{
"status": true,
"message": "Task executed",
"data": {
"results": [
{
"title": "A guide to machine learning for biologists.",
"link": "https://pubmed.ncbi.nlm.nih.gov/34518686/",
"authors": "Greener JG, Kandathil SM, Moffat L, Jones DT.",
"source": "Nat Rev Mol Cell Biol. 2022 Jan;23(1):40-55.",
"snippet": "Overview of machine learning methods for biological data...",
"pmid": "34518686",
"is_free": false
}
],
"related_searches": [{ "title": "machine learning medicine" }],
"current_page": 1,
"total_pages": "18,573"
}
}Response Field Reference
Fields inside data.results[]:
| Field | Type | Description |
|---|---|---|
| title | string | Article title |
| link | string (URL) | PubMed article URL |
| authors | string | Author list |
| source | string | Journal and publication details |
| snippet | string | Abstract excerpt |
| pmid | string | PubMed unique identifier |
| is_free | boolean | Whether full text is freely available |
Pagination
Use the page parameter to fetch additional result pages. Default is page 1.
GET .../search?search_engine=pubmed&q=cancer+immunotherapy&page=2&api_key=YOUR_KEY
Error Handling
400 Bad Request
Invalid or missing parameters
401 Unauthorized
Invalid or missing API key
402 Payment Required
Quota exceeded — upgrade your plan
Rate Limits & Quotas
Limits depend on your plan. Free Developer tier: 50 calls. Production and above: 10,000+ calls per billing period.
View pricing →Status Codes
200 — Success
400 — Bad Request
401 — Unauthorized
402 — Payment Required