{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Deezer Scraper · 5,000 Free Results/Month",
    "description": "Deezer Scraper gets you Deezer data ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — tracks with ISRC, credits & previews, albums, artists, playlists & charts from a search, an id or a URL. 💰 $1 per 1,000 results, no start fee. Scrape your first 5,000 results free every month 🚀",
    "version": "0.0",
    "x-build-id": "mAK7eR2FcWr1fyuF8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~deezer-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-deezer-scraper",
        "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/omkar-cloud~deezer-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-deezer-scraper",
        "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/omkar-cloud~deezer-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-deezer-scraper",
        "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",
        "properties": {
          "queries": {
            "title": "Queries",
            "type": "array",
            "description": "Search phrases, one per line — an artist (`eminem`), a song (`lose yourself`), an album, a playlist theme (`workout`), a user name or a podcast. Each is searched as the Search Type below.",
            "items": {
              "type": "string"
            }
          },
          "searchType": {
            "title": "Search Type",
            "enum": [
              "tracks",
              "albums",
              "artists",
              "playlists",
              "users",
              "podcasts"
            ],
            "type": "string",
            "description": "What the queries search for. Tracks come with preview MP3, ISRC, duration, rank, artist and album; albums with cover art, record type, track count, genre and artist; artists with pictures, album and fan counts; playlists with cover, track count, creator and dates; users with profile link and pictures; podcasts with description, artwork and fan count.",
            "default": "tracks"
          },
          "strict": {
            "title": "Strict Matching",
            "type": "boolean",
            "description": "Disable Deezer's fuzzy matching so only exact words match. Off by default.",
            "default": false
          },
          "maxResults": {
            "title": "Max Results per Query",
            "minimum": 1,
            "maximum": 4000,
            "type": "integer",
            "description": "Maximum number of results to scrape per query (1–4,000; Deezer serves at most 40 pages of 100). Use this to control your cost: 1,000 results ≈ $1.",
            "default": 100
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Deezer market as a 2-letter ISO code (`us`, `gb`, `fr`, `de`, `br`, `in`…). Not cosmetic: search ranking and availability follow that market. Applies to searches and to the URLs below; charts have their own country list.",
            "default": "us"
          },
          "urls": {
            "title": "URLs",
            "type": "array",
            "description": "One reference per line: a deezer.com track, album, artist or playlist URL (`https://www.deezer.com/track/3135556`, `https://www.deezer.com/us/album/302127`), an ISRC as `isrc:GBDUW0000059` (→ track), a UPC as `upc:724384960650` (→ album), or an explicit `track:3135556`, `album:302127`, `artist:27` or `playlist:3155776842`. A bare number is not accepted — a track, an album and an artist can share the same id, so the kind must be stated. User profiles and podcasts have no full-record endpoint; search for those instead.",
            "items": {
              "type": "string"
            }
          },
          "chartTypes": {
            "title": "Chart Types",
            "type": "array",
            "description": "Which charts to scrape. Each selected chart is scraped for every country listed below.",
            "items": {
              "type": "string",
              "enum": [
                "tracks",
                "albums",
                "artists",
                "playlists",
                "podcasts"
              ],
              "enumTitles": [
                "Top tracks",
                "Top albums",
                "Top artists",
                "Top playlists",
                "Top podcasts"
              ]
            },
            "default": []
          },
          "chartCountries": {
            "title": "Chart Countries",
            "type": "array",
            "description": "Countries whose charts to scrape, as 2-letter ISO codes (`us`, `gb`, `fr`, `de`, `br`, `in`…), one per line. Leave empty to use the Country field above.",
            "items": {
              "type": "string"
            }
          },
          "chartGenreId": {
            "title": "Chart Genre Id",
            "minimum": 0,
            "type": "integer",
            "description": "Deezer genre id to restrict the charts to — `0` for all genres, `132` for Pop, `116` for Rap/Hip Hop, `152` for Rock, `113` for Dance, `106` for Electro, `98` for Classical…",
            "default": 0
          },
          "chartLimit": {
            "title": "Chart Size",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Number of entries per chart (1–100).",
            "default": 25
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}