{
  "openapi": "3.0.1",
  "info": {
    "title": "Crypto Multi-Timeframe Momentum Scanner",
    "description": "Scan 1000 cryptocurrencies across 9 timeframes (1m to 1y) with composite momentum scoring and trend confluence. Find coins gaining consistently across 1h+4h+24h or detect early reversals. No API key. $0.001/coin.",
    "version": "0.1",
    "x-build-id": "qYWOZyn8KzXgxHrAI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/gochujang~crypto-momentum-scanner/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-gochujang-crypto-momentum-scanner",
        "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/gochujang~crypto-momentum-scanner/runs": {
      "post": {
        "operationId": "runs-sync-gochujang-crypto-momentum-scanner",
        "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/gochujang~crypto-momentum-scanner/run-sync": {
      "post": {
        "operationId": "run-sync-gochujang-crypto-momentum-scanner",
        "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": {
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "change_24h",
              "change_1h",
              "change_4h",
              "change_7d",
              "change_30d",
              "momentum_score",
              "market_cap_usd",
              "volume_24h_usd",
              "rank"
            ],
            "type": "string",
            "description": "Primary sorting criterion.",
            "default": "change_24h"
          },
          "sortDirection": {
            "title": "Sort Direction",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "'desc' for top gainers, 'asc' for top losers.",
            "default": "desc"
          },
          "trendFilter": {
            "title": "Trend Filter",
            "enum": [
              "",
              "strong_uptrend",
              "uptrend",
              "neutral",
              "downtrend",
              "strong_downtrend"
            ],
            "type": "string",
            "description": "Only return coins with this trend label. Leave empty for all.",
            "default": ""
          },
          "minMarketCapMillion": {
            "title": "Min Market Cap (USD millions)",
            "minimum": 0,
            "type": "number",
            "description": "Filter out micro-cap coins. 0 = all.",
            "default": 0
          },
          "maxMarketCapMillion": {
            "title": "Max Market Cap (USD millions)",
            "minimum": 0,
            "type": "number",
            "description": "Filter out large caps to find small/mid cap opportunities. 0 = no limit.",
            "default": 0
          },
          "minMomentumScore": {
            "title": "Min Composite Momentum Score",
            "type": "number",
            "description": "Minimum weighted momentum score (5 = strong uptrend, -5 = downtrend). Default -999 = all.",
            "default": 0
          },
          "minConfluence": {
            "title": "Min Timeframe Confluence",
            "minimum": 0,
            "maximum": 9,
            "type": "integer",
            "description": "Min number of timeframes agreeing with the trend. 3 = at least 3 timeframes positive for bullish tokens.",
            "default": 0
          },
          "weight1h": {
            "title": "Weight: 1h Change",
            "type": "number",
            "description": "How much to weight the 1h change in the composite momentum score.",
            "default": 0.1
          },
          "weight4h": {
            "title": "Weight: 4h Change",
            "type": "number",
            "description": "How much to weight the 4h change in the composite momentum score.",
            "default": 0.2
          },
          "weight1d": {
            "title": "Weight: 24h Change",
            "type": "number",
            "description": "How much to weight the 24h change in the composite momentum score.",
            "default": 0.35
          },
          "weight7d": {
            "title": "Weight: 7d Change",
            "type": "number",
            "description": "How much to weight the 7d change in the composite momentum score.",
            "default": 0.25
          },
          "weight30d": {
            "title": "Weight: 30d Change",
            "type": "number",
            "description": "How much to weight the 30d change in the composite momentum score.",
            "default": 0.1
          },
          "limit": {
            "title": "Max Results",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum number of coins to return (up to 200).",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}