Meteor API

Overview

This API allows users to search for meteors or pull a random meteor. A glossary containg all meteors is available at glossary.md.

Base URL

https://api.msmc.cc/api

Endpoints

1. Search for meteor

Info

Endpoint: /meteor/:name
Method: GET

Parameters

  1. :name - the name of the meteor your searching for

Example Request

https://api.msmc.cc/api/meteor/Adhi Kot

Response

[
  {
    "name": "Adhi Kot",
    "id": "379",
    "recclass": "EH4",
    "mass (g)": "4239.0",
    "year": "1919.0",
    "reclat": "32.1",
    "reclong": "71.8",
    "GeoLocation": "(32.1, 71.8)"
  }
]

2. Pull a random meteor

Info

Endpoint: /meteor/random
Method: GET

Example Request

https://api.msmc.cc/api/meteor/random

Example Response

{
  "name": "Jiddat al Harasis 105",
  "id": "12164",
  "recclass": "H6",
  "mass (g)": "59.41",
  "year": "2002.0",
  "reclat": "19.17935",
  "reclong": "56.11777",
  "GeoLocation": "(19.17935, 56.11777)"
}

Response Structure

{
  "name": "",
  "id": "",
  "recclass": "",
  "mass (g)": "",
  "year": "",
  "reclat": "",
  "reclong": "",
  "GeoLocation": ""
}

Support

For support, email [email protected]