Integrate Launch Library 2 API with Your Space Launch Tracker

Learn how to integrate Launch Library 2 API with your AI agent for tracking space launches and events.


Launch Library 2 Integration Guide

This guide will walk you through integrating the Launch Library 2 API with your OpenAssistantGPT chatbot.

Overview

Launch Library 2 provides comprehensive information about past and upcoming spaceflight launches and space-related events worldwide. The service offers detailed data about launch vehicles, missions, launch sites, and space agencies. It features real-time updates, mission details, and historical launch records from various space organizations.

Integration Steps

1. Review API Documentation

First, visit the Launch Library 2 API documentation to understand the available endpoints and how they work.

2. Create Custom Action

In your OpenAssistantGPT dashboard:

  1. Go to the Actions Dashboard
  2. Click "Create New Action"
  3. Chose Get or Post
  4. Fill the action form with the following details:

Name: get_launch_library_2_data

Description: Get data using Launch Library 2

URL: https://thespacedevs.com/llapi?ref=public_apis&utm_medium=website

Parameters: This will depend on the API you are integrating. Parameters are query parameters passed in the URL.

3. Assign Action to Your Chatbot

  1. Go to your Chatbot Dashboard
  2. Select your chatbot
  3. Go to "Settings" > "Actions"
  4. Add the get_launch_library_2_data action to your chatbot

Using the Integration

Your chatbot can now handle science & math-related queries. Here are some example questions you can ask:

  • When is the next rocket launch?
  • Show upcoming space missions this month
  • Get historical launch data for Cape Canaveral

The chatbot will automatically use the Launch Library 2 API to fetch and return the requested information.

Additional Resources