{
  "openapi": "3.0.1",
  "info": {
    "title": "Spotify Search — All Types 🔍",
    "description": "🔍 Search Spotify by keyword across all 9 content types — tracks, albums, artists, playlists, genres, audiobooks, episodes, podcasts & users. Returns URIs, names, images, artist credits, release dates, descriptions & type-specific metadata per result. One actor, every search type ✨ Spotify Search 🔍",
    "version": "0.0",
    "x-build-id": "eEC9KseI9D9tf3gq7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apiharvest~spotify-search-all-types/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apiharvest-spotify-search-all-types",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/apiharvest~spotify-search-all-types/runs": {
      "post": {
        "operationId": "runs-sync-apiharvest-spotify-search-all-types",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/apiharvest~spotify-search-all-types/run-sync": {
      "post": {
        "operationId": "run-sync-apiharvest-spotify-search-all-types",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "searchType",
          "keyword"
        ],
        "properties": {
          "searchType": {
            "title": "🎯 Search Type",
            "enum": [
              "searchTracks",
              "searchAlbums",
              "searchArtists",
              "searchPlaylists",
              "searchGenres",
              "searchUsers",
              "searchAudiobooks",
              "searchFullEpisodes",
              "searchPodcasts"
            ],
            "type": "string",
            "description": "Select which type of Spotify content to search for.",
            "default": "searchTracks"
          },
          "keyword": {
            "title": "🔍 Search Keyword(s)",
            "type": "array",
            "description": "One or more search terms.",
            "items": {
              "type": "string"
            }
          },
          "proxyCountry": {
            "title": "🌐 Proxy Country",
            "enum": [
              "US",
              "GB",
              "AU",
              "CA",
              "DE",
              "FR",
              "NL",
              "IT",
              "ES",
              "SE",
              "NO",
              "DK",
              "FI",
              "BE",
              "AT",
              "CH",
              "IE",
              "PL",
              "PT",
              "CZ",
              "HU",
              "RO",
              "GR",
              "BG",
              "HR",
              "SK",
              "RS",
              "JP",
              "KR",
              "SG",
              "HK",
              "TW",
              "TH",
              "MY",
              "ID",
              "PH",
              "VN",
              "IN",
              "BR",
              "MX",
              "AR",
              "CL",
              "CO",
              "PE",
              "ZA",
              "NG",
              "KE",
              "EG",
              "SA",
              "AE",
              "TR",
              "IL",
              "UA",
              "RU",
              "BY"
            ],
            "type": "string",
            "description": "Select a proxy country. ⭐ US recommended.",
            "default": "US"
          },
          "tracks_search_offset": {
            "title": "📄 Tracks Search Offset",
            "minimum": 0,
            "type": "integer",
            "description": "Starting position.",
            "default": 0
          },
          "tracks_search_limit": {
            "title": "📊 Tracks Search Limit",
            "minimum": 1,
            "type": "integer",
            "description": "Max results.",
            "default": 30
          },
          "tracks_search_numberOfTopResults": {
            "title": "🏆 Tracks Top Results",
            "minimum": 1,
            "type": "integer",
            "description": "Top-ranked items.",
            "default": 20
          },
          "albums_search_offset": {
            "title": "📄 Albums Search Offset",
            "minimum": 0,
            "type": "integer",
            "description": "Starting position.",
            "default": 0
          },
          "albums_search_limit": {
            "title": "📊 Albums Search Limit",
            "minimum": 1,
            "type": "integer",
            "description": "Max results.",
            "default": 30
          },
          "albums_search_numberOfTopResults": {
            "title": "🏆 Albums Top Results",
            "minimum": 1,
            "type": "integer",
            "description": "Top-ranked items.",
            "default": 20
          },
          "artists_search_offset": {
            "title": "📄 Artists Search Offset",
            "minimum": 0,
            "type": "integer",
            "description": "Starting position.",
            "default": 0
          },
          "artists_search_limit": {
            "title": "📊 Artists Search Limit",
            "minimum": 1,
            "type": "integer",
            "description": "Max results.",
            "default": 30
          },
          "artists_search_numberOfTopResults": {
            "title": "🏆 Artists Top Results",
            "minimum": 1,
            "type": "integer",
            "description": "Top-ranked items.",
            "default": 20
          },
          "playlists_search_offset": {
            "title": "📄 Playlists Search Offset",
            "minimum": 0,
            "type": "integer",
            "description": "Starting position.",
            "default": 0
          },
          "playlists_search_limit": {
            "title": "📊 Playlists Search Limit",
            "minimum": 1,
            "type": "integer",
            "description": "Max results.",
            "default": 30
          },
          "playlists_search_numberOfTopResults": {
            "title": "🏆 Playlists Top Results",
            "minimum": 1,
            "type": "integer",
            "description": "Top-ranked items.",
            "default": 20
          },
          "genres_search_offset": {
            "title": "📄 Genres Search Offset",
            "minimum": 0,
            "type": "integer",
            "description": "Starting position.",
            "default": 0
          },
          "genres_search_limit": {
            "title": "📊 Genres Search Limit",
            "minimum": 1,
            "type": "integer",
            "description": "Max results.",
            "default": 30
          },
          "genres_search_numberOfTopResults": {
            "title": "🏆 Genres Top Results",
            "minimum": 1,
            "type": "integer",
            "description": "Top-ranked items.",
            "default": 20
          },
          "users_search_offset": {
            "title": "📄 Users Search Offset",
            "minimum": 0,
            "type": "integer",
            "description": "Starting position.",
            "default": 0
          },
          "users_search_limit": {
            "title": "📊 Users Search Limit",
            "minimum": 1,
            "type": "integer",
            "description": "Max results.",
            "default": 30
          },
          "users_search_numberOfTopResults": {
            "title": "🏆 Users Top Results",
            "minimum": 1,
            "type": "integer",
            "description": "Top-ranked items.",
            "default": 20
          },
          "audiobooks_search_offset": {
            "title": "📄 Audiobooks Search Offset",
            "minimum": 0,
            "type": "integer",
            "description": "Starting position.\n⚠️ Audiobooks only available in US, GB, AU, CA.",
            "default": 0
          },
          "audiobooks_search_limit": {
            "title": "📊 Audiobooks Search Limit",
            "minimum": 1,
            "type": "integer",
            "description": "Max results.",
            "default": 30
          },
          "audiobooks_search_numberOfTopResults": {
            "title": "🏆 Audiobooks Top Results",
            "minimum": 1,
            "type": "integer",
            "description": "Top-ranked items.",
            "default": 20
          },
          "episodes_search_offset": {
            "title": "📄 Episodes Search Offset",
            "minimum": 0,
            "type": "integer",
            "description": "Starting position.",
            "default": 0
          },
          "episodes_search_limit": {
            "title": "📊 Episodes Search Limit",
            "minimum": 1,
            "type": "integer",
            "description": "Max results.",
            "default": 30
          },
          "podcasts_search_offset": {
            "title": "📄 Podcasts Search Offset",
            "minimum": 0,
            "type": "integer",
            "description": "Starting position.",
            "default": 0
          },
          "podcasts_search_limit": {
            "title": "📊 Podcasts Search Limit",
            "minimum": 1,
            "type": "integer",
            "description": "Max results.",
            "default": 30
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}