ScholarMuse General API
The general API from ScholarMuse — 15 operation(s) for general.
The general API from ScholarMuse — 15 operation(s) for general.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/scholarmuse-ai:scholarmuse-ai-general-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ScholarMuse REST General API
version: '1'
description: 'Run ScholarMuse academic tools over HTTPS with an API key. Each key may send 60 requests per 60 seconds. Guide: https://scholarmuse.ai/docs/rest-api'
servers:
- url: https://scholarmuse.ai
security:
- bearerAuth: []
tags:
- name: General
paths:
/api/v1/get_balance:
post:
operationId: get_balance
summary: Check credit balance
description: 'Check the signed-in account’s remaining credits, plan, call limits and links to add credits. Always free, including at zero credits. Call when the user asks about balance or before a large batch or figure. Estimates are alternatives, not a combined budget. Show low-credit notices briefly once; after insufficient_credits or paid_plan_required, show the supplied payment link and wait for the user instead of repeatedly retrying. Never make a purchase for the user.
Discipline pack: general. Cost: Free.'
tags:
- General
requestBody:
required: true
content:
application/json:
schema:
type: object
properties: {}
additionalProperties: false
responses:
'200':
description: The tool result.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
/api/v1/list_capabilities:
post:
operationId: list_capabilities
summary: List ScholarMuse capabilities
description: 'List every ScholarMuse capability with its tools, discipline pack and data sources. Call this first to see what you can do for the user.
Discipline pack: general. Cost: Free.'
tags:
- General
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
discipline:
description: Only list capabilities in this discipline pack.
type: string
enum:
- general
- life
- chem
- earth
- astro
- humanities
additionalProperties: false
responses:
'200':
description: The tool result.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
/api/v1/create_figure:
post:
operationId: create_figure
summary: Create a scientific figure
description: 'Generate a publication-ready scientific figure (mechanism or pathway diagram, workflow, study design, graphical abstract, schematic) from a description. Returns an image URL, or a figure_id to fetch with get_figure if it is still rendering. Not for plots of numeric data — write plotting code for those.
Discipline pack: general. Cost: 100 credits per finished figure (paid accounts only).'
tags:
- General
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
description:
type: string
minLength: 20
maxLength: 4000
description: 'What the figure shows: the entities, their relationships and the order of events. Be specific and scientifically precise.'
kind:
description: 'Figure type. Default: schematic.'
type: string
enum:
- mechanism
- workflow
- graphical_abstract
- schematic
- poster_panel
style:
description: 'Visual style. Default: nature.'
type: string
enum:
- nature
- cell
- minimal_line
- flat_color
- textbook
labels:
description: Exact text labels to appear in the figure.
maxItems: 20
type: array
items:
type: string
maxLength: 60
aspect_ratio:
description: Default 16:9 for graphical abstracts and workflows, otherwise 4:3.
type: string
enum:
- '16:9'
- '4:3'
- '1:1'
- '3:4'
- '9:16'
required:
- description
additionalProperties: false
responses:
'200':
description: The tool result.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
/api/v1/edit_figure:
post:
operationId: edit_figure
summary: Edit a scientific figure
description: 'Change a figure made with create_figure using a plain-language instruction (e.g. "make the arrows thicker", "rename the label X to Y"). Returns a new image; the original is kept.
Discipline pack: general. Cost: 100 credits per finished figure (paid accounts only).'
tags:
- General
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
figure_id:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
description: The figure_id returned by create_figure, edit_figure or get_figure.
instruction:
type: string
minLength: 5
maxLength: 1500
description: What to change. One or two changes per call work best.
required:
- figure_id
- instruction
additionalProperties: false
responses:
'200':
description: The tool result.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
/api/v1/get_figure:
post:
operationId: get_figure
summary: Get a figure
description: 'Fetch a figure by figure_id: returns the image URL when it is ready, or tells you it is still rendering.
Discipline pack: general. Cost: Free.'
tags:
- General
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
figure_id:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
description: The figure_id returned by create_figure or edit_figure.
required:
- figure_id
additionalProperties: false
responses:
'200':
description: The tool result.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
/api/v1/search_papers:
post:
operationId: search_papers
summary: Search papers
description: 'Search real scholarly papers across OpenAlex, PubMed / Europe PMC, arXiv, INSPIRE-HEP and ERIC, de-duplicated, each source in its own relevance order. Returns DOI, authors, year, venue, citation count and open-access link. Use this instead of recalling references from memory.
Discipline pack: general. Cost: 2 credits per successful call.'
tags:
- General
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
description: Topic, keywords or a natural-language question. Phrases in double quotes must appear in the title or abstract. Optional when related_to is set.
type: string
minLength: 2
related_to:
description: 'DOI or OpenAlex work id (W…): find related papers via OpenAlex only. Optional when query is set.'
type: string
minLength: 3
must_include:
description: Up to 5 phrases; each must appear in the title or abstract (case-insensitive).
maxItems: 5
type: array
items:
type: string
minLength: 1
sort:
description: 'relevance (default): lexical re-ranking; cited_by / newest: global sort by citations or date.'
type: string
enum:
- relevance
- cited_by
- newest
year_from:
description: Earliest publication year.
type: integer
minimum: 1800
maximum: 2100
year_to:
description: Latest publication year.
type: integer
minimum: 1800
maximum: 2100
open_access_only:
description: Only papers with a free full text.
type: boolean
sources:
description: 'Limit to these source ids: openalex, pubmed, arxiv, inspire-hep, eric, crossref, dblp. Default: openalex, pubmed and arxiv. Add eric for education research, inspire-hep for high-energy physics, dblp for computer science (dblp currently often blocks scripted requests with a bot check; OpenAlex and arXiv cover most CS papers).'
type: array
items:
type: string
limit:
description: Results to return (default 10).
type: integer
minimum: 1
maximum: 25
additionalProperties: false
responses:
'200':
description: The tool result.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
/api/v1/get_paper:
post:
operationId: get_paper
summary: Get paper details
description: 'Look up one paper by DOI, PMID ("pmid:123"), PMCID, arXiv id ("arxiv:1706.03762") or OpenAlex id. Returns verified metadata, abstract, citation count, retraction flag and an open-access link when one exists.
Discipline pack: general. Cost: 1 credit per successful call.'
tags:
- General
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
id:
type: string
minLength: 3
description: DOI (10.xxxx/… or a doi.org URL), pmid:12345, PMC12345, arxiv:2301.01234 (or a bare arXiv id), or an OpenAlex id (W…).
required:
- id
additionalProperties: false
responses:
'200':
description: The tool result.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
/api/v1/search_grants:
post:
operationId: search_grants
summary: Search funded grants
description: 'Search funded research projects at NIH (RePORTER), NSF and UKRI by topic, investigator, institution or year. Returns one record per project with project number, PI, organisation, funder, dates, amount and abstract. Use it to find who funds a topic or what a lab is funded for.
Discipline pack: general. Cost: 2 credits per successful call.'
tags:
- General
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
minLength: 2
description: Research topic or keywords, e.g. "CAR-T resistance".
funder:
description: 'Limit to one funder. Default: all three.'
type: string
enum:
- nih
- nsf
- ukri
pi_name:
description: Principal investigator name, e.g. "Carl June".
type: string
minLength: 2
organization:
description: Awardee institution name, e.g. "Stanford University".
type: string
minLength: 2
year_from:
description: Earliest fiscal year (NIH) or start year (NSF, UKRI).
type: integer
minimum: 1950
maximum: 2100
year_to:
description: Latest fiscal year (NIH) or start year (NSF, UKRI).
type: integer
minimum: 1950
maximum: 2100
limit:
description: Projects to return (default 10).
type: integer
minimum: 1
maximum: 25
required:
- query
additionalProperties: false
responses:
'200':
description: The tool result.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
/api/v1/search_datasets:
post:
operationId: search_datasets
summary: Search research datasets
description: 'Search research datasets across Zenodo, Dryad, Harvard Dataverse, Hugging Face and DataCite, de-duplicated by DOI. Returns DOI, creators, year, repository, description, size or format when known, and the licence of the dataset itself. Use it to find data to reuse or cite.
Discipline pack: general. Cost: 2 credits per successful call.'
tags:
- General
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
minLength: 2
description: Topic or keywords, e.g. "urban tree canopy".
sources:
description: 'Limit to these repositories. Default: all.'
type: array
items:
type: string
enum:
- zenodo
- dryad
- dataverse
- huggingface
- datacite
limit:
description: Datasets to return (default 10).
type: integer
minimum: 1
maximum: 25
required:
- query
additionalProperties: false
responses:
'200':
description: The tool result.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
/api/v1/find_series:
post:
operationId: find_series
summary: Find statistical series
description: 'Find official statistical series and indicators (GDP, CPI, unemployment, population, life expectancy…) in FRED, World Bank, IMF, OECD, Eurostat, BLS, US Census and Our World in Data. Returns candidates with a seriesId to pass to get_series. Name the country in the query, e.g. "GDP per capita China".
Discipline pack: general. Cost: 2 credits per successful call.'
tags:
- General
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
minLength: 2
description: What to measure and where, e.g. "US unemployment rate" or "life expectancy Japan".
sources:
description: 'Limit to these sources: fred, world-bank, imf, oecd, eurostat, bls, census, owid. Default: all.'
type: array
items:
type: string
enum:
- fred
- world-bank
- bls
- oecd
- eurostat
- imf
- owid
- census
limit:
description: Candidates to return (default 10).
type: integer
minimum: 1
maximum: 25
required:
- query
additionalProperties: false
responses:
'200':
description: The tool result.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
/api/v1/get_series:
post:
operationId: get_series
summary: Get a statistical series
description: 'Fetch the observations of one official statistical series by the seriesId returned by find_series (e.g. "world-bank:NY.GDP.PCAP.CD?country=CHN", "bls:LNS14000000"). Returns title, units, frequency, geography and dated values. Use it whenever you need real numbers instead of remembered ones.
Discipline pack: general. Cost: 1 credit per successful call.'
tags:
- General
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
series_id:
type: string
minLength: 3
description: A seriesId from find_series, in the form "<source>:<id>" with optional "?dimension=CODE" parts.
start:
description: 'First period to return: a year (2015) or ISO date (2015-06 or 2015-06-01).'
type: string
pattern: ^\d{4}(-\d{2}(-\d{2})?)?$
end:
description: 'Last period to return: a year or ISO date.'
type: string
pattern: ^\d{4}(-\d{2}(-\d{2})?)?$
country:
description: 'ISO country code (CHN or CN) for per-country sources: world-bank, imf, owid, oecd, eurostat. Overrides the country in series_id.'
type: string
minLength: 2
required:
- series_id
additionalProperties: false
responses:
'200':
description: The tool result.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
/api/v1/verify_references:
post:
operationId: verify_references
summary: Verify references
description: 'Check a reference list against Crossref and OpenAlex. For each reference returns a status (verified, corrected, not_found, uncertain), the real metadata of the matched paper, the fields that differ (year, pages, DOI, journal, first author) and a retraction flag. Use it to catch invented or wrong citations before a manuscript goes out.
Discipline pack: general. Cost: 1 credit per reference checked.'
tags:
- General
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
references:
anyOf:
- type: string
minLength: 10
- minItems: 1
type: array
items:
type: string
minLength: 5
description: 'The reference list: one block of text in any citation style or BibTeX, or an array with one reference per item. At most 50 references per call.'
required:
- references
additionalProperties: false
responses:
'200':
description: The tool result.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
/api/v1/check_retractions:
post:
operationId: check_retractions
summary: Check retractions
description: 'Check DOIs for retractions, corrections and expressions of concern using Crossref (which carries the Retraction Watch database) and the OpenAlex retraction flag. Returns one record per DOI with the notice DOI, date and source. Pass DOIs, or a reference list from which DOIs are extracted.
Discipline pack: general. Cost: 1 credit per reference checked.'
tags:
- General
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
dois:
description: DOIs to check (10.xxxx/… or doi.org URLs), at most 100.
minItems: 1
maxItems: 100
type: array
items:
type: string
minLength: 6
references:
description: Text containing DOIs, such as a reference list. Only references that include a DOI are checked.
type: string
minLength: 8
additionalProperties: false
responses:
'200':
description: The tool result.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
/api/v1/journal_info:
post:
operationId: journal_info
summary: Journal information
description: 'Look up a journal by name or ISSN in OpenAlex and DOAJ. Returns publisher, ISSNs, open-access status, whether it is listed in DOAJ, article processing charge, works and citation counts, h-index, homepage and plain-language signals. Use it to check a journal before submitting or citing. Does not return the Journal Impact Factor.
Discipline pack: general. Cost: 1 credit per successful call.'
tags:
- General
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
journal:
type: string
minLength: 2
description: Journal name (e.g. "PLOS ONE") or ISSN (e.g. "1932-6203").
required:
- journal
additionalProperties: false
responses:
'200':
description: The tool result.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'402':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
/api/v1/balance:
get:
operationId: get_balance_read
summary: Check the authenticated account’s credit balance (free)
description: Alias of POST /api/v1/get_balance with {}. Returns spendable credits, plan, limits and payment links. Private, never cached; works at zero credits.
tags:
- General
responses:
'200':
description: Account balance snapshot.
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResult'
'401':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
'500':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
components:
schemas:
CreditStatus:
type: object
required:
- creditsRemaining
- status
- lowBalanceThreshold
- topUpUrl
- pricingUrl
- checkedAt
properties:
creditsRemaining:
type:
- integer
- 'null'
minimum: 0
description: Spendable, unexpired balance at checkedAt; null if refresh failed. Credits reserved by pending figures are excluded.
status:
type: string
enum:
- ok
- low
- empty
- unavailable
lowBalanceThreshold:
type: integer
example: 20
topUpUrl:
type: string
format: uri
pricingUrl:
type: string
format: uri
checkedAt:
type: string
format: date-time
notice:
type: string
ToolResult:
type: object
required:
- summary
- credits_used
- call_id
properties:
summary:
type: string
billing:
$ref: '#/components/schemas/CreditStatus'
records:
type: array
items:
$ref: '#/components/schemas/Record'
partial:
type: boolean
failedSources:
type: array
items:
type: object
properties:
source:
type: string
error:
type: string
files:
type: array
items:
type: object
properties:
name:
type: string
url:
type: string
mimeType:
type: string
extra:
type: object
credits_used:
type: number
call_id:
type: string
Record:
type: object
required:
- id
- type
- source
- retrievedAt
- data
properties:
id:
type: string
type:
type: string
source:
type: string
title:
type: string
url:
type: string
license:
type: string
attribution:
type: string
retrievedAt:
type: string
format: date-time
data:
type: object
responses:
Error:
description: The call failed and was not charged.
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
enum:
- invalid_input
- unauthorized
- insufficient_credits
- paid_plan_required
- unknown_tool
- rate_limited
- upstream_error
- internal
message:
type: string
billing:
$ref: '#/components/schemas/CreditStatus'
requiredCredits:
type: integer
minimum: 0
shortfall:
type: integer
minimum: 0
retryable:
type: boolean
description: 'Payment errors are false: wait for the user to pay before attempting another paid call.'
nextAction:
type: string
enum:
- top_up
- choose_plan_or_pack
- try_later
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: An API key created under Settings → API Keys.