Space
Escape velocity API
Returns the escape velocity v=sqrt(2mu/r) from a body surface or a given radius, using bundled planetary constants. Answers 'What is Earth's escape velocity?', 'Escape speed from the Moon?'.
Price$0.02per request
MethodPOST
Route/v1/space/escape-velocity
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
spaceastronomyescape-velocityorbital-mechanicsastrodynamicsrocketdelta-vgravity
API URL
Integration docshttps://x402.hexl.dev/v1/space/escape-velocityExample request
{
"body": "earth"
}Example response
{
"body": "earth",
"mu": 398600441800000,
"radiusM": 6371000,
"escapeVelocityMs": 11186.1357,
"escapeVelocityKms": 11.18614,
"interpretation": "Escape from 6371 km radius needs 11.186 km/s (sqrt(2)x circular speed)."
}Input schema
{
"type": "object",
"properties": {
"body": {
"type": "string",
"examples": [
"earth"
]
},
"mu": {
"type": "number"
},
"centralMassKg": {
"type": "number"
},
"radiusM": {
"type": "number"
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}