---
title: Using API Keys to Analyze NASA's Data in Alteryx
description: How to use Alteryx, Tableau, and API keys to protect the world from impending doom using NASA's public data (and other real life applications).
image: https://blog.continuus.ai/hubfs/2018%20Blog%20Images/Using%20API%20Keys%20to%20Analyze%20NASAs%20Data%20in%20Alteryx_180226/Using%20API%20Keys%20to%20Analyze%20NASAs%20Data%20in%20Alteryx_Thumbnail_180226.png
---

[Skip to content](https://blog.continuus.ai/api-keys-analyze-nasa-data-alteryx#main-content)

[![Continuus Logo 2024 - Horizontal - Full Color - Padded-1](https://blog.continuus.ai/hs-fs/hubfs/Continuus%20Logo%202024%20-%20Horizontal%20-%20Full%20Color%20-%20Padded-1.png?width=1803&height=665&name=Continuus%20Logo%202024%20-%20Horizontal%20-%20Full%20Color%20-%20Padded-1.png)](https://www.continuus.ai/)

- [Services](https://www.continuus.ai/services)
- [Partners](https://www.continuus-technologies.com/partners)
- Company
  
  Show submenu for Company 
  
    - [About](https://www.continuus.ai/about)
    - [Our Team](https://www.continuus.ai/our-team)
    - [Careers](https://www.continuus.ai/careers)
    - [News](https://www.continuus.ai/news-recognition)
- [Resources](https://blog.continuus-technologies.com/)
- [Contact](https://www.continuus-technologies.com/contact)

Open main navigation

Close main navigation

- [Services](https://www.continuus.ai/services)
- [Partners](https://www.continuus-technologies.com/partners)
- Company
  
  Show submenu for Company 
  
    - [About](https://www.continuus.ai/about)
    - [Our Team](https://www.continuus.ai/our-team)
    - [Careers](https://www.continuus.ai/careers)
    - [News](https://www.continuus.ai/news-recognition)
- [Resources](https://blog.continuus-technologies.com/)
- [Contact](https://www.continuus-technologies.com/contact)

[All posts](https://blog.continuus.ai/all)

 July 19, 2024

# Using API Keys to Analyze NASA's Data in Alteryx

![Picture of Rachel Burge](https://blog.continuus.ai/hs-fs/hubfs/continuus-tech-july2019-22.jpg?width=50&name=continuus-tech-july2019-22.jpg) By  [Rachel Burge](https://blog.continuus.ai/author/rachel-burge)  ·   2 minute read

[Return to Resources](https://blog.continuus.ai/)

Self-serve data science helps businesses use their own data to ask and answer questions. These insights can lead to faster and smarter decisions. However, no business exists in a vacuum.  At Continuus, most of our clients combine internal data with information from outside sources. Whether it’s an ongoing feed from Bloomberg or a one-time query of survey data, the use of external data sources can improve your decision-making abilities.

Developers often integrate disparate technologies using an Application Programming Interface (API). To illustrate how easy it is to use an API key to integrate external data with Alteryx, let’s look at a fun exercise we recently completed using a publicly-available data feed from NASA.

NASA’s Open Innovation team works to make the space agency’s data freely available to the public. We decided to protect our fellow citizens from possible doom due to an asteroid or other space object by analyzing data from the Near Earth Object (NEO) Feed with Alteryx.

After applying for API access on [NASA’s website](https://api.nasa.gov/#getting-started%C2%A0) we searched for the specific documentation for the NEO data feed. We then:

- Determined the URL needed and the http protocol for making the data request.
- Used a text input tool to paste in the URL, along with our user-specific API key and other parameters (such as start and end date) required to make the request.
- After the full URL is passed to the download tool, http action is set from the payload tab.
- Results for this API are returned data in JSON format, so we passed the data through a JSON parse tool, then further parsed the data using a text to columns tool.
- Finally, we filtered out the metadata and we had our complete data set.

![Using API Keys to Analyze NASAs Data in Alteryx_1_180226](https://blog.continuus.ai/hs-fs/hubfs/2018%20Blog%20Images/Using%20API%20Keys%20to%20Analyze%20NASAs%20Data%20in%20Alteryx_180226/Using%20API%20Keys%20to%20Analyze%20NASAs%20Data%20in%20Alteryx_1_180226.png?width=600&height=171&name=Using%20API%20Keys%20to%20Analyze%20NASAs%20Data%20in%20Alteryx_1_180226.png)

 

To see the data in action, we wrote the output to a Tableau data visualization. Now we can see all the asteroids that have approached earth in 2018 and those that are projected in the next week.

Finally, for an extra challenge, we created an API integration with the Slack messaging app. The integration will allow us to send an alert should an asteroid get too close for comfort. Using an API for Slack, we acquired a URL and key that will post a message to our entire team.  Within Alteryx, we created a conditional alert and formatted it as a JSON request. Using the download tool again, we input the full URL, set the http action to POST and took the query string/body from our field containing the formatted JSON message.

The JSON message created in Alteryx is:

*{"channel":"#doomsdaywatch","text":  "Good News! No potentially hazardous 'Near Earth Objects' in view for this week!\\n\\nPlease resume your normal activities :smile:"}*

Here’s what the message looks like when published in Slack:

![Using API Keys to Analyze NASAs Data in Alteryx_2_180226](https://blog.continuus.ai/hs-fs/hubfs/2018%20Blog%20Images/Using%20API%20Keys%20to%20Analyze%20NASAs%20Data%20in%20Alteryx_180226/Using%20API%20Keys%20to%20Analyze%20NASAs%20Data%20in%20Alteryx_2_180226.png?width=600&height=81&name=Using%20API%20Keys%20to%20Analyze%20NASAs%20Data%20in%20Alteryx_2_180226.png)

 

While you might not worry about an asteroid hitting the Earth, using an API key to integrate external data can come in handy in real-world situations, such as John Heisler’s [analysis of wind farm data](http://www.continuus-technologies.com/learning/blog-posts/using-alteryx-tableau-visualize-date-deep-analytics) for a client. See how the powers of Alteryx and Tableau were combined to enable short-term risk planning and up-to-date deep analytics.

Share: [facebook-f icon](http://www.facebook.com/share.php?u=https://blog.continuus.ai/api-keys-analyze-nasa-data-alteryx) [linkedin-in icon](http://www.linkedin.com/shareArticle?mini=true&url=https://blog.continuus.ai/api-keys-analyze-nasa-data-alteryx) [twitter icon](https://twitter.com/intent/tweet?url=https://blog.continuus.ai/api-keys-analyze-nasa-data-alteryx) [pinterest-p icon](http://pinterest.com/pin/create/link/?url=https://blog.continuus.ai/api-keys-analyze-nasa-data-alteryx) [envelope icon](mailto:?body=https://blog.continuus.ai/api-keys-analyze-nasa-data-alteryx)

## Related posts

[![](https://blog.continuus.ai/hubfs/Website%20Resources%20Header%20Graphic%20-%201000x800%20-%20Demo%20-%20Portfolio%20Valuation.png)](https://blog.continuus.ai/demo-equity-research-workflow-native-app-streamlit-snowflake)

[Snowflake](https://blog.continuus.ai/tag/snowflake)

### [Demo | Equity Research Workflow Native App with Streamlit and Snowflake](https://blog.continuus.ai/demo-equity-research-workflow-native-app-streamlit-snowflake)

[![](https://blog.continuus.ai/hubfs/Untitled%20(5%20%C3%97%202%20in).png)](https://blog.continuus.ai/using-graphql-to-query-tableau-online-server)

[Blog](https://blog.continuus.ai/tag/blog)

### [Using GraphQL to query Tableau Online Server](https://blog.continuus.ai/using-graphql-to-query-tableau-online-server)

[![](https://blog.continuus.ai/hubfs/Website%20Resources%20Header%20Graphic%20-%201000x800%20-%20Demo%20-%20Trade%20Settlement-1.png)](https://blog.continuus.ai/demo-trade-settlement-streamlit-snowflake)

[Demo](https://blog.continuus.ai/tag/demo)

### [Demo | Trade Settlement Streamlit App](https://blog.continuus.ai/demo-trade-settlement-streamlit-snowflake)

### Pages

---

### Resources

---

[Home](https://www.continuus.ai/)

[Services](https://www.continuus.ai/services)

[Partners](https://www.continuus.ai/partners)

[About](https://www.continuus.ai/about)

 

[Our Team](https://www.continuus.ai/our-team)

[Careers](https://www.continuus.ai/careers)

[News](https://www.continuus.ai/news-recognition)

[Contact](https://www.continuus.ai/contact)

Blog Posts

Case Studies

Solution Briefs

Webinars

Demos

Videos

All

[Cookies Policy](https://www.continuus.ai/cookies-policy) | [Privacy Policy](https://www.continuus.ai/privacy-policy) | [Accessibility](https://www.continuus.ai/accessibility) | *©* [*Continuus Technologies*](https://www.continuus.ai/) *2024*

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Rachel Burge",
    "url" : "https://blog.continuus.ai/author/rachel-burge"
  },
  "dateModified" : "2024-07-19T19:20:09.119Z",
  "datePublished" : "2018-02-28T02:57:00.000Z",
  "headline" : "Using API Keys to Analyze NASA's Data in Alteryx",
  "image" : [ "https://blog.continuus.ai/hubfs/2018%20Blog%20Images/Using%20API%20Keys%20to%20Analyze%20NASAs%20Data%20in%20Alteryx_180226/Using%20API%20Keys%20to%20Analyze%20NASAs%20Data%20in%20Alteryx_Thumbnail_180226.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://blog.continuus.ai/api-keys-analyze-nasa-data-alteryx",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://blog.continuus.ai/hubfs/Continuus%20Logo%202024%20-%20Horizontal%20-%20Full%20Color%20-%20Padded-1.png"
    },
    "name" : "Continuus"
  }
}
```

```json
{
  "@context" : "http://schema.org",
  "@type" : "Article",
  "author" : {
    "@type" : "Person",
    "name" : [ "Rachel Burge" ],
    "url" : "https://blog.continuus.ai/author/rachel-burge"
  },
  "datePublished" : "2018-02-28T02:57:00+0000",
  "description" : "How to use Alteryx, Tableau, and API keys to protect the world from impending doom using NASA's public data (and other real life applications).",
  "headline" : "Using API Keys to Analyze NASA's Data in Alteryx",
  "image" : "https://21082575.fs1.hubspotusercontent-na1.net/hubfs/21082575/2018%20Blog%20Images/Using%20API%20Keys%20to%20Analyze%20NASAs%20Data%20in%20Alteryx_180226/Using%20API%20Keys%20to%20Analyze%20NASAs%20Data%20in%20Alteryx_Thumbnail_180226.png",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://21082575.fs1.hubspotusercontent-na1.net/hubfs/21082575/Continuus%20Logo%202024%20-%20Horizontal%20-%20Full%20Color%20-%20Padded-1.png"
    },
    "name" : "Continuus"
  },
  "url" : "https://blog.continuus.ai/api-keys-analyze-nasa-data-alteryx"
}
```