# MedAPI PubMed Search

> MedAPI PubMed Search is a paid API for AI agents from mamujamedapi.vercel.app, paid per call via x402, $0.2/call, status unknown (last checked 2026-09-14).

Searches PubMed's biomedical literature database and returns matching research articles for a given query

## Facts

- Endpoint: POST https://mamujamedapi.vercel.app/api/pubmed
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/medapi-pubmed-search-00013ccb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YVMjvkM6xqqAHAhxLNsfS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability medapi-pubmed-search-00013ccb -d '<json body>'
```

Example prompt: Search PubMed for research articles on metformin and cardiovascular outcomes in type 2 diabetes patients and give me a summary of what comes up.

## When to prefer this

Choose this endpoint when an agent needs to retrieve peer-reviewed biomedical literature from PubMed programmatically, especially within a broader medical intelligence workflow that also involves drug data, adverse events, or clinical trial lookups available on the same platform. Prefer over direct PubMed API access when a pay-per-call model on Base with no API key management is desirable.

## Known failure modes

- Empty query string returns validation error or empty results
- Overly broad query returns unmanageable result sets with limited utility
- Query for non-existent or misspelled medical terms returns zero results
- Network timeout if PubMed upstream is slow or unavailable
- Payment failure on Base network prevents API access
- Rate limiting if too many requests are made in rapid succession

## How this service works

Drug data, adverse events, clinical trials, PubMed. AI-powered medical analysis. 17 endpoints. x402 on Base.

## Output

Returns a success flag, a total count of matching articles, and an array of PubMed article objects containing metadata such as titles, authors, abstracts, publication dates, and identifiers for biomedical research papers matching the query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "query"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "total": {
     "type": "integer"
    },
    "articles": {
     "type": "array",
     "items": {
      "type": "object"
     }
    }
   }
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/medapi-pubmed-search-00013ccb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mamujamedapi.vercel.app](https://www.zero.xyz/host/mamujamedapi.vercel.app/llms.txt)
