Sources › Research › PubMed › Databases

PubMed Databases API

NCBI's 429 body echoes our egress address back inside an `api-key` field.

PubMedGET /databasesAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/research:pubmed/databases

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 5 minutes.

Parameters

No parameters. Call it as is.

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/research:pubmed/databases" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/research:pubmed/databases", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/research:pubmed/databases",
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "research:pubmed",
  "data": {
    "count": 37,
    "items": [
      {
        "db": "pubmed"
      },
      {
        "db": "protein"
      },
      {
        "db": "nuccore"
      },
      {
        "db": "ipg"
      },
      {
        "db": "nucleotide"
      },
      {
        "db": "structure"
      },
      {
        "db": "genome"
      },
      {
        "db": "grasp"
      }
    ],
    "provider": "pubmed"
  },
  "timestamp": "2026-08-30T00:49:24Z"
}

Frequently asked questions

How do I call the PubMed Databases API?

Send a GET request to https://api.zapi.ink/v1/research:pubmed/databases with your Zapi key in the x-api-key header. It takes no parameters. The response is JSON in the { project, data, timestamp } envelope.

What does the PubMed Databases API return?

NCBI's 429 body echoes our egress address back inside an `api-key` field. The example response has the fields count, items, provider. Each item in items has fields such as db.

Is the PubMed Databases API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the PubMed Databases API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "pubmed" and endpoint "databases".

What other PubMed API endpoints are there?

It has 4 endpoints. Besides Databases: Abstract, Search, Summary.