All API tools
Math & Science
Linear Interpolation (Lerp) API
GET
/v1/lerp-calculator Free tier1 credit / callAuthentication
Send your API key as a bearer token. Create one free in the dashboard.
Authorization: Bearer $TOOLSXPO_KEYParameters
Passed as query-string parameters. Example values shown.
| Name | Example |
|---|---|
| start | 2 |
| end | 2 |
| t | 2 |
Example request
curl "https://api.toolsxpo.com/v1/lerp-calculator?start=2&end=2&t=2" \
-H "Authorization: Bearer $TOOLSXPO_KEY"Response
A standard JSON envelope: { ok, data, meta }. The result is in data (json); meta.credits reports what the call cost.