Skip to content
T
Tools.Town
Free Online Tools for Everyone

Speed Converter API

Convert km/h ↔ mph ↔ m/s ↔ knots ↔ ft/s — all 5 units update instantly as you type.

Category: Converters Endpoint: /v1/converters/speed Method: GET Auth: API Key

Fast & Accurate

Get precise results instantly.

Easy Integration

Simple REST API with JSON response.

Developer Friendly

Clear docs and SDK examples.

Free to Start

5,000 free requests/month.

Endpoint

All requests should be made to the following endpoint:

GET https://api.tools.town/v1/converters/speed

Authentication

This endpoint requires an API Key. Include your API key in the request header.

Authorization: Bearer YOUR_API_KEY
You can get your API key from your dashboard.

Request Parameters

Send a GET request with query parameters.

Parameter Type Required Description Example
value number Numeric value to convert. 100
from string Source unit (m-s, km-h, mph, kn, ft-s). km-h
to string Target unit. mph

Example Request

curl -G "https://api.tools.town/v1/converters/speed" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "value=100" \
  --data-urlencode "from=km-h" \
  --data-urlencode "to=mph"

Example Response 200 OK

application/json
{
  "success": true,
  "data": {
    "input": "0",
    "output": "0",
    "from": "string",
    "to": "string",
    "fromLabel": "string",
    "toLabel": "string"
  }
}

Error Codes

Code Meaning
400 Bad Request — missing or invalid parameter
401 Unauthorized — API key missing or invalid
429 Rate limit exceeded — free tier: 5,000 requests/month
500 Internal Server Error — try again or contact support