Discover rising sub-topics within any biomedical research field via multi-year growth analysis from OpenAlex data.
What it does
The trending-subtopics endpoint at pubmed.sekgen.xyz identifies which sub-topics within a given research field are growing fastest. It draws on OpenAlex topic breakdowns to compute compound annual growth rates (CAGR) over a configurable 2–5 year window, returning ranked results with per-year publication counts, growth scores, and trend direction. The endpoint accepts a free-text query defining the field (e.g. "ulcerative colitis", "CRISPR", "cardiology") and returns up to 25 sub-topics sorted by growth.
Payment is handled via the x402 protocol: the server responds with HTTP 402 and a payment challenge; an x402-compatible client signs a USDC transfer on Base L2 and retries with proof. The cost is $0.05 per query. No API keys or subscriptions are required. Responses are structured JSON designed for LLM agents and data pipelines.
The service is part of a broader PubMed Trends API suite covering 11 endpoints (trends, compare, emerging, hottest-weekly, pulse, snapshot, keypapers, digest, explore, author, and this one). Data is sourced from NCBI PubMed (36M+ articles) and OpenAlex. The trending-subtopics endpoint is specifically powered by OpenAlex and is useful for grant writing, biotech due diligence, research surveillance, and identifying niche growth areas within established fields.
Capabilities
Use cases
- —Identify which sub-specialties within oncology or neuroscience are gaining traction for grant proposals
- —Monitor a therapeutic area for rising sub-topics as part of a weekly research surveillance pipeline
- —Evaluate the scientific momentum behind a biotech company's focus areas during due diligence
- —Help a principal investigator build the Significance section of a grant application with data-backed emerging trends
- —Feed an LLM agent with structured growth data to generate research landscape summaries
Fit
Best for
- —AI agents needing structured biomedical trend data without API key management
- —Biotech analysts performing scientific due diligence on emerging sub-fields
- —Grant writers who need quantitative evidence of topic growth
- —Research teams running automated surveillance on specific therapeutic domains
Not for
- —Full-text article retrieval or abstract access (use PubMed MCP or E-utilities for that)
- —Real-time clinical decision support or patient-facing applications
- —Non-biomedical research domains outside PubMed/OpenAlex coverage
Quick start
# Using an x402-compatible client (e.g. Coinbase awal):
awal x402 pay 'https://pubmed.sekgen.xyz/api/v1/trending-subtopics?query=ulcerative+colitis&limit=10'
# Pays $0.05 USDC on Base → returns rising sub-topics with CAGR and countsExample
Request
{
"url": "https://pubmed.sekgen.xyz/api/v1/trending-subtopics?query=ulcerative+colitis&limit=10&window=3",
"method": "GET"
}Response
{
"as_of": "2026-02-22",
"query": "ulcerative colitis",
"results": [
{
"cagr": 0.102,
"counts": {
"2022": 276,
"2023": 301,
"2024": 335
},
"topic_id": "T13569",
"topic_name": "Microscopic Colitis",
"growth_score": 0.257,
"trend_direction": "growing",
"latest_year_count": 335
}
],
"window_years": 3,
"total_topics_found": 162
}Endpoint
Quality
The endpoint is live (402 challenge captured), documentation is thorough with parameter tables, example requests, and example responses. No formal OpenAPI schema is published, but the docs page provides equivalent detail. Price is clearly stated at $0.05 USDC.
Warnings
- —No formal OpenAPI/JSON schema file was found; documentation is HTML-based only
- —The /pricing and /README paths return 404; pricing info is only on the landing page and docs
Citations
- —The trending-subtopics endpoint costs $0.05 per query in USDChttps://pubmed.sekgen.xyz/docs
- —The endpoint accepts query (required), limit (1-25, default 10), and window (2-5, default 3) parametershttps://pubmed.sekgen.xyz/docs
- —Data is sourced from 36M+ PubMed articles and OpenAlexhttps://pubmed.sekgen.xyz
- —Payment is via x402 protocol using USDC on Base L2https://pubmed.sekgen.xyz
- —The endpoint is live and returns a 402 payment challengehttps://pubmed.sekgen.xyz/api/v1/trending-subtopics
- —Example response includes topic_id, topic_name, counts per year, cagr, trend_direction, latest_year_count, and growth_scorehttps://pubmed.sekgen.xyz/docs