# PubMed Multi-Term Publication Trend Comparator

> PubMed Multi-Term Publication Trend Comparator is a paid API for AI agents from pubmed.sekgen.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Compares biomedical publication trends across multiple PubMed search terms side-by-side, with growth rates, CAGR rankings, and crossover detection

## Facts

- Endpoint: GET https://pubmed.sekgen.xyz/api/v1/compare
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pubmed-sekgen-xyz-de76e3ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HDRobkH5Hq0Af9-q8teq2

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 pubmed-sekgen-xyz-de76e3ba
```

Example prompt: Compare the publication growth trends on PubMed for 'immunotherapy', 'gene therapy', and 'CAR-T cell therapy' — I want to see their year-by-year counts side by side, their CAGRs ranked, and whether any of them have crossed each other in volume.

## When to prefer this

Use this endpoint when you need to compare the relative research momentum of two or more biomedical topics simultaneously — especially when you want ranked CAGR, crossover detection, or side-by-side trend lines rather than a single topic's standalone growth curve.

## Known failure modes

- Invalid or empty search terms return no results
- Too many simultaneous terms may exceed query limits
- PubMed API unavailability causes upstream failures
- Ambiguous search terms may return noisy or unexpected counts
- Payment failure (x402) prevents access to results

## How this service works

Compare biomedical publication trends across multiple PubMed search terms — side-by-side growth, CAGR ranking, and crossover detection for medical and scientific research

## Output

Returns a side-by-side comparison of publication counts and growth metrics for multiple PubMed search terms, including year-by-year trend data, compound annual growth rates (CAGR) ranked across all terms, and detected crossover points where one topic's publication volume surpassed another.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "terms": "immunotherapy,gene therapy",
   "end_year": "2023",
   "start_year": "2015"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pubmed-sekgen-xyz-de76e3ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pubmed.sekgen.xyz](https://www.zero.xyz/host/pubmed.sekgen.xyz/llms.txt)
