ScholarMuse Chem API

The chem API from ScholarMuse — 2 operation(s) for chem.

GitHub OpenAPI

Operations 2

POST /api/v1/lookup_compound Look up a chemical compound #
POST /api/v1/lookup_material Look up a material #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/scholarmuse-ai:scholarmuse-ai-chem-api"
All apis
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.

Get an API 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 Specification

scholarmuse-ai-chem-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ScholarMuse REST Chem 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: chem
paths:
  /api/v1/lookup_compound:
    post:
      operationId: lookup_compound
      summary: Look up a chemical compound
      description: 'Look up one chemical compound in PubChem by name, CAS number, SMILES, InChIKey or CID. Returns formula, molecular weight, SMILES, InChIKey, XLogP, H-bond counts, TPSA, synonyms, a 2D structure image URL and the ChEBI definition and roles when available. Use it instead of recalling chemical properties from memory.


        Discipline pack: chem. Cost: 1 credit per successful call.'
      tags:
      - chem
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  minLength: 1
                  maxLength: 400
                  description: Compound name, CAS number (58-08-2), SMILES, InChIKey or PubChem CID (2519).
              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/lookup_material:
    post:
      operationId: lookup_material
      summary: Look up a material
      description: 'Find crystalline materials by formula, element set or material id across the Materials Project and OQMD (DFT-computed band gap, formation energy, stability) and the Crystallography Open Database (experimental structures with CIF download). Returns space group, lattice parameters and source links for each entry.


        Discipline pack: chem. Cost: 2 credits per successful call.'
      tags:
      - chem
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                formula:
                  description: Chemical formula, e.g. TiO2 or LiFePO4.
                  type: string
                  minLength: 1
                  maxLength: 60
                elements:
                  description: Element symbols; returns materials made of exactly these elements, e.g. ["Ti","O"].
                  minItems: 1
                  maxItems: 8
                  type: array
                  items:
                    type: string
                    pattern: ^[A-Z][a-z]?$
                material_id:
                  description: Materials Project id (mp-2657) or COD id (cod-1010942 or the 7-digit number).
                  type: string
                  minLength: 3
                  maxLength: 40
                stable_only:
                  description: Only thermodynamically stable computed phases (on the convex hull). Skips COD, which has no energies.
                  type: boolean
                limit:
                  description: Entries to return (default 10).
                  type: integer
                  minimum: 1
                  maximum: 30
              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'
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.