{
  "openapi": "3.0.1",
  "info": {
    "title": "Solana & Pump.fun Token Autopsy: Bundle & Rug Risk Scanner",
    "description": "Read-only Solana & Pump.fun rug-risk scanner: mint/freeze authority, liquidity depth, buy/sell flow, dump simulation and a SKIP/WATCH verdict per token. Holder & bundle data with your RPC.",
    "version": "0.1",
    "x-build-id": "2FqGsD2Po0c1XZb5t"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/informed_almandine_vzb~solana-pumpfun-token-autopsy-scanner/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-informed_almandine_vzb-solana-pumpfun-token-autopsy-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/informed_almandine_vzb~solana-pumpfun-token-autopsy-scanner/runs": {
      "post": {
        "operationId": "runs-sync-informed_almandine_vzb-solana-pumpfun-token-autopsy-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/informed_almandine_vzb~solana-pumpfun-token-autopsy-scanner/run-sync": {
      "post": {
        "operationId": "run-sync-informed_almandine_vzb-solana-pumpfun-token-autopsy-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": {
          "mode": {
            "title": "Scan mode",
            "enum": [
              "autopsy_and_trending",
              "mints_only",
              "trending_discovery"
            ],
            "type": "string",
            "description": "'autopsy_and_trending' autopsies your mints plus trending/boosted Solana tokens; 'mints_only' only your list; 'trending_discovery' only DexScreener boosts, profiles and search results.",
            "default": "autopsy_and_trending"
          },
          "mintAddresses": {
            "title": "Token mints or URLs",
            "type": "array",
            "description": "Solana token mint addresses (CAs), DexScreener pair/token URLs, or pump.fun/coin URLs.",
            "default": [
              "pumpCmXqMfrsAkQ5r49WcJnRayYRqmXz6ae8H7H9Dfn"
            ],
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "DexScreener search queries",
            "type": "array",
            "description": "Free-text DexScreener searches used to discover more Solana pairs (non-Solana results are dropped).",
            "default": [
              "pump",
              "pumpswap",
              "raydium",
              "solana meme",
              "ai agent sol"
            ],
            "items": {
              "type": "string"
            }
          },
          "dexFilter": {
            "title": "DEX filter",
            "type": "array",
            "description": "Keep only these DexScreener dexIds (e.g. pumpfun, pumpswap, raydium, meteora, orca). Empty = all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxTop10HoldersPct": {
            "title": "Max top-10 holders %",
            "minimum": 0,
            "type": "number",
            "description": "Rule: top 10 wallets (excluding the pool vault) may hold at most this % of supply.",
            "default": 25
          },
          "maxTop1HolderPct": {
            "title": "Max single holder %",
            "minimum": 0,
            "type": "number",
            "description": "Rule: the largest non-pool wallet may hold at most this % of supply.",
            "default": 8
          },
          "minLiquidityUsd": {
            "title": "Min liquidity (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Rule: minimum pooled liquidity in USD.",
            "default": 5000
          },
          "minVolume1hUsd": {
            "title": "Min 1h volume (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Rule: minimum 1-hour trading volume in USD.",
            "default": 2500
          },
          "rpcUrl": {
            "title": "Holder analysis (bring your own RPC: Helius/QuickNode/Triton)",
            "type": "string",
            "description": "Optional add-on. Paste your own read-only Solana RPC URL to enable top-10/top-1 holder analysis, pool-vault exclusion and the holder rules. Empty = holder lookup skipped (holderDataStatus: skipped_no_rpc). No extra charge.",
            "default": ""
          },
          "maxItems": {
            "title": "Max tokens",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum tokens to autopsy (each is one billed token-autopsy event).",
            "default": 65
          },
          "delaySeconds": {
            "title": "Delay between requests (seconds)",
            "minimum": 0,
            "type": "number",
            "description": "Polite pause between requests.",
            "default": 0.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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}