Skip to content
An open-source API for embedding those tough scientific computations in your application with ease. Scientific formulas and relationships have been developed and implemented, let's not repeat that work every time we want to create a science-based application! This is for researchers, educators and developers.
PHP HTML JavaScript Vue
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

About SciAPI

This is an ongoing project. The goal is to create an open-source API for embedding scientific computations into web applications with ease. The full documentation can be found on Hitch ( or on Swaggerhub (

Response Format

A successful request to the API returns a JSON object with four attributes. The first two are the "status" and "message". The "status" attribute gives the status of the request. The message provides feedback from the API. The others are the "code" and "widget". The value of the "code" attribute is the JavaScript code that performs the requested operation. The code will be populated with any parameters provided with the request. The "widget" attribute has a rendered html widget containing the formula in text, JavaScript code, an associated Wolfram Alpha widget and a related photograph.

For example:

  "status": "success"
  "message": "successfully requested function Thermal Conductivity"
  "code": "function thermal_conductivity(area,constant,temperature_difference,thickness){
              var conductivity = (constant*area*temperature_difference)/thickness;
              return conductivity;
  "widget" :"<html>rendered html widget here</html>"


I hope that people will contribute and learn something through this project, whether it be programming, mathematics or science related. If you are interested in contributing, feel free to modify the code and make pull requests. I will review requests to do so. Also, on the website, you can add computation modules to the API using an interactive UI.


This API is open source. I encourage you to use it or its components in your own projects... or better yet, contribute to SciAPI! The API interacts with Wolfram Alpha's widget builder (, and math.js by Jos de Jong (

Copyright 2017 Marcus Edwards

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

You can’t perform that action at this time.