API Documentation | Mars The Limit
Welcome to the Mars the Limit API. This site includes a collection of API tools I've made that I found useful when working on my projects at home and for school. These APIs are designed to save time and simplify calculations for students, engineers, builders, and developers of all experience levels.
Authentication
All API requests require an API key for authentication. Include it in the request header as follows:
1Authentication: Bearer YOUR_API_KEY_HERE
Your API key can be found in the dashboard under the "API & Keys" tab. Keep your key secret. Do not expose it in public code.
Base URL
The base URL for all APIs is https://api.marsthelimit.com.
Example with cURL
1curl -X POST https://api.marsthelimit.com/calculate \ 2 -H "Content-Type: application/json" \ 3 -H "Authentication: Bearer YOUR_API_KEY_HERE" \ 4 -d '{"law":"ohms","vars":{"V":12,"R":6}}'
General API Usage
All endpoints accept a JSON payload. The structure for each API is different and can be found in each API's documentation.
About the Author
This article was written by Boden Bensema, an electronics hobbyist focused on teaching beginner-friendly circuit design, breadboarding, and electronics fundamentals.
About page