SpaceDB API

Planet

object
idinteger

Example:3

namestring

Example:Earth

typestring

Allowed values:terrestrialgas_giantice_giantdwarf

Example:terrestrial

star_idinteger

Example:1

mass_earthnumber(float)

Example:1

radius_kmnumber(float)

Example:6371

orbital_period_daysnumber(float)

Example:365.25

distance_aunumber(float)

Example:1

has_ringsboolean
discovered_atstring(date)
moon_countinteger

Example:1

created_atstring(date-time)
updated_atstring(date-time)
Example

Moon

object
idinteger

Example:1

namestring

Example:Luna

planet_idinteger

Example:3

mass_kgnumber(float)

Example:7.342e+22

radius_kmnumber(float)

Example:1737.4

orbital_period_daysnumber(float)

Example:27.32

discovered_atstring(date)
created_atstring(date-time)
updated_atstring(date-time)
Example

Spaceship

object
idinteger

Example:1

namestring

Example:ISS

typestring

Allowed values:spacecraftprobestationrocket

Example:station

operatorstring

Example:NASA / Roscosmos

launch_datestring(date)

Example:1998-11-20

statusstring

Allowed values:activeretiredplannedlost

Example:active

crew_capacityinteger

Example:7

mass_kgnumber(float)

Example:419725

descriptionstring

Example:International Space Station

created_atstring(date-time)
updated_atstring(date-time)
Example

Pagination

object
linksobject
Show Child Parameters
metaobject
Show Child Parameters
Example

ValidationError

object
messagestring

Example:The name field is required.

errorsobject
Example