Documentation

This API provides a simple way to perform basic arithmetic operations such as addition, subtraction, multiplication and division. Perfect for educational projects, testing and prototyping applications where calculation functionality is required.

The API does not require authentication and is completely free. You can use it in your projects without restrictions.

To use the API, send a POST request with JSON data containing the following keys:

  • a — first number
  • b — second number
  • operation — operation symbol (+, -, *, /)

Example request body:


{
    "a": 5,
    "b": 3,
    "operation": "+"
}
                            

Main Features

  • Performing basic arithmetic operations: addition, subtraction, multiplication, division
  • Simple HTTP interface
  • JSON request and response format
  • No authentication required
  • Free and without limitations
  • CORS support

Response Format


{
    "a": 5,
    "b": 3,
    "operation": "+",
    "result": 8
}