Skip to main content
GET
/
v1
/
math
/
distance
Distance
curl --request GET \
  --url https://api.example.com/v1/math/distance \
  --header 'X-API-Key: <api-key>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Query Parameters

x1
number
required

X coordinate of point 1

y1
number
required

Y coordinate of point 1

x2
number
required

X coordinate of point 2

y2
number
required

Y coordinate of point 2

Response

Successful Response