moleXa Educational API

Enhanced proxy server for PubChem data with educational context, safety information, and live analytics. Built for chemistry education worldwide.

PUG-REST API Educational Context Safety Data Live Analytics Smart Autocomplete
API Online • Loading... Total Requests

API Overview

Comprehensive molecular data access with educational enhancements for chemistry learning

Educational Focus

Designed specifically for chemistry education with contextual explanations and safety information.

Safety First

Comprehensive toxicity data, handling procedures, and safety warnings for laboratory use.

High Performance

Optimized caching, rate limiting, and error handling for reliable educational applications.

Live Educational Impact

Real-time analytics showing how educators and students worldwide use this API for chemistry learning

0
Total Requests
0
Educational Queries
0
Safety Lookups
0
Search Queries

Live Request Activity

Live
Connecting to live feed...

API Usage Guide

Learn how to integrate the moleXa Educational API into your chemistry applications

Base URL & Setup

All API requests should be made to:

https://molexa-api.vercel.app/api

Note: No authentication required. API is rate-limited to 5 requests per second for fair usage.

GET Educational Overview

GET /api/pubchem/compound/{identifier}/educational?type={cid|name|fastformula}

Get comprehensive educational data for any compound including properties, synonyms, structure URLs, and educational context.

Example:
curl "https://molexa-api.vercel.app/api/pubchem/compound/aspirin/educational?type=name"

GET Chemical Autocomplete

GET /api/autocomplete/{query}?limit={number}

Get intelligent suggestions for chemical names as users type.

Example:
curl "https://molexa-api.vercel.app/api/autocomplete/caffe?limit=5"

GET Safety Information

GET /api/pugview/compound/{cid}/safety?heading={heading}

Access comprehensive safety and toxicity information for educational lab safety.

Example:
curl "https://molexa-api.vercel.app/api/pugview/compound/2244/safety?heading=Toxicity"

GET PubChem Proxy

GET /api/pubchem/*

Direct proxy to PubChem PUG-REST API with CORS enabled and educational enhancements.

Get molecular properties
curl "https://molexa-api.vercel.app/api/pubchem/compound/name/aspirin/cids/JSON"
Get structure image
curl "https://molexa-api.vercel.app/api/pubchem/compound/cid/2244/PNG"
Get molecular properties
curl "https://molexa-api.vercel.app/api/pubchem/compound/cid/2244/PNG"

Citations & Attribution

How to properly cite this API and the underlying PubChem database in your research and publications

How to Cite This API

When using this educational proxy API in research, publications, or educational materials, please cite both this software and the underlying PubChem database:

moleXa API Software:

Bazarkulov, A. (2025). moleXa API: PubChem Educational Proxy API (Version 2.2.0) [Computer software]. GitHub. https://github.com/bazarkua/molexa-api

Frontend Application:

Bazarkulov, A. (2025). moleXa: 3D Molecular Visualization Platform (Version 2.0.0) [Computer software]. GitHub. https://github.com/bazarkua/molexa

PubChem Database Citation

All molecular data comes from PubChem, so please cite them too:

Kim, S., Chen, J., Cheng, T., Gindulyte, A., He, J., He, S., Li, Q., Shoemaker, B. A., Thiessen, P. A., Yu, B., Zaslavsky, L., Zhang, J., & Bolton, E. E. (2025). PubChem 2025 update. Nucleic Acids Research, 53(D1), D1516–D1525. https://doi.org/10.1093/nar/gkae1059

Additional PubChem Resources:

PUG-REST API:
Kim S, Thiessen PA, Cheng T, Yu B, Bolton EE. An update on PUG-REST: RESTful interface for programmatic access to PubChem. Nucleic Acids Res. 2018 July 2; 46(W1):W563-570. DOI: 10.1093/nar/gky294
PubChem3D:
Bolton EE, Chen J, Kim S, et al. PubChem3D: A new resource for scientists. J Cheminform. 2011 Sep 20; 3(1):32. DOI: 10.1186/1758-2946-3-32

BibTeX Format

@software{bazarkulov2025molexa_api, author = {Bazarkulov, Adilbek}, title = {moleXa API: PubChem Educational Proxy API}, version = {2.2.0}, year = {2025}, url = {https://github.com/bazarkua/molexa-api} } @article{kim2025pubchem, title={PubChem 2025 update}, author={Kim, Sunghwan and Chen, Jie and Cheng, Tiejun and Gindulyte, Asta and He, Jia and He, Siqian and Li, Qingliang and Shoemaker, Benjamin A and Thiessen, Paul A and Yu, Bo and others}, journal={Nucleic Acids Research}, volume={53}, number={D1}, pages={D1516--D1525}, year={2025}, publisher={Oxford University Press}, doi={10.1093/nar/gkae1059} }