# MedAPI PubMed Search

> MedAPI PubMed Search is a paid API for AI agents from madapi.tempochan.xyz, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Searches PubMed for biomedical literature articles matching a given query, returning article metadata and results.

## Facts

- Endpoint: POST https://madapi.tempochan.xyz/api/pubmed
- Price: $0.03/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-b38bf720
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e5onvt7hlBofuQ5ZdUZxO

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-b38bf720 -d '<json body>'
```

Example prompt: Search PubMed for recent studies on metformin and cardiovascular outcomes — I need a list of relevant articles with their metadata.

## When to prefer this

Use this endpoint when you need to search PubMed's biomedical literature database programmatically — especially when an agent needs to retrieve peer-reviewed research, clinical studies, or drug-related publications. Prefer this over general web search when the user specifically wants academic or clinical evidence from PubMed.

## Known failure modes

- Empty query string returns validation error
- Overly broad or ambiguous query may return irrelevant articles
- PubMed API downtime may cause upstream failure and empty results
- Payment failure via x402 prevents access to endpoint
- Malformed query syntax may return zero results without explicit error

## How this service works

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

## Output

Returns a JSON object with a success flag, a total count of matching articles, and an array of article objects containing PubMed article metadata such as titles, authors, abstracts, and publication details.

## 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-b38bf720/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from madapi.tempochan.xyz](https://www.zero.xyz/host/madapi.tempochan.xyz/llms.txt)
