Harry Potter API

A RESTful API for Harry Potter data

Go to site
Harry Potter API

Harry Potter API API Integrations

Build and run workflows using the Harry Potter API API. Use 1000s of open source triggers and actions across 800+ apps. Or write custom code to integrate any app or API in seconds.

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    harry_potter_api: {
      type: "app",
      app: "harry_potter_api",
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.potterapi.com/v1/sortingHat`,
      params: {
        key: `${this.harry_potter_api.$auth.api_key}`,


Harry Potter API uses API keys for authentication. When you connect your Harry Potter API account, Pipedream securely stores the keys so you can easily authenticate to Harry Potter API APIs in both code and no-code steps.

Get your API key here