{
  "openapi": "3.0.1",
  "info": {
    "title": "AI Shovel Radar - AI Gold Rush Opportunity Finder",
    "description": "Find shovel-ready AI business ideas, service offers, APIs, and automation angles from public conversation and marketplace signals.",
    "version": "0.1",
    "x-build-id": "2r14QNuxchMc0x9CS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datarummage~ai-shovel-radar/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datarummage-ai-shovel-radar",
        "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/datarummage~ai-shovel-radar/runs": {
      "post": {
        "operationId": "runs-sync-datarummage-ai-shovel-radar",
        "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/datarummage~ai-shovel-radar/run-sync": {
      "post": {
        "operationId": "run-sync-datarummage-ai-shovel-radar",
        "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": {
          "ambitionLevel": {
            "title": "Ambition level",
            "enum": [
              "side_hustle",
              "replace_income",
              "agency",
              "indie_startup",
              "content_business"
            ],
            "type": "string",
            "description": "What kind of AI-money path the user is exploring.",
            "default": "side_hustle"
          },
          "preferredModels": {
            "title": "Preferred monetization models",
            "type": "array",
            "description": "Types of shovels to prefer when generating opportunity cards.",
            "items": {
              "type": "string"
            }
          },
          "skillLevel": {
            "title": "Skill level",
            "enum": [
              "beginner",
              "no_code",
              "technical",
              "sales_heavy",
              "builder",
              "content_creator"
            ],
            "type": "string",
            "description": "The user's practical build/sales skill level.",
            "default": "beginner"
          },
          "budget": {
            "title": "Budget",
            "enum": [
              "zero",
              "zero_to_low",
              "paid_tools_ok"
            ],
            "type": "string",
            "description": "How much paid tooling the user is willing to use while testing ideas.",
            "default": "zero_to_low"
          },
          "timeAvailable": {
            "title": "Time available",
            "enum": [
              "one_evening",
              "weekends",
              "part_time",
              "full_time"
            ],
            "type": "string",
            "description": "How much time the user can spend on a first attempt.",
            "default": "weekends"
          },
          "interests": {
            "title": "Interests",
            "type": "array",
            "description": "Niches or themes to bias the scan toward, such as automation, local business, content, support, data, or lead generation.",
            "items": {
              "type": "string"
            }
          },
          "dataSources": {
            "title": "Data sources",
            "type": "array",
            "description": "Public signals to scan. Apify Store gives marketplace supply/demand signals; Reddit adds buyer-psychology signal but may return fewer items when anonymous access is blocked; Hacker News is optional fallback signal.",
            "items": {
              "type": "string",
              "enum": [
                "apify_store",
                "hackernews",
                "reddit"
              ],
              "enumTitles": [
                "Apify Store",
                "Hacker News",
                "Reddit"
              ]
            }
          },
          "redditCommunities": {
            "title": "Reddit communities",
            "type": "array",
            "description": "Optional subreddit names to bias Reddit search toward AI-money, side-hustle, founder, and small-business conversations. Used only when reddit is selected as a data source.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Extra search keywords",
            "type": "array",
            "description": "Optional explicit public-search queries to add on top of the generated AI gold-rush query pack.",
            "items": {
              "type": "string"
            }
          },
          "days": {
            "title": "Lookback days",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Only include public conversation items from the last N days.",
            "default": 30
          },
          "maxResults": {
            "title": "Maximum public items to scan",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of public search hits to scan before scoring and filtering.",
            "default": 100
          },
          "outputLimit": {
            "title": "Maximum shovel cards to output",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of ranked shovel cards to push to the dataset after scoring and filtering.",
            "default": 20
          },
          "minScore": {
            "title": "Minimum shovel score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only output shovel cards with an overall score at or above this value.",
            "default": 45
          },
          "leadQualityMode": {
            "title": "Lead quality mode",
            "enum": [
              "all",
              "qualified",
              "direct_only"
            ],
            "type": "string",
            "description": "Control how strict the output should be: all research signals, qualified warm/direct signals, or strict direct-buyer-intent only.",
            "default": "all"
          },
          "directLeadOnly": {
            "title": "Direct leads only",
            "type": "boolean",
            "description": "Compatibility shortcut for leadQualityMode=direct_only. Direct leads require explicit ask/buying language, so results may be sparse.",
            "default": false
          },
          "includeHigherDifficulty": {
            "title": "Include harder ideas",
            "type": "boolean",
            "description": "Include ideas that are less beginner-friendly but may be more scalable.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}