Skip to main content

Developing an API for NASA

Although the amount and diversity of data available on the internet are immense, it’s often delivered in formats that are either impractical for use in applications, or completely foreign to participants of Space Apps Challenge. 

For the last 2 years as I’ve served as NASA Space Apps Challenge local lead in Belgrade, Serbia, I had the chance to observe the struggle our participants have confronted with during their search for open data. Although the amount and diversity of data available on the internet are immense, it’s often delivered in formats that are either impractical for use in applications, or completely foreign to our participants. 

To overcome this situation I came to an idea to start an open data initiative with the goal to deliver up-to-date, quality data, suitable for use in web and mobile applications. The workflow was simple – collect, transform and provide.

satellite launch

 

The first data source I realized would benefit from this project were TLE data sets provided by CelesTrak. TLE – the Two Line Element is encoded data of orbital parameters for Earth-orbiting satellites which can be used to determine the satellite’s position and velocity at any given time. CelesTrak provides the data in textual format spread over several dozens of text files which make searching for desired satellite rather challenging. 

My main goal was to collect the data by using a backend process of the system that visited CelesTrak on a daily basis, merged all of their data source files, and stored them in a database. Such data, now structured in relational tables, was suitable for delivery via REST API. The API responses then get encoded in widely used JSON format enriched with Hydra vocabulary instead of raw text files.

glasses in front of a screen with code

Once the API was developed it was ready to be published and used by the members of the space community. The best place for that was NASA API portal. Having carefully read the “Contributing” section of the portal, I initiated contact via email with NASA’s person in charge. After giving a brief explanation of the API’s capabilities and data it provides, API’s usefulness was evaluated and approved by NASA officials, and I was given the instruction to fill in the template for API documentation that will be displayed in the listing. It took some time since the API was officially recognized and listed on the NASA website where it now stands hopefully for the benefit of all the scientific community.

If you happen to have a similar problem with any data source, you can contact me on [email protected], and I will gladly help with developing a solution that serves the public interest.

 

Our ecommerce nerds recommend reading

Best Amazon FBA course: Top picks for 2025

If you’re already selling on Amazon, you’ve probably realized that success in 2025 doesn’t look like it did a f…

Connect Shopify to Amazon: Step-by-step in 2025

In 2025, you can connect Shopify to Amazon by installing an integration app like Shopify Marketplace Connect or Amazo…

C2B e-commerce

C2B e-commerce, also called consumer-to-business, is a business model that stands as the complete opposite of the tra…
Psychological factors influencing online shopping listed as convenience during purchasing, social proof and trust, FOMO effect and personalized experience followed by illustration of a magnet attracting customers.

The psychology behind online shopping

The psychology of shopping is a trendy discipline that has gained much attention. Today, some companies invest signif…
Byteout homepage

Migrating to Shopify? Or creating a new shop?
Let's build it with accessibility in mind.


All rights reserved Byteout 2024