{
  "openapi": "3.0.1",
  "info": {
    "title": "Gumroad Leads & Market Insights Scraper (Cheapest)",
    "description": "High-performance scraper for Gumroad that extracts deep metadata (licensing options, attributes, full covers, and sales counts) by unpacking Inertia.js data states. Supports search discovery and direct URLs",
    "version": "1.0",
    "x-build-id": "KCNmgrU5bZIjmFG3f"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ahmed_jasarevic~gumroad-deep-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ahmed_jasarevic-gumroad-deep-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~gumroad-deep-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ahmed_jasarevic-gumroad-deep-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~gumroad-deep-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ahmed_jasarevic-gumroad-deep-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",
        "required": [
          "maxPages"
        ],
        "properties": {
          "section_search": {
            "title": "Category Configuration",
            "type": "string",
            "description": "Select the category tree where products will be collected"
          },
          "category": {
            "title": "Category Hierarchy",
            "enum": [
              "",
              "software_development",
              "web_design",
              "mobile_apps",
              "productivity_tools",
              "dev_plugin_wp",
              "business_and_money",
              "finance_and_resources",
              "marketing_and_sales",
              "e_commerce",
              "real_estate",
              "music_and_sound_design",
              "sample_packs",
              "vst_plugins",
              "sound_effects",
              "music_sound_plugin_ableton",
              "film_main",
              "film_prod_luts",
              "film_prod_asset_ae",
              "film_video",
              "photography",
              "photo_preset",
              "photo_stock",
              "photo_ref",
              "education",
              "non_fiction",
              "fiction_books",
              "comics_and_graphic_novels",
              "drawing_and_painting",
              "artwork_and_commissions",
              "digital_illustration",
              "courses",
              "brushes",
              "procreate_brushes",
              "textures_and_patterns",
              "design",
              "architecture",
              "branding",
              "logos",
              "social_media",
              "fonts",
              "graphics",
              "mockups",
              "canva",
              "figma",
              "ui_and_web",
              "wallpapers",
              "3d",
              "3d_assets",
              "3d_modeling",
              "3d_animation",
              "3d_avatar",
              "vr_chat",
              "3d_vrchat_avatar",
              "3d_vrchat_worlds",
              "3d_assets_unity",
              "3d_assets_unreal",
              "3d_assets_blender",
              "3d_assets_cloth",
              "3d_assets_acc",
              "3d_assets_avatar",
              "3d_assets_props",
              "3d_assets_foot",
              "3d_rigging",
              "3d_texture_pbr",
              "game_main",
              "game_stream",
              "self_improvement",
              "fitness_and_health",
              "cooking",
              "recipes",
              "wellness",
              "audio_asmr",
              "audio_hypno",
              "crafts_and_diy",
              "3d_printing",
              "automotive",
              "lego",
              "sewing"
            ],
            "type": "string",
            "description": "Select the niche for data collection. This list covers Tech, Business, 3D, and Creative assets.",
            "default": ""
          },
          "query": {
            "title": "Search Keyword",
            "type": "string",
            "description": "Optional: Filter categories by a specific keyword."
          },
          "section_filters": {
            "title": "Filtering & Sorting",
            "type": "string",
            "description": "Fine-tune your results"
          },
          "sort": {
            "title": "Sort By",
            "enum": [
              "trending",
              "hot_and_new",
              "best_sellers"
            ],
            "type": "string",
            "description": "Choose the sorting algorithm for search results.",
            "default": "trending"
          },
          "minPrice": {
            "title": "Minimum Price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum price filter in USD.",
            "default": 0
          },
          "maxPrice": {
            "title": "Maximum Price (USD)",
            "type": "integer",
            "description": "Maximum price filter in USD."
          },
          "minRating": {
            "title": "Minimum Rating",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Filter products by minimum average rating (0-5).",
            "default": 0
          },
          "section_limits": {
            "title": "Limits & Deep Scrape",
            "type": "string",
            "description": "Performance and depth settings"
          },
          "maxPages": {
            "title": "Maximum Pages",
            "type": "integer",
            "description": "How many pages of results to crawl.",
            "default": 1
          },
          "scrapeDetails": {
            "title": "Enable Deep Metadata Extraction",
            "type": "boolean",
            "description": "If enabled, visits each product page to get full sales counts, ratings, and file sizes.",
            "default": true
          },
          "section_direct": {
            "title": "Scrape Specific Products by URL",
            "type": "string",
            "description": "Enter full URLs below to bypass search and filters."
          },
          "productUrls": {
            "title": "Product URLs",
            "type": "array",
            "description": "List of full Gumroad product URLs (one per line).",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}