{"uid":"cap__Cln9D1kJD4-XJjzIto-s","slug":"pubmed-sekgen-xyz-b2a606f8","name":"PubMed Publication Trends API","description":"Biomedical research publication trends from PubMed — year-by-year counts, growth analytics, and CAGR for any medical, clinical, or scientific topic","url":"https://pubmed.sekgen.xyz/api/v1/trends","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"query":"machine learning in drug discovery"}}},"response":{"data":[{"year":2016,"count":138,"proportion":0.00010734988907178129,"yoy_growth":null,"total_pubmed":1285516},{"year":2017,"count":170,"proportion":0.00013033001860652678,"yoy_growth":0.2318840579710145,"total_pubmed":1304381},{"year":2018,"count":304,"proportion":0.00022490546941988446,"yoy_growth":0.788235294117647,"total_pubmed":1351679},{"year":2019,"count":463,"proportion":0.0003262900260256818,"yoy_growth":0.5230263157894737,"total_pubmed":1418983},{"year":2020,"count":484,"proportion":0.00029489556492911845,"yoy_growth":0.04535637149028078,"total_pubmed":1641259},{"year":2021,"count":732,"proportion":0.0004095081985555326,"yoy_growth":0.512396694214876,"total_pubmed":1787510},{"year":2022,"count":763,"proportion":0.0004278263170938762,"yoy_growth":0.04234972677595628,"total_pubmed":1783434},{"year":2023,"count":892,"proportion":0.0005253307168879691,"yoy_growth":0.1690694626474443,"total_pubmed":1697978},{"year":2024,"count":1310,"proportion":0.0007534317088923921,"yoy_growth":0.46860986547085204,"total_pubmed":1738711},{"year":2025,"count":2026,"proportion":0.0010783673964719395,"yoy_growth":0.5465648854961832,"total_pubmed":1878766},{"year":2026,"count":1007,"proportion":0.0011547529493789333,"yoy_growth":-0.5029615004935835,"total_pubmed":872048}],"query":"machine learning in drug discovery","cached":false,"source":"pubmed","end_year":2026,"analytics":{"cagr":0.21987417814200239,"peak_year":2025,"peak_count":2026,"acceleration":-0.2754532587372879,"trend_direction":"declining"},"cache_date":"2026-05-29","start_year":2016,"total_results":8289}},"exampleRequest":{"query":"machine learning in drug discovery"},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uMIk4MxiCAUU827qSX95N","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns year-by-year publication counts, growth analytics, and CAGR for any biomedical or clinical research topic queried against PubMed","exampleAgentPrompt":"Show me the year-by-year PubMed publication counts and CAGR for 'checkpoint inhibitor immunotherapy' so I can see how fast research in that area has been growing over the past decade.","exampleUseCases":[{"title":"Track mRNA vaccine research growth","prompt":"Can you pull up the year-by-year PubMed publication counts and CAGR for mRNA vaccines? I want to see how dramatically research interest has surged over the past decade, especially around 2020."},{"title":"Analyze GLP-1 agonist research momentum","prompt":"Show me the annual publication trends and compound annual growth rate for GLP-1 agonists on PubMed — I'm trying to understand how fast the research field has been expanding and whether growth is accelerating or plateauing."},{"title":"Long COVID publication volume over time","prompt":"I'd like to see a year-by-year breakdown of PubMed publications on long COVID along with the CAGR, so I can gauge how quickly the scientific community has been responding to it as an emerging research area."}],"resultDescription":"Returns an annual breakdown of PubMed publication counts for the queried topic, along with compound annual growth rate (CAGR) and growth analytics to characterize research momentum over time.","failureModes":["Missing or empty 'input' query parameter returns 400 validation error","Overly broad or ambiguous search terms may return very high counts with low specificity","Very niche topics with few publications may return sparse or zero-count years","PubMed API rate limits or connectivity issues may cause upstream timeouts","Non-biomedical or non-indexed topics will return no results"],"whenToPreferThis":"Use this endpoint when you need longitudinal, multi-year publication trend data for a biomedical or clinical topic — particularly when CAGR or growth trajectory analysis is required. Prefer over the single-year count endpoint when historical context and trend lines matter. Choose over the comparison endpoint when analyzing a single topic in depth rather than comparing multiple terms side by side.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:35:39.642Z","isFirstParty":false}