COBS API help

Comet Planner API

Version: 1.1 (2024 May)

Comet Planner API provides a method of requesting a list of observable comets in a machine-readable data.

HTTP Request


GET https://cobs.si/api/planner.api

Example Queries

https://cobs.si/api/planner.api?date=2014-05-10&loc=106
https://cobs.si/api/planner.api?date=2024-05-10&lat=46.234&long=16.543&alt=520
https://cobs.si/api/planner.api?date=2014-05-10&loc=106&lim_mag=14&min_alt=0&min_sol=0&min_moon=0

Query Parameters


Parameters should be used to limit the number of observations returned by the query.

Parameter Type Default Description
loc string   MPC observatory code
lat float   Location latitude in decimal degrees, positive north of equator e.g. 34.984 and NOT 34°59'2"
long float   Location longitude in decimal degrees, positive east of Greenwich e.g. -110.392 and NOT -110°23'31".  
alt float   Location elevation in meters.
date date   Session date for which you want to calculate the observable comet list.
sun_alt float -12 Sun altitude at which the the sesstion should start.
0 - Sunset
-6 - Civil twilight end (Sun altitude -6 deg)
-12 - Nautical twilight end (Sun altitude -12 deg)
-15 - Amateur astronomical twilight end (Sun altitude -15 deg)
-18 - Astronomical twilight end (Sun altitude -18 deg)
lim_mag float 15 Limiting object magnitude.
min_alt float 10 Minimum object altitude above horizon in degrees.
min_sol float 10 Minimum solar elongation in degrees.
min_moon float 10 Minimum moon elongation in degrees.

Data Output


Please always check the JSON payload “signature” object for the API “version”. If the version does not match the version in this document (at the top), there is no guarantee that the format has not changed.
Example "signature" object with "version" value "1.1": "signature":{"version":"1.0","source":"COBS ... API"}

Normal Data Payload


This output is the result of specifying a MPC observatory code location.
The following example query https://cobs.si/api/planner.api?loc=106 returns the following payload containing data sections objects.

{
  "location": {
    "name": "Crni Vrh",
    "lat": 45.945908,
    "long": 14.0711,
    "tz": "Europe/Ljubljana"
  },
  "sun events": {
    "Day ends": "2024-05-08 20:20 CEST",
    "Civil twilight ends": "2024-05-08 20:55 CEST",
    "Nautical twilight ends": "2024-05-08 21:38 CEST",
    "Astronomical twilight ends": "2024-05-08 22:28 CEST",
    "Astronomical twilight starts": "2024-05-09 03:31 CEST",
    "Nautical twilight starts": "2024-05-09 04:21 CEST",
    "Civil twilight starts": "2024-05-09 05:04 CEST",
    "Day starts": "2024-05-09 05:38 CEST"
  },
  "moon events": {
    "Set": "2024-05-08 21:14 CEST",
    "Rise": "2024-05-09 06:04 CEST",
    "Moon phase": 13.1
  },
  "session events": {
    "start_at": "Nautical twilight end (Sun elevation -12 deg)",
    "start_time": "2024-05-09 21:42:06 CEST",
    "end_time": "2024-05-10 04:17:40 CEST"
  },
  "limits": {
    "mag": 15,
    "alt": 10,
    "sun_elong": 10,
    "moon_elong": 10
  },
  "comet_list": [
    {
      "comet_type": "C",
      "comet_name": "2023V4",
      "comet_fullname": "C/2023 V4 (Camarasa-Duszanowicz)",
      "best_time": "2024-05-09 21:42:06",
      "orbit_calc_source": 3,
      "magnitude": 14.3,
      "best_ra": "3:56:28.86",
      "best_dec": "34:36:32.1",
      "best_alt": 56.5,
      "sun_elongation": 20,
      "moon_elongation": 13,
      "constelation": "Perseus",
      "rise_time": "2024-05-09 21:42:06",
      "set_time": "2024-05-09 22:55:36",
      "motion": 2,
      "pa": 39,
      "trend": "bright"
    },
    {
      "comet_type": "C",
      "comet_name": "2017K2",
      "comet_fullname": "C/2017 K2 (PANSTARRS)",
      "best_time": "2024-05-09 21:42:06",
      "orbit_calc_source": 1,
      "magnitude": 14.5,
      "best_ra": "5:29:35.11",
      "best_dec": "12:49:43.7",
      "best_alt": 34.7,
      "sun_elongation": 34,
      "moon_elongation": 18,
      "constelation": "Orion",
      "rise_time": "2024-05-09 21:42:06",
      "set_time": "2024-05-09 22:18:38",
      "motion": 0.37,
      "pa": 62,
      "trend": "fade"
    },
    ...
  ],
  "signature": {
    "source": "COBS Query API",
    "version": "1.0"
  }
}
Sections Output

The following sections are available for output. The detailed structure of the contents within each section are described in corresponding document sections below.

Section Description
location Information about the given location the comet list is calculated for.
sun events Twilight events calculated for the given location.
moon events Moon rise and set times calculated for the given location.
session events Session start and end times calculated for the given location.
limits Limit values used to filter the observable comets list.
comet_list List of observable comets.
signature JSON payload “signature” object with the API “version”
Structure of Sections

The following shows the JSON structure of a normal data payload containing all possible sections. The detailed structure of the contents within each section are described in corresponding document sections below.

{
  "location": {
    location info fields ...
  },
  "sun events": {
    twilight events fields ...
  },
  "moon events": {
    moon events fields ...
  },  
  "session events": {
    session events fields ...
  },  
    "limits": {
    limits fields ...
  },  
  "comet_list": {
    comet list fields ...
  },  
  "signature": {
    signature fields ...
  },
Query Location Section

The following fields are provided in the location section:

Field Name Description
location_lat Location latitide in degrees, positive north of equator e.g. 34.984 and NOT 34°59'2" or 34.984N.
location_long Location longitude in degrees, positive east of Greenwich e.g. -110.392 and NOT -110°23'31" or 110.392W.
location_elev Location altitude in meters, set to zero if you don't know.
tz Time zone for the calculated output times. By default set to local timezone calculated from the location latitude and logitude.
location_code Location MPC observatory code if given in the query.
location_name Location MPC observatory name if location was given as a MPC code.
Sun Events Section

The following fields are provided in the sun events section:

Field Name Description
Sunset Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is 0 degrees altitude.
Civil twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -6 degrees altitude.
Nautical twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -12 degrees altitude.
Astronomical twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -18 degrees altitude.
Astronomical twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -18 degrees altitude.
Nautical twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -12 degrees altitude.
Civil twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -6 degrees altitude.
Sunrise Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is 0 degrees altitude.
Moon Events Section

The following fields are provided in the moon events section:

Field Name Description
Rise Date and time YYYY-MM-DD hh:mm UTC the Moon rises during the night.
Set Date and time YYYY-MM-DD hh:mm UTC the Moon sets during the night.
Moon phase Percentage of the moon's illuminated surface visible from Earth, ranging from 0% (New Moon) to 100% (Full Moon).
Session Events Section

The following fields are provided in the session events section:

Field Name Description
start_at Sun altitude (degrees) at which the the sesstion should start.
start_time Session start date and time YYYY-MM-DD hh:mm UTC.
end_time Session end date and time YYYY-MM-DD hh:mm UTC.
Limits Section

The following fields are provided in the limits section:

Field Name Description
mag Limiting object magnitude.
alt Minimum object altitude above horizon in degrees.
sun_elong Minimum solar elongation in degrees.
moon_elong Minimum moon elongation in degrees.
Comet List Section

The following fields are provided in the comet_list section:

Field Name Description
comet_type Comet type (e.g. P, N, C, I, A or M)
comet_name Comet ICQ designation name
comet_fullname Comet full name
best_time Calculated comet best observation time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
orbit_calc_source Source of magnitude parameters:
1 - Current magnitude calculated using magnitude parameters derived from COBS observations from the last 30 days.
2 - Current magnitude calculated based on magnitude parameters derived from COBS observations from the last year.
3 - Current magnitude calculated based on magnitude parameters derived from all COBS observations.
4 - Too few observations have been reported to COBS during the last year. Current magnitude is calculated from MPC magnitude parameters.
magnitude Comet magnitude at the calculated best observation time
best_ra Comet Right Ascension (RA) at the best observation time
best_dec Comet Declination (DEC) at the best observation time(
best_alt Comet Altitude above horizon (Alt) at the best observation time
sun_elongation Comet elongation from the Sun in the sky in degrees.
moon_elongation Comet elongation from the Moon in the sky in degrees.
constelation Constelation name in which the comet is currently possitioned.
rise_time Calculated comet rise time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
set_time Calculated comet set time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
motion Comet motion speed in the sky in arcsec/min.
pa Comet motion position angle in the sky (0 = north, 90 = east, 180 = south, 270 = west, etc.).
trend Comet brightness trend
"bright" - comet brightness is brightening
"fade" - comet brightness is fading
"steady" - comet brightness is steady

HTTP Response Codes


All errors are returned via appropriate HTTP response codes.

HTTP Code Description Typical Usage
200 OK normal successful result for a query: object data returned (an error message is returned if the object was not found)
300 Multiple Choices the specified parameters matched more than one object
400 Bad Request the request contained invalid keywords and/or content: details returned
500 Internal Server Error the database is not available at the time of the request

Change Log


Version 1.1 (2024 May)

Version 1.0 (2023 November)

Initial release

Comet Planner API

Version: 1.1 (2024 May)

Comet Planner API provides a method of requesting a list of observable comets in a machine-readable data.

HTTP Request


GET https://cobs.si/api/planner.api

Example Queries

https://cobs.si/api/planner.api?date=2014-05-10&loc=106
https://cobs.si/api/planner.api?date=2024-05-10&lat=46.234&long=16.543&alt=520
https://cobs.si/api/planner.api?date=2014-05-10&loc=106&lim_mag=14&min_alt=0&min_sol=0&min_moon=0

Query Parameters


Parameters should be used to limit the number of observations returned by the query.

Parameter Type Default Description
loc string   MPC observatory code
lat float   Location latitude in decimal degrees, positive north of equator e.g. 34.984 and NOT 34°59'2"
long float   Location longitude in decimal degrees, positive east of Greenwich e.g. -110.392 and NOT -110°23'31".  
alt float   Location elevation in meters.
date date   Session date for which you want to calculate the observable comet list.
sun_alt float -12 Sun altitude at which the the sesstion should start.
0 - Sunset
-6 - Civil twilight end (Sun altitude -6 deg)
-12 - Nautical twilight end (Sun altitude -12 deg)
-15 - Amateur astronomical twilight end (Sun altitude -15 deg)
-18 - Astronomical twilight end (Sun altitude -18 deg)
lim_mag float 15 Limiting object magnitude.
min_alt float 10 Minimum object altitude above horizon in degrees.
min_sol float 10 Minimum solar elongation in degrees.
min_moon float 10 Minimum moon elongation in degrees.

Data Output


Please always check the JSON payload “signature” object for the API “version”. If the version does not match the version in this document (at the top), there is no guarantee that the format has not changed.
Example "signature" object with "version" value "1.1": "signature":{"version":"1.0","source":"COBS ... API"}

Normal Data Payload


This output is the result of specifying a MPC observatory code location.
The following example query https://cobs.si/api/planner.api?loc=106 returns the following payload containing data sections objects.

{
  "location": {
    "name": "Crni Vrh",
    "lat": 45.945908,
    "long": 14.0711,
    "tz": "Europe/Ljubljana"
  },
  "sun events": {
    "Day ends": "2024-05-08 20:20 CEST",
    "Civil twilight ends": "2024-05-08 20:55 CEST",
    "Nautical twilight ends": "2024-05-08 21:38 CEST",
    "Astronomical twilight ends": "2024-05-08 22:28 CEST",
    "Astronomical twilight starts": "2024-05-09 03:31 CEST",
    "Nautical twilight starts": "2024-05-09 04:21 CEST",
    "Civil twilight starts": "2024-05-09 05:04 CEST",
    "Day starts": "2024-05-09 05:38 CEST"
  },
  "moon events": {
    "Set": "2024-05-08 21:14 CEST",
    "Rise": "2024-05-09 06:04 CEST",
    "Moon phase": 13.1
  },
  "session events": {
    "start_at": "Nautical twilight end (Sun elevation -12 deg)",
    "start_time": "2024-05-09 21:42:06 CEST",
    "end_time": "2024-05-10 04:17:40 CEST"
  },
  "limits": {
    "mag": 15,
    "alt": 10,
    "sun_elong": 10,
    "moon_elong": 10
  },
  "comet_list": [
    {
      "comet_type": "C",
      "comet_name": "2023V4",
      "comet_fullname": "C/2023 V4 (Camarasa-Duszanowicz)",
      "best_time": "2024-05-09 21:42:06",
      "orbit_calc_source": 3,
      "magnitude": 14.3,
      "best_ra": "3:56:28.86",
      "best_dec": "34:36:32.1",
      "best_alt": 56.5,
      "sun_elongation": 20,
      "moon_elongation": 13,
      "constelation": "Perseus",
      "rise_time": "2024-05-09 21:42:06",
      "set_time": "2024-05-09 22:55:36",
      "motion": 2,
      "pa": 39,
      "trend": "bright"
    },
    {
      "comet_type": "C",
      "comet_name": "2017K2",
      "comet_fullname": "C/2017 K2 (PANSTARRS)",
      "best_time": "2024-05-09 21:42:06",
      "orbit_calc_source": 1,
      "magnitude": 14.5,
      "best_ra": "5:29:35.11",
      "best_dec": "12:49:43.7",
      "best_alt": 34.7,
      "sun_elongation": 34,
      "moon_elongation": 18,
      "constelation": "Orion",
      "rise_time": "2024-05-09 21:42:06",
      "set_time": "2024-05-09 22:18:38",
      "motion": 0.37,
      "pa": 62,
      "trend": "fade"
    },
    ...
  ],
  "signature": {
    "source": "COBS Query API",
    "version": "1.0"
  }
}
Sections Output

The following sections are available for output. The detailed structure of the contents within each section are described in corresponding document sections below.

Section Description
location Information about the given location the comet list is calculated for.
sun events Twilight events calculated for the given location.
moon events Moon rise and set times calculated for the given location.
session events Session start and end times calculated for the given location.
limits Limit values used to filter the observable comets list.
comet_list List of observable comets.
signature JSON payload “signature” object with the API “version”
Structure of Sections

The following shows the JSON structure of a normal data payload containing all possible sections. The detailed structure of the contents within each section are described in corresponding document sections below.

{
  "location": {
    location info fields ...
  },
  "sun events": {
    twilight events fields ...
  },
  "moon events": {
    moon events fields ...
  },  
  "session events": {
    session events fields ...
  },  
    "limits": {
    limits fields ...
  },  
  "comet_list": {
    comet list fields ...
  },  
  "signature": {
    signature fields ...
  },
Query Location Section

The following fields are provided in the location section:

Field Name Description
location_lat Location latitide in degrees, positive north of equator e.g. 34.984 and NOT 34°59'2" or 34.984N.
location_long Location longitude in degrees, positive east of Greenwich e.g. -110.392 and NOT -110°23'31" or 110.392W.
location_elev Location altitude in meters, set to zero if you don't know.
tz Time zone for the calculated output times. By default set to local timezone calculated from the location latitude and logitude.
location_code Location MPC observatory code if given in the query.
location_name Location MPC observatory name if location was given as a MPC code.
Sun Events Section

The following fields are provided in the sun events section:

Field Name Description
Sunset Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is 0 degrees altitude.
Civil twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -6 degrees altitude.
Nautical twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -12 degrees altitude.
Astronomical twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -18 degrees altitude.
Astronomical twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -18 degrees altitude.
Nautical twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -12 degrees altitude.
Civil twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -6 degrees altitude.
Sunrise Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is 0 degrees altitude.
Moon Events Section

The following fields are provided in the moon events section:

Field Name Description
Rise Date and time YYYY-MM-DD hh:mm UTC the Moon rises during the night.
Set Date and time YYYY-MM-DD hh:mm UTC the Moon sets during the night.
Moon phase Percentage of the moon's illuminated surface visible from Earth, ranging from 0% (New Moon) to 100% (Full Moon).
Session Events Section

The following fields are provided in the session events section:

Field Name Description
start_at Sun altitude (degrees) at which the the sesstion should start.
start_time Session start date and time YYYY-MM-DD hh:mm UTC.
end_time Session end date and time YYYY-MM-DD hh:mm UTC.
Limits Section

The following fields are provided in the limits section:

Field Name Description
mag Limiting object magnitude.
alt Minimum object altitude above horizon in degrees.
sun_elong Minimum solar elongation in degrees.
moon_elong Minimum moon elongation in degrees.
Comet List Section

The following fields are provided in the comet_list section:

Field Name Description
comet_type Comet type (e.g. P, N, C, I, A or M)
comet_name Comet ICQ designation name
comet_fullname Comet full name
best_time Calculated comet best observation time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
orbit_calc_source Source of magnitude parameters:
1 - Current magnitude calculated using magnitude parameters derived from COBS observations from the last 30 days.
2 - Current magnitude calculated based on magnitude parameters derived from COBS observations from the last year.
3 - Current magnitude calculated based on magnitude parameters derived from all COBS observations.
4 - Too few observations have been reported to COBS during the last year. Current magnitude is calculated from MPC magnitude parameters.
magnitude Comet magnitude at the calculated best observation time
best_ra Comet Right Ascension (RA) at the best observation time
best_dec Comet Declination (DEC) at the best observation time(
best_alt Comet Altitude above horizon (Alt) at the best observation time
sun_elongation Comet elongation from the Sun in the sky in degrees.
moon_elongation Comet elongation from the Moon in the sky in degrees.
constelation Constelation name in which the comet is currently possitioned.
rise_time Calculated comet rise time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
set_time Calculated comet set time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
motion Comet motion speed in the sky in arcsec/min.
pa Comet motion position angle in the sky (0 = north, 90 = east, 180 = south, 270 = west, etc.).
trend Comet brightness trend
"bright" - comet brightness is brightening
"fade" - comet brightness is fading
"steady" - comet brightness is steady

HTTP Response Codes


All errors are returned via appropriate HTTP response codes.

HTTP Code Description Typical Usage
200 OK normal successful result for a query: object data returned (an error message is returned if the object was not found)
300 Multiple Choices the specified parameters matched more than one object
400 Bad Request the request contained invalid keywords and/or content: details returned
500 Internal Server Error the database is not available at the time of the request

Change Log


Version 1.1 (2024 May)

Version 1.0 (2023 November)

Initial release

Comet Planner API

Version: 1.1 (2024 May)

Comet Planner API provides a method of requesting a list of observable comets in a machine-readable data.

HTTP Request


GET https://cobs.si/api/planner.api

Example Queries

https://cobs.si/api/planner.api?date=2014-05-10&loc=106
https://cobs.si/api/planner.api?date=2024-05-10&lat=46.234&long=16.543&alt=520
https://cobs.si/api/planner.api?date=2014-05-10&loc=106&lim_mag=14&min_alt=0&min_sol=0&min_moon=0

Query Parameters


Parameters should be used to limit the number of observations returned by the query.

Parameter Type Default Description
loc string   MPC observatory code
lat float   Location latitude in decimal degrees, positive north of equator e.g. 34.984 and NOT 34°59'2"
long float   Location longitude in decimal degrees, positive east of Greenwich e.g. -110.392 and NOT -110°23'31".  
alt float   Location elevation in meters.
date date   Session date for which you want to calculate the observable comet list.
sun_alt float -12 Sun altitude at which the the sesstion should start.
0 - Sunset
-6 - Civil twilight end (Sun altitude -6 deg)
-12 - Nautical twilight end (Sun altitude -12 deg)
-15 - Amateur astronomical twilight end (Sun altitude -15 deg)
-18 - Astronomical twilight end (Sun altitude -18 deg)
lim_mag float 15 Limiting object magnitude.
min_alt float 10 Minimum object altitude above horizon in degrees.
min_sol float 10 Minimum solar elongation in degrees.
min_moon float 10 Minimum moon elongation in degrees.

Data Output


Please always check the JSON payload “signature” object for the API “version”. If the version does not match the version in this document (at the top), there is no guarantee that the format has not changed.
Example "signature" object with "version" value "1.1": "signature":{"version":"1.0","source":"COBS ... API"}

Normal Data Payload


This output is the result of specifying a MPC observatory code location.
The following example query https://cobs.si/api/planner.api?loc=106 returns the following payload containing data sections objects.

{
  "location": {
    "name": "Crni Vrh",
    "lat": 45.945908,
    "long": 14.0711,
    "tz": "Europe/Ljubljana"
  },
  "sun events": {
    "Day ends": "2024-05-08 20:20 CEST",
    "Civil twilight ends": "2024-05-08 20:55 CEST",
    "Nautical twilight ends": "2024-05-08 21:38 CEST",
    "Astronomical twilight ends": "2024-05-08 22:28 CEST",
    "Astronomical twilight starts": "2024-05-09 03:31 CEST",
    "Nautical twilight starts": "2024-05-09 04:21 CEST",
    "Civil twilight starts": "2024-05-09 05:04 CEST",
    "Day starts": "2024-05-09 05:38 CEST"
  },
  "moon events": {
    "Set": "2024-05-08 21:14 CEST",
    "Rise": "2024-05-09 06:04 CEST",
    "Moon phase": 13.1
  },
  "session events": {
    "start_at": "Nautical twilight end (Sun elevation -12 deg)",
    "start_time": "2024-05-09 21:42:06 CEST",
    "end_time": "2024-05-10 04:17:40 CEST"
  },
  "limits": {
    "mag": 15,
    "alt": 10,
    "sun_elong": 10,
    "moon_elong": 10
  },
  "comet_list": [
    {
      "comet_type": "C",
      "comet_name": "2023V4",
      "comet_fullname": "C/2023 V4 (Camarasa-Duszanowicz)",
      "best_time": "2024-05-09 21:42:06",
      "orbit_calc_source": 3,
      "magnitude": 14.3,
      "best_ra": "3:56:28.86",
      "best_dec": "34:36:32.1",
      "best_alt": 56.5,
      "sun_elongation": 20,
      "moon_elongation": 13,
      "constelation": "Perseus",
      "rise_time": "2024-05-09 21:42:06",
      "set_time": "2024-05-09 22:55:36",
      "motion": 2,
      "pa": 39,
      "trend": "bright"
    },
    {
      "comet_type": "C",
      "comet_name": "2017K2",
      "comet_fullname": "C/2017 K2 (PANSTARRS)",
      "best_time": "2024-05-09 21:42:06",
      "orbit_calc_source": 1,
      "magnitude": 14.5,
      "best_ra": "5:29:35.11",
      "best_dec": "12:49:43.7",
      "best_alt": 34.7,
      "sun_elongation": 34,
      "moon_elongation": 18,
      "constelation": "Orion",
      "rise_time": "2024-05-09 21:42:06",
      "set_time": "2024-05-09 22:18:38",
      "motion": 0.37,
      "pa": 62,
      "trend": "fade"
    },
    ...
  ],
  "signature": {
    "source": "COBS Query API",
    "version": "1.0"
  }
}
Sections Output

The following sections are available for output. The detailed structure of the contents within each section are described in corresponding document sections below.

Section Description
location Information about the given location the comet list is calculated for.
sun events Twilight events calculated for the given location.
moon events Moon rise and set times calculated for the given location.
session events Session start and end times calculated for the given location.
limits Limit values used to filter the observable comets list.
comet_list List of observable comets.
signature JSON payload “signature” object with the API “version”
Structure of Sections

The following shows the JSON structure of a normal data payload containing all possible sections. The detailed structure of the contents within each section are described in corresponding document sections below.

{
  "location": {
    location info fields ...
  },
  "sun events": {
    twilight events fields ...
  },
  "moon events": {
    moon events fields ...
  },  
  "session events": {
    session events fields ...
  },  
    "limits": {
    limits fields ...
  },  
  "comet_list": {
    comet list fields ...
  },  
  "signature": {
    signature fields ...
  },
Query Location Section

The following fields are provided in the location section:

Field Name Description
location_lat Location latitide in degrees, positive north of equator e.g. 34.984 and NOT 34°59'2" or 34.984N.
location_long Location longitude in degrees, positive east of Greenwich e.g. -110.392 and NOT -110°23'31" or 110.392W.
location_elev Location altitude in meters, set to zero if you don't know.
tz Time zone for the calculated output times. By default set to local timezone calculated from the location latitude and logitude.
location_code Location MPC observatory code if given in the query.
location_name Location MPC observatory name if location was given as a MPC code.
Sun Events Section

The following fields are provided in the sun events section:

Field Name Description
Sunset Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is 0 degrees altitude.
Civil twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -6 degrees altitude.
Nautical twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -12 degrees altitude.
Astronomical twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -18 degrees altitude.
Astronomical twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -18 degrees altitude.
Nautical twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -12 degrees altitude.
Civil twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -6 degrees altitude.
Sunrise Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is 0 degrees altitude.
Moon Events Section

The following fields are provided in the moon events section:

Field Name Description
Rise Date and time YYYY-MM-DD hh:mm UTC the Moon rises during the night.
Set Date and time YYYY-MM-DD hh:mm UTC the Moon sets during the night.
Moon phase Percentage of the moon's illuminated surface visible from Earth, ranging from 0% (New Moon) to 100% (Full Moon).
Session Events Section

The following fields are provided in the session events section:

Field Name Description
start_at Sun altitude (degrees) at which the the sesstion should start.
start_time Session start date and time YYYY-MM-DD hh:mm UTC.
end_time Session end date and time YYYY-MM-DD hh:mm UTC.
Limits Section

The following fields are provided in the limits section:

Field Name Description
mag Limiting object magnitude.
alt Minimum object altitude above horizon in degrees.
sun_elong Minimum solar elongation in degrees.
moon_elong Minimum moon elongation in degrees.
Comet List Section

The following fields are provided in the comet_list section:

Field Name Description
comet_type Comet type (e.g. P, N, C, I, A or M)
comet_name Comet ICQ designation name
comet_fullname Comet full name
best_time Calculated comet best observation time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
orbit_calc_source Source of magnitude parameters:
1 - Current magnitude calculated using magnitude parameters derived from COBS observations from the last 30 days.
2 - Current magnitude calculated based on magnitude parameters derived from COBS observations from the last year.
3 - Current magnitude calculated based on magnitude parameters derived from all COBS observations.
4 - Too few observations have been reported to COBS during the last year. Current magnitude is calculated from MPC magnitude parameters.
magnitude Comet magnitude at the calculated best observation time
best_ra Comet Right Ascension (RA) at the best observation time
best_dec Comet Declination (DEC) at the best observation time(
best_alt Comet Altitude above horizon (Alt) at the best observation time
sun_elongation Comet elongation from the Sun in the sky in degrees.
moon_elongation Comet elongation from the Moon in the sky in degrees.
constelation Constelation name in which the comet is currently possitioned.
rise_time Calculated comet rise time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
set_time Calculated comet set time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
motion Comet motion speed in the sky in arcsec/min.
pa Comet motion position angle in the sky (0 = north, 90 = east, 180 = south, 270 = west, etc.).
trend Comet brightness trend
"bright" - comet brightness is brightening
"fade" - comet brightness is fading
"steady" - comet brightness is steady

HTTP Response Codes


All errors are returned via appropriate HTTP response codes.

HTTP Code Description Typical Usage
200 OK normal successful result for a query: object data returned (an error message is returned if the object was not found)
300 Multiple Choices the specified parameters matched more than one object
400 Bad Request the request contained invalid keywords and/or content: details returned
500 Internal Server Error the database is not available at the time of the request

Change Log


Version 1.1 (2024 May)

Version 1.0 (2023 November)

Initial release

Comet Planner API

Version: 1.1 (2024 May)

Comet Planner API provides a method of requesting a list of observable comets in a machine-readable data.

HTTP Request


GET https://cobs.si/api/planner.api

Example Queries

https://cobs.si/api/planner.api?date=2014-05-10&loc=106
https://cobs.si/api/planner.api?date=2024-05-10&lat=46.234&long=16.543&alt=520
https://cobs.si/api/planner.api?date=2014-05-10&loc=106&lim_mag=14&min_alt=0&min_sol=0&min_moon=0

Query Parameters


Parameters should be used to limit the number of observations returned by the query.

Parameter Type Default Description
loc string   MPC observatory code
lat float   Location latitude in decimal degrees, positive north of equator e.g. 34.984 and NOT 34°59'2"
long float   Location longitude in decimal degrees, positive east of Greenwich e.g. -110.392 and NOT -110°23'31".  
alt float   Location elevation in meters.
date date   Session date for which you want to calculate the observable comet list.
sun_alt float -12 Sun altitude at which the the sesstion should start.
0 - Sunset
-6 - Civil twilight end (Sun altitude -6 deg)
-12 - Nautical twilight end (Sun altitude -12 deg)
-15 - Amateur astronomical twilight end (Sun altitude -15 deg)
-18 - Astronomical twilight end (Sun altitude -18 deg)
lim_mag float 15 Limiting object magnitude.
min_alt float 10 Minimum object altitude above horizon in degrees.
min_sol float 10 Minimum solar elongation in degrees.
min_moon float 10 Minimum moon elongation in degrees.

Data Output


Please always check the JSON payload “signature” object for the API “version”. If the version does not match the version in this document (at the top), there is no guarantee that the format has not changed.
Example "signature" object with "version" value "1.1": "signature":{"version":"1.0","source":"COBS ... API"}

Normal Data Payload


This output is the result of specifying a MPC observatory code location.
The following example query https://cobs.si/api/planner.api?loc=106 returns the following payload containing data sections objects.

{
  "location": {
    "name": "Crni Vrh",
    "lat": 45.945908,
    "long": 14.0711,
    "tz": "Europe/Ljubljana"
  },
  "sun events": {
    "Day ends": "2024-05-08 20:20 CEST",
    "Civil twilight ends": "2024-05-08 20:55 CEST",
    "Nautical twilight ends": "2024-05-08 21:38 CEST",
    "Astronomical twilight ends": "2024-05-08 22:28 CEST",
    "Astronomical twilight starts": "2024-05-09 03:31 CEST",
    "Nautical twilight starts": "2024-05-09 04:21 CEST",
    "Civil twilight starts": "2024-05-09 05:04 CEST",
    "Day starts": "2024-05-09 05:38 CEST"
  },
  "moon events": {
    "Set": "2024-05-08 21:14 CEST",
    "Rise": "2024-05-09 06:04 CEST",
    "Moon phase": 13.1
  },
  "session events": {
    "start_at": "Nautical twilight end (Sun elevation -12 deg)",
    "start_time": "2024-05-09 21:42:06 CEST",
    "end_time": "2024-05-10 04:17:40 CEST"
  },
  "limits": {
    "mag": 15,
    "alt": 10,
    "sun_elong": 10,
    "moon_elong": 10
  },
  "comet_list": [
    {
      "comet_type": "C",
      "comet_name": "2023V4",
      "comet_fullname": "C/2023 V4 (Camarasa-Duszanowicz)",
      "best_time": "2024-05-09 21:42:06",
      "orbit_calc_source": 3,
      "magnitude": 14.3,
      "best_ra": "3:56:28.86",
      "best_dec": "34:36:32.1",
      "best_alt": 56.5,
      "sun_elongation": 20,
      "moon_elongation": 13,
      "constelation": "Perseus",
      "rise_time": "2024-05-09 21:42:06",
      "set_time": "2024-05-09 22:55:36",
      "motion": 2,
      "pa": 39,
      "trend": "bright"
    },
    {
      "comet_type": "C",
      "comet_name": "2017K2",
      "comet_fullname": "C/2017 K2 (PANSTARRS)",
      "best_time": "2024-05-09 21:42:06",
      "orbit_calc_source": 1,
      "magnitude": 14.5,
      "best_ra": "5:29:35.11",
      "best_dec": "12:49:43.7",
      "best_alt": 34.7,
      "sun_elongation": 34,
      "moon_elongation": 18,
      "constelation": "Orion",
      "rise_time": "2024-05-09 21:42:06",
      "set_time": "2024-05-09 22:18:38",
      "motion": 0.37,
      "pa": 62,
      "trend": "fade"
    },
    ...
  ],
  "signature": {
    "source": "COBS Query API",
    "version": "1.0"
  }
}
Sections Output

The following sections are available for output. The detailed structure of the contents within each section are described in corresponding document sections below.

Section Description
location Information about the given location the comet list is calculated for.
sun events Twilight events calculated for the given location.
moon events Moon rise and set times calculated for the given location.
session events Session start and end times calculated for the given location.
limits Limit values used to filter the observable comets list.
comet_list List of observable comets.
signature JSON payload “signature” object with the API “version”
Structure of Sections

The following shows the JSON structure of a normal data payload containing all possible sections. The detailed structure of the contents within each section are described in corresponding document sections below.

{
  "location": {
    location info fields ...
  },
  "sun events": {
    twilight events fields ...
  },
  "moon events": {
    moon events fields ...
  },  
  "session events": {
    session events fields ...
  },  
    "limits": {
    limits fields ...
  },  
  "comet_list": {
    comet list fields ...
  },  
  "signature": {
    signature fields ...
  },
Query Location Section

The following fields are provided in the location section:

Field Name Description
location_lat Location latitide in degrees, positive north of equator e.g. 34.984 and NOT 34°59'2" or 34.984N.
location_long Location longitude in degrees, positive east of Greenwich e.g. -110.392 and NOT -110°23'31" or 110.392W.
location_elev Location altitude in meters, set to zero if you don't know.
tz Time zone for the calculated output times. By default set to local timezone calculated from the location latitude and logitude.
location_code Location MPC observatory code if given in the query.
location_name Location MPC observatory name if location was given as a MPC code.
Sun Events Section

The following fields are provided in the sun events section:

Field Name Description
Sunset Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is 0 degrees altitude.
Civil twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -6 degrees altitude.
Nautical twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -12 degrees altitude.
Astronomical twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -18 degrees altitude.
Astronomical twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -18 degrees altitude.
Nautical twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -12 degrees altitude.
Civil twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -6 degrees altitude.
Sunrise Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is 0 degrees altitude.
Moon Events Section

The following fields are provided in the moon events section:

Field Name Description
Rise Date and time YYYY-MM-DD hh:mm UTC the Moon rises during the night.
Set Date and time YYYY-MM-DD hh:mm UTC the Moon sets during the night.
Moon phase Percentage of the moon's illuminated surface visible from Earth, ranging from 0% (New Moon) to 100% (Full Moon).
Session Events Section

The following fields are provided in the session events section:

Field Name Description
start_at Sun altitude (degrees) at which the the sesstion should start.
start_time Session start date and time YYYY-MM-DD hh:mm UTC.
end_time Session end date and time YYYY-MM-DD hh:mm UTC.
Limits Section

The following fields are provided in the limits section:

Field Name Description
mag Limiting object magnitude.
alt Minimum object altitude above horizon in degrees.
sun_elong Minimum solar elongation in degrees.
moon_elong Minimum moon elongation in degrees.
Comet List Section

The following fields are provided in the comet_list section:

Field Name Description
comet_type Comet type (e.g. P, N, C, I, A or M)
comet_name Comet ICQ designation name
comet_fullname Comet full name
best_time Calculated comet best observation time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
orbit_calc_source Source of magnitude parameters:
1 - Current magnitude calculated using magnitude parameters derived from COBS observations from the last 30 days.
2 - Current magnitude calculated based on magnitude parameters derived from COBS observations from the last year.
3 - Current magnitude calculated based on magnitude parameters derived from all COBS observations.
4 - Too few observations have been reported to COBS during the last year. Current magnitude is calculated from MPC magnitude parameters.
magnitude Comet magnitude at the calculated best observation time
best_ra Comet Right Ascension (RA) at the best observation time
best_dec Comet Declination (DEC) at the best observation time(
best_alt Comet Altitude above horizon (Alt) at the best observation time
sun_elongation Comet elongation from the Sun in the sky in degrees.
moon_elongation Comet elongation from the Moon in the sky in degrees.
constelation Constelation name in which the comet is currently possitioned.
rise_time Calculated comet rise time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
set_time Calculated comet set time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
motion Comet motion speed in the sky in arcsec/min.
pa Comet motion position angle in the sky (0 = north, 90 = east, 180 = south, 270 = west, etc.).
trend Comet brightness trend
"bright" - comet brightness is brightening
"fade" - comet brightness is fading
"steady" - comet brightness is steady

HTTP Response Codes


All errors are returned via appropriate HTTP response codes.

HTTP Code Description Typical Usage
200 OK normal successful result for a query: object data returned (an error message is returned if the object was not found)
300 Multiple Choices the specified parameters matched more than one object
400 Bad Request the request contained invalid keywords and/or content: details returned
500 Internal Server Error the database is not available at the time of the request

Change Log


Version 1.1 (2024 May)

Version 1.0 (2023 November)

Initial release

Comet Planner API

Version: 1.1 (2024 May)

Comet Planner API provides a method of requesting a list of observable comets in a machine-readable data.

HTTP Request


GET https://cobs.si/api/planner.api

Example Queries

https://cobs.si/api/planner.api?date=2014-05-10&loc=106
https://cobs.si/api/planner.api?date=2024-05-10&lat=46.234&long=16.543&alt=520
https://cobs.si/api/planner.api?date=2014-05-10&loc=106&lim_mag=14&min_alt=0&min_sol=0&min_moon=0

Query Parameters


Parameters should be used to limit the number of observations returned by the query.

Parameter Type Default Description
loc string   MPC observatory code
lat float   Location latitude in decimal degrees, positive north of equator e.g. 34.984 and NOT 34°59'2"
long float   Location longitude in decimal degrees, positive east of Greenwich e.g. -110.392 and NOT -110°23'31".  
alt float   Location elevation in meters.
date date   Session date for which you want to calculate the observable comet list.
sun_alt float -12 Sun altitude at which the the sesstion should start.
0 - Sunset
-6 - Civil twilight end (Sun altitude -6 deg)
-12 - Nautical twilight end (Sun altitude -12 deg)
-15 - Amateur astronomical twilight end (Sun altitude -15 deg)
-18 - Astronomical twilight end (Sun altitude -18 deg)
lim_mag float 15 Limiting object magnitude.
min_alt float 10 Minimum object altitude above horizon in degrees.
min_sol float 10 Minimum solar elongation in degrees.
min_moon float 10 Minimum moon elongation in degrees.

Data Output


Please always check the JSON payload “signature” object for the API “version”. If the version does not match the version in this document (at the top), there is no guarantee that the format has not changed.
Example "signature" object with "version" value "1.1": "signature":{"version":"1.0","source":"COBS ... API"}

Normal Data Payload


This output is the result of specifying a MPC observatory code location.
The following example query https://cobs.si/api/planner.api?loc=106 returns the following payload containing data sections objects.

{
  "location": {
    "name": "Crni Vrh",
    "lat": 45.945908,
    "long": 14.0711,
    "tz": "Europe/Ljubljana"
  },
  "sun events": {
    "Day ends": "2024-05-08 20:20 CEST",
    "Civil twilight ends": "2024-05-08 20:55 CEST",
    "Nautical twilight ends": "2024-05-08 21:38 CEST",
    "Astronomical twilight ends": "2024-05-08 22:28 CEST",
    "Astronomical twilight starts": "2024-05-09 03:31 CEST",
    "Nautical twilight starts": "2024-05-09 04:21 CEST",
    "Civil twilight starts": "2024-05-09 05:04 CEST",
    "Day starts": "2024-05-09 05:38 CEST"
  },
  "moon events": {
    "Set": "2024-05-08 21:14 CEST",
    "Rise": "2024-05-09 06:04 CEST",
    "Moon phase": 13.1
  },
  "session events": {
    "start_at": "Nautical twilight end (Sun elevation -12 deg)",
    "start_time": "2024-05-09 21:42:06 CEST",
    "end_time": "2024-05-10 04:17:40 CEST"
  },
  "limits": {
    "mag": 15,
    "alt": 10,
    "sun_elong": 10,
    "moon_elong": 10
  },
  "comet_list": [
    {
      "comet_type": "C",
      "comet_name": "2023V4",
      "comet_fullname": "C/2023 V4 (Camarasa-Duszanowicz)",
      "best_time": "2024-05-09 21:42:06",
      "orbit_calc_source": 3,
      "magnitude": 14.3,
      "best_ra": "3:56:28.86",
      "best_dec": "34:36:32.1",
      "best_alt": 56.5,
      "sun_elongation": 20,
      "moon_elongation": 13,
      "constelation": "Perseus",
      "rise_time": "2024-05-09 21:42:06",
      "set_time": "2024-05-09 22:55:36",
      "motion": 2,
      "pa": 39,
      "trend": "bright"
    },
    {
      "comet_type": "C",
      "comet_name": "2017K2",
      "comet_fullname": "C/2017 K2 (PANSTARRS)",
      "best_time": "2024-05-09 21:42:06",
      "orbit_calc_source": 1,
      "magnitude": 14.5,
      "best_ra": "5:29:35.11",
      "best_dec": "12:49:43.7",
      "best_alt": 34.7,
      "sun_elongation": 34,
      "moon_elongation": 18,
      "constelation": "Orion",
      "rise_time": "2024-05-09 21:42:06",
      "set_time": "2024-05-09 22:18:38",
      "motion": 0.37,
      "pa": 62,
      "trend": "fade"
    },
    ...
  ],
  "signature": {
    "source": "COBS Query API",
    "version": "1.0"
  }
}
Sections Output

The following sections are available for output. The detailed structure of the contents within each section are described in corresponding document sections below.

Section Description
location Information about the given location the comet list is calculated for.
sun events Twilight events calculated for the given location.
moon events Moon rise and set times calculated for the given location.
session events Session start and end times calculated for the given location.
limits Limit values used to filter the observable comets list.
comet_list List of observable comets.
signature JSON payload “signature” object with the API “version”
Structure of Sections

The following shows the JSON structure of a normal data payload containing all possible sections. The detailed structure of the contents within each section are described in corresponding document sections below.

{
  "location": {
    location info fields ...
  },
  "sun events": {
    twilight events fields ...
  },
  "moon events": {
    moon events fields ...
  },  
  "session events": {
    session events fields ...
  },  
    "limits": {
    limits fields ...
  },  
  "comet_list": {
    comet list fields ...
  },  
  "signature": {
    signature fields ...
  },
Query Location Section

The following fields are provided in the location section:

Field Name Description
location_lat Location latitide in degrees, positive north of equator e.g. 34.984 and NOT 34°59'2" or 34.984N.
location_long Location longitude in degrees, positive east of Greenwich e.g. -110.392 and NOT -110°23'31" or 110.392W.
location_elev Location altitude in meters, set to zero if you don't know.
tz Time zone for the calculated output times. By default set to local timezone calculated from the location latitude and logitude.
location_code Location MPC observatory code if given in the query.
location_name Location MPC observatory name if location was given as a MPC code.
Sun Events Section

The following fields are provided in the sun events section:

Field Name Description
Sunset Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is 0 degrees altitude.
Civil twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -6 degrees altitude.
Nautical twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -12 degrees altitude.
Astronomical twilight ends Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -18 degrees altitude.
Astronomical twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -18 degrees altitude.
Nautical twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -12 degrees altitude.
Civil twilight starts Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is -6 degrees altitude.
Sunrise Date and time YYYY-MM-DD hh:mm UTC when sun eleavtion is 0 degrees altitude.
Moon Events Section

The following fields are provided in the moon events section:

Field Name Description
Rise Date and time YYYY-MM-DD hh:mm UTC the Moon rises during the night.
Set Date and time YYYY-MM-DD hh:mm UTC the Moon sets during the night.
Moon phase Percentage of the moon's illuminated surface visible from Earth, ranging from 0% (New Moon) to 100% (Full Moon).
Session Events Section

The following fields are provided in the session events section:

Field Name Description
start_at Sun altitude (degrees) at which the the sesstion should start.
start_time Session start date and time YYYY-MM-DD hh:mm UTC.
end_time Session end date and time YYYY-MM-DD hh:mm UTC.
Limits Section

The following fields are provided in the limits section:

Field Name Description
mag Limiting object magnitude.
alt Minimum object altitude above horizon in degrees.
sun_elong Minimum solar elongation in degrees.
moon_elong Minimum moon elongation in degrees.
Comet List Section

The following fields are provided in the comet_list section:

Field Name Description
comet_type Comet type (e.g. P, N, C, I, A or M)
comet_name Comet ICQ designation name
comet_fullname Comet full name
best_time Calculated comet best observation time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
orbit_calc_source Source of magnitude parameters:
1 - Current magnitude calculated using magnitude parameters derived from COBS observations from the last 30 days.
2 - Current magnitude calculated based on magnitude parameters derived from COBS observations from the last year.
3 - Current magnitude calculated based on magnitude parameters derived from all COBS observations.
4 - Too few observations have been reported to COBS during the last year. Current magnitude is calculated from MPC magnitude parameters.
magnitude Comet magnitude at the calculated best observation time
best_ra Comet Right Ascension (RA) at the best observation time
best_dec Comet Declination (DEC) at the best observation time(
best_alt Comet Altitude above horizon (Alt) at the best observation time
sun_elongation Comet elongation from the Sun in the sky in degrees.
moon_elongation Comet elongation from the Moon in the sky in degrees.
constelation Constelation name in which the comet is currently possitioned.
rise_time Calculated comet rise time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
set_time Calculated comet set time (Date and time YYYY-MM-DD hh:mm UTC) during the observation session
motion Comet motion speed in the sky in arcsec/min.
pa Comet motion position angle in the sky (0 = north, 90 = east, 180 = south, 270 = west, etc.).
trend Comet brightness trend
"bright" - comet brightness is brightening
"fade" - comet brightness is fading
"steady" - comet brightness is steady

HTTP Response Codes


All errors are returned via appropriate HTTP response codes.

HTTP Code Description Typical Usage
200 OK normal successful result for a query: object data returned (an error message is returned if the object was not found)
300 Multiple Choices the specified parameters matched more than one object
400 Bad Request the request contained invalid keywords and/or content: details returned
500 Internal Server Error the database is not available at the time of the request

Change Log


Version 1.1 (2024 May)

Version 1.0 (2023 November)

Initial release