Dive into the Inside Job Universe with Inside Verse API 👁️
Tags: api, opensource, javascript, resources
Published: 2023-11-25 13:00:00

[![Substack Newsletter](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qbg4qlzlytxbzbvj97ia.png)](https://benoitpetit.substack.com/subscribe)

> Hi 👋, it's Ben, and I wanted to share this API I developed with json-server. Nothing fancy, but it's always nice to have an open API like **InsideVerseAPI**.

Are you a fan of the **Inside Job series** and want to delve deeper into the fascinating universe of its characters? Are you looking for a source of inspiration or entertainment through the iconic quotes from the series?

Well, you're going to love **InsideVerseAPI**, an API that grants you access to a treasure trove of quotes, dialogues, and memorable lines from your favorite heroes.

> Explore the spirit, wisdom, and humor that define the essence of Inside Job. Whether you're seeking creative inspiration or a moment of relaxation, **InsideVerseAPI** is your gateway to the richness of storytelling.

API URL 👉️ [inside-verse-api.com](https://inside-verse-api.com)

## Features
You can access the following information:

- 💬 **Quotes**: Get a list of all quotes from the series, a specific quote, or a random one. You can also limit the number of quotes to display.
- 👤 **Characters**: Obtain a list of all characters from the series, a specific character, or limit the number of characters to display.
- 🏢 **Organizations**: Retrieve a list of all organizations in the series, a specific organization, or limit the number of organizations to display.
- 📽️ **Episodes**: Get a list of all episodes from the series, or filter by season or episode number.

> **The API is continually evolving, feel free to lend a hand :** [github.com/benoitpetit/inside-verse-api](https://github.com/benoitpetit/inside-verse-api)

## Available routes on the API:

```
  GET    /quotes
  GET    /quotes/1
  GET    /quotes/random
  GET    /quotes?_limit=20

  GET    /characters
  GET    /characters/1
  GET    /characters?_limit=3

  GET    /organizations
  GET    /organizations/1
  GET    /organizations?_limit=4

  GET    /episodes
  GET    /episodes?season=2
  GET    /episodes?season=1&episode=2
```

## Example of usage with JavaScript
### _Retrieving a random quote_

```javascript
fetch("https://inside-verse-api.com/quotes/random")
  .then((response) => console.log(response.json()))
  .catch((error) => console.error("Error fetching quote:"))
```
```json
{
    "id": 29,
    "character_id": 3,
    "character": "Brett Hand",
    "quote": "I'm just a simple guy, trying to make my way in the world.",
    "episode": "Inside Job - Season 1, Episode 1 (2021)"
}
```
### _Retrieving characters_

```javascript
fetch("https://inside-verse-api.com/characters")
  .then((response) => console.log(response.json()))
  .catch((error) => console.error("Error fetching quote:"))
```
```json
[
    {
        "id": 1,
        "name": "Reagan Ridley",
        "age": 25,
        "gender": "Female",
        "occupation": "Chief of Operations at Cognito Inc.",
        "species": "Human",
        "personality": "Reagan is a brilliant but socially awkward engineer who works at Cognito Inc. She is ambitious and cynical, but she also has a kind heart.",
        "image": "https://static.wikia.nocookie.net/insidejob/images/c/ce/Reagan_Ridley_Episode_01.png",
        "interests": "Science, technology, conspiracy theories",
        "friends": [
            "Brett Hand",
            "Gigi Thompson",
            "Magic Myc"
        ],
        "enemies": [
            "Rand Ridley",
            "J.R. Scheimpough"
        ],
        "family": [
            "Rand Ridley",
            "Tamiko Ridley"
        ]
    },
				.......
				......
]
```
**InsideVerseAPI** is a free and registration-free API created by [benoitpetit.dev](https://benoitpetit.dev), a fan of the Inside Job series. It is based on publicly available web data. It is not affiliated with or endorsed by the creators or producers of the series. It is intended for personal and non-commercial use.

If you like **InsideVerseAPI** and want to support its development, you can make a donation to the creator via [Stripe sponsor](https://donate.stripe.com/00g6pJ6R19MJ15S7ss). You can also send your feedback, suggestions, or questions via the contact form on [benoitpetit.dev](https://benoitpetit.dev).

> You can also contribute to enriching the database with information about the series it's over here 👉️ [https://github.com/benoitpetit/inside-verse-api](https://github.com/benoitpetit/inside-verse-api)

API URL 👉️ [inside-verse-api.com](https://inside-verse-api.com)

![Reagan Ridley Inside Job](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/71tt3kw96gtif6v9cykk.jpg)

See you soon! Beπ ✨