{
  "openapi": "3.0.1",
  "info": {
    "title": "Jumia Scraper [$0.90/1K💰] | 9 African Markets Data",
    "description": "Scrape Jumia across Nigeria, Egypt, Kenya, Morocco, Ghana, Uganda, Cote dôIvoire, Tunisia and Algeria - prices, discounts, seller, official store, ratings and customer reviews, in two datasets.",
    "version": "0.2",
    "x-build-id": "oXxbZju5euAhZybM7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ahmed_jasarevic~jumia-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ahmed_jasarevic-jumia-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/ahmed_jasarevic~jumia-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ahmed_jasarevic-jumia-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/ahmed_jasarevic~jumia-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ahmed_jasarevic-jumia-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": {
          "markets": {
            "title": "Markets",
            "type": "array",
            "description": "Jumia storefronts to scrape. Every search query runs once per selected market. Note: the Tunisia and Algeria storefronts are currently returning HTTP 410/530 from Jumia's side.",
            "items": {
              "type": "string",
              "enum": [
                "ng",
                "eg",
                "ke",
                "ma",
                "gh",
                "ug",
                "ci",
                "tn",
                "dz"
              ],
              "enumTitles": [
                "Nigeria — jumia.com.ng (NGN)",
                "Egypt — jumia.com.eg (EGP)",
                "Kenya — jumia.co.ke (KES)",
                "Morocco — jumia.ma (MAD)",
                "Ghana — jumia.com.gh (GHS)",
                "Uganda — jumia.ug (UGX)",
                "Côte d'Ivoire — jumia.ci (XOF)",
                "Tunisia — jumia.com.tn (TND)",
                "Algeria — jumia.dz (DZD)"
              ]
            },
            "default": [
              "ng"
            ]
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Keywords to search on every selected market, e.g. \"samsung galaxy s24\". Each query is paginated up to `maxPagesPerQuery` pages (40 products per page). Note: Jumia's robots.txt disallows the site-search URLs (`/*q=`), so `categoryPaths` is the compliant way to walk a catalog.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categoryPaths": {
            "title": "Category paths",
            "type": "array",
            "description": "Category pages to walk on every selected market, e.g. \"/phones-tablets/\" or \"/computing/\". robots.txt disallows the site-search URLs but leaves category paths open, so this is the recommended input. Paginated up to `maxPagesPerQuery` (40 products per page).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "botContact": {
            "title": "Bot contact (owner URL or e-mail)",
            "type": "string",
            "description": "Jumia's robots.txt allows scraping only for a bot that \"clearly identifies it as a bot\" and carries \"a owner url or contact\", and it states that \"bots with fake user-agent will be blocked\". This value goes into the User-Agent as `JumiaScraperBot/1.0 (+<value>)`. Leave empty to use this Actor's store URL.",
            "default": ""
          },
          "maxRequestsPerMinute": {
            "title": "Max requests per minute",
            "minimum": 5,
            "maximum": 190,
            "type": "integer",
            "description": "Global request rate. robots.txt permits \"less than 200 request per minute\" for an identified bot; above that Jumia asks you to contact their techops team first. Capped at 190 here.",
            "default": 120
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Direct Jumia URLs: search (https://www.jumia.com.ng/catalog/?q=laptop), category (https://www.jumia.com.ng/phones-tablets/), seller shop (https://www.jumia.com.ng/shop/<slug>/) or product (https://www.jumia.com.ng/<slug>-123456.html) pages. The market is read from the domain, so `markets` only affects search queries.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "Max products",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on products pushed to the PRODUCTS dataset across all requests. Reviews do not count towards this cap.",
            "default": 100
          },
          "maxPagesPerQuery": {
            "title": "Max pages per listing",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many pages of a search / category / seller listing to walk (1 page = 40 products).",
            "default": 1
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Collect reviews into a separate REVIEWS dataset, one row per review. Adds roughly 1 extra request per 10 reviews per product.",
            "default": true
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Reviews fetched per product from Jumia's reviews page (10 per page). Only used when `includeReviews` is on.",
            "default": 20
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave empty. robots.txt warns that \"bots trying to use too many IPs to increase performance may also be blocked\", so a single exit IP is the compliant default and this Actor needs no proxy. Add RESIDENTIAL only if the run is still challenged after `botContact` is set."
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}