The Number Adder API lets you perform calculations, view history, and manage your account programmatically.
Base URL: https://number-adder.com
Your key will look like: na_a1b2c3d4e5f6...
Include your API key in the X-API-Key header with every request:
All endpoints require authentication. Requests without a valid key return 401 Unauthorized.
Add two numbers together.
Request body
Response 200
Example
Multiply two numbers. Requires a premium subscription.
Request body
Response 200
Error 403 (not premium)
Example
Get your calculation history, ordered by most recent first.
Response 200
Example
Get your account information.
Response 200
Example
Export all your data as JSON (GDPR: Right to Portability).
Response 200
Example
Permanently delete your account and all associated data (GDPR: Right to Erasure). This action cannot be undone.
Response 200
Example
The API returns standard HTTP status codes. Error responses include a detail field with a human-readable message.
| Status | Meaning |
|---|---|
400 |
Bad request — invalid input or malformed JSON |
401 |
Unauthorized — missing or invalid API key |
403 |
Forbidden — premium subscription required (for /multiply) |
404 |
Not found — resource does not exist |
422 |
Validation error — request body failed validation |
Error response format